401b66cc0e
- aggiunto comando TSC ShowMode - correzione a GetCamera.
49 lines
1.7 KiB
C++
49 lines
1.7 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"
|
|
#include "/EgtDev/Include/EgtExecMgr.h"
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
class SceExecutor : public ISceExecutor
|
|
{
|
|
public : // ICmdExecutor
|
|
virtual bool SetCmdParser( ICmdParser* pParser) ;
|
|
virtual bool AddStandardVariables( void)
|
|
{ return true ; }
|
|
virtual int 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) ;
|
|
bool ExecuteShowMode( const std::string& sCmd2, const STRVECTOR& vsParams) ;
|
|
|
|
private :
|
|
IEGrScene* m_pScene ;
|
|
ICmdParser* m_pParser ;
|
|
ExecManager<SceExecutor> m_ExecMgr ;
|
|
} ;
|