MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
execCmdProc.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: execCmdProc.h,v $ $Revision: 1.2 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef VXWORKS
13 
14 #ifndef DtRtiexecCmdProc_H_
15 #define DtRtiexecCmdProc_H_
16 
17 #include "rtiMsConfig.h"
18 #include "execCmds.h"
19 #include <vlutil/vlSmartPointers.h>
20 #include <list>
21 
22 class DtRtiExec;
23 
29 {
30 
31 public:
32 
35 
37  virtual ~DtRtiexecCmdProc();
38 
40  virtual void setExec( std::shared_ptr<DtRtiExec> exec );
41 
43  virtual void postCommand( DtUniquePtr<DtRtiExecCmd> cmd );
44 
46  static void tick( void* usr );
47 
49  virtual void tick();
50 
51 protected:
52 
54  virtual bool executeCommand();
55 
56 private:
57 
59  DtRtiexecCmdProc( const DtRtiexecCmdProc& orig );
60 
62  DtRtiexecCmdProc& operator=( const DtRtiexecCmdProc& orig );
63 
64 protected:
65 
66  typedef std::list< DtRtiExecCmd* > DtExecThreadEventList;
67 
69  std::shared_ptr<DtRtiExec> myExec;
70 
73 };
74 
75 
76 #endif
77 #endif
78 
79 
The DtRtiexecCmdProc accepts commands to be given to the exec and is responsible for processing them...
Definition: execCmdProc.h:28
DtExecThreadEventList myCommands
List of commands to be executed.
Definition: execCmdProc.h:72
std::list< DtRtiExecCmd * > DtExecThreadEventList
Definition: execCmdProc.h:66
std::shared_ptr< DtRtiExec > myExec
The rtiexec which is to be given commands.
Definition: execCmdProc.h:69
Definition: exec.h:148
#define DT_DLL_EXEC
Definition: rtiMsConfig.h:152

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)