MAK RTIspy API Documentation for HLA 1.3
 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( DtBoost::shared_ptr<DtRtiExec> exec );
41 
43  virtual void postCommand( std::auto_ptr<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  DtBoost::shared_ptr<DtRtiExec> myExec;
70 
73 };
74 
75 
76 #endif
77 #endif
78 
79 
virtual Boolean tick(TickTime minimum, TickTime maximum)
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
Definition: exec.h:141
DtBoost::shared_ptr< DtRtiExec > myExec
The rtiexec which is to be given commands.
Definition: execCmdProc.h:69
#define DT_DLL_EXEC
Definition: rtiMsConfig.h:123

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)