294546102d
- modifiche per materiale - spostato comando PAUSE di TSC in EgtGeneral.
47 lines
1.6 KiB
C++
47 lines
1.6 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2013-2013
|
|
//----------------------------------------------------------------------------
|
|
// File : GraExecutor.h Data : 18.02.14 Versione : 1.5b3
|
|
// Contenuto : Dichiarazione della classe GraExecutor.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 18.02.14 DS Creazione modulo.
|
|
//
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
|
|
#include "/EgtDev/Include/EGrSceExecutor.h"
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
class SceExecutor : public ISceExecutor
|
|
{
|
|
public : // ICmdExecutor
|
|
virtual bool SetCmdParser( ICmdParser* pParser) ;
|
|
virtual bool AddExecutor( ICmdExecutor* pOtherExec) ;
|
|
virtual bool AddStandardVariables( void)
|
|
{ return true ; }
|
|
virtual bool Execute( const std::string& sCmd1, const std::string& sCmd2, const STRVECTOR& vsParams) ;
|
|
|
|
public : // ISceExecutor
|
|
~SceExecutor( void) ;
|
|
virtual bool SetScene( IEGrScene* pScene) ;
|
|
|
|
public :
|
|
SceExecutor( void) ;
|
|
|
|
private :
|
|
bool ExecuteRedraw( const std::string& sCmd2, const STRVECTOR& vsParams) ;
|
|
bool ExecuteZoom( const std::string& sCmd2, const STRVECTOR& vsParams) ;
|
|
bool ExecuteCenter( const std::string& sCmd2, const STRVECTOR& vsParams) ;
|
|
bool ExecuteCamera( const std::string& sCmd2, const STRVECTOR& vsParams) ;
|
|
|
|
private :
|
|
IEGrScene* m_pScene ;
|
|
ICmdExecutor* m_pOtherExec ;
|
|
} ;
|