VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ifPlanCurrentStatement.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: ifPlanCurStmt.h,v $ $Revision: 1.18 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef DtIfPlanCurStatement_H_
13 #define DtIfPlanCurStatement_H_
14 
15 #include <vlutil/vlString.h>
16 
17 #include <vrfExtProtocol/simInterfaceContent.h>
18 
19 #include <vlutil/vlNetTypes.h>
20 
21 class DtPlan;
22 
23 
27 {
28  DtNetU8 myIsGlobal; //1 byte (was echelonIdLength)
29  DtNetU8 myNameLength; //1 byte
30  DtNetBoolean myIsComplete; //1 byte
31  DtNetU16 myCurrentStmtId; //2 bytes
32  DtNetBoolean myIsExecuting; //1 byte
33  DtNetBoolean myIsAbandoned; //1 byte
34  DtNetU8 myPadding1; //1 bytes
35 };
36 
57 #include "vrfmsgs/vrfmsgsDefines.h"
59 {
60 public:
61 
64 
67 
69  virtual ~DtIfPlanCurrentStatement();
70 
72  DtIfPlanCurrentStatement& operator=(const DtIfPlanCurrentStatement& orig);
73 
75  virtual int type() const;
76 
78  virtual DtSimInterfaceContent* clone() const;
79 
81  virtual const DtString& name() const;
83  virtual void setName(const DtString& name);
84 
86 
87  virtual bool isGlobal() const;
88  virtual void setIsGlobal(bool value);
90 
92  virtual int currentStmtId() const;
94  virtual void setCurrentStmtId(int arg);
95 
97  virtual bool isComplete() const;
99  virtual void setIsComplete(bool arg);
100 
102 
103  virtual bool isExecuting() const;
104  virtual void setIsExecuting(bool b);
106 
108 
109  virtual bool isAbandoned() const;
110  virtual void setIsAbandoned(bool b);
112 
115  virtual int netRepSize() const;
116 
118  virtual bool setFromNet(const char* contentBuffer,
119  unsigned contentSize);
120 
123  virtual bool setToNet();
124 
125  virtual void printDataToString(DtString& str);
126 
127  static DtSimInterfaceContent* creator();
128 
129 protected:
132 
135 
139 
142 };
143 
144 #endif

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)