MAK RTIspy API Documentation for HLA Evolved
execCmdProc.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2008 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: execCmdProc.h,v $ $Revision: 1.2 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef VXWORKS
00013 
00014 #ifndef DtRtiexecCmdProc_H_
00015 #define DtRtiexecCmdProc_H_
00016 
00017 #include "rtiMsConfig.h"
00018 #include "execCmds.h"
00019 #include <vlutil/vlSmartPointers.h>
00020 #include <list>
00021 
00022 class DtRtiExec;
00023 
00028 class DT_DLL_EXEC DtRtiexecCmdProc
00029 {
00030 
00031 public:
00032 
00034    DtRtiexecCmdProc();
00035 
00037    virtual ~DtRtiexecCmdProc();
00038 
00040    virtual void setExec( DtBoost::shared_ptr<DtRtiExec> exec );
00041 
00043    virtual void postCommand( std::auto_ptr<DtRtiExecCmd> cmd );
00044 
00046    static void tick( void* usr );
00047 
00049    virtual void tick();
00050 
00051 protected:
00052 
00054    virtual bool executeCommand();
00055 
00056 private:
00057    
00059    DtRtiexecCmdProc( const DtRtiexecCmdProc& orig );
00060 
00062    DtRtiexecCmdProc& operator=( const DtRtiexecCmdProc& orig );
00063 
00064 protected:
00065 
00066    typedef std::list< DtRtiExecCmd* > DtExecThreadEventList;
00067 
00069    DtBoost::shared_ptr<DtRtiExec> myExec;
00070 
00072    DtExecThreadEventList myCommands;
00073 };
00074 
00075 
00076 #endif //! DtRtiexecCmdProc_H_
00077 #endif //! VXWORKS
00078 
00079 

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)