13 #ifndef DtConstrainedEnabledMsg_H_
14 #define DtConstrainedEnabledMsg_H_
23 class DtConstrainedEnabledMsg;
24 typedef void (*DtConstrainedEnabledMsgCb)(
const DtConstrainedEnabledMsg& msg,
void* usr);
31 DtConstrainedEnabledMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
34 DtConstrainedEnabledMsg(
39 #elif defined(DtIFSPEC1516E)
40 rti1516e::LogicalTime
const & theTime,
41 rti1516e::LogicalTime
const & theLbts,
43 RTI::FedTime
const & theTime,
44 RTI::FedTime
const & theLbts,
46 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
49 DtConstrainedEnabledMsg(
const DtNetConstrainedEnabled* netRepMsg,
50 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
53 virtual ~DtConstrainedEnabledMsg();
64 #elif defined(DtIFSPEC1516E)
65 rti1516e::LogicalTime
const & theTime,
66 rti1516e::LogicalTime
const & theLbts);
68 RTI::FedTime
const & theTime,
69 RTI::FedTime
const & theLbts);
81 #elif defined(DtIFSPEC1516E)
82 virtual void setTime(rti1516e::LogicalTime
const & timeVal);
83 virtual rti1516e::LogicalTime
const *
time(
86 virtual void setTime(RTI::FedTime
const & timeVal);
87 virtual RTI::FedTime
const *
time(
96 #elif defined(DtIFSPEC1516E)
97 virtual void setLbts(rti1516e::LogicalTime
const & lbtsVal);
98 virtual rti1516e::LogicalTime
const * lbts(
101 virtual void setLbts(RTI::FedTime
const & lbtsVal);
102 virtual RTI::FedTime
const * lbts(
112 static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
116 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
120 DtConstrainedEnabledMsgCb cb,
void *usr);
122 DtConstrainedEnabledMsgCb cb,
void *usr);
130 virtual DtNetConstrainedEnabled* netConstrainedEnabledMsg();
131 virtual const DtNetConstrainedEnabled* netConstrainedEnabledMsg()
const;
137 #elif defined(DtIFSPEC1516E)
138 virtual int minSize(rti1516e::LogicalTime
const * theTime=NULL,
139 rti1516e::LogicalTime
const * theLbts=NULL)
const;
141 virtual int minSize(RTI::FedTime
const * theTime=NULL,
142 RTI::FedTime
const * theLbts=NULL)
const;
146 virtual void setTimeSize(
int size);
147 virtual int timeSize()
const;
150 virtual char* timePtr();
153 virtual void setLbtsSize(
int size);
154 virtual int lbtsSize()
const;
157 virtual char* lbtsPtr();
160 virtual int timeFieldSize()
const;
163 virtual int lbtsFieldSize()
const;
166 virtual DtConstrainedEnabledMsg*
self()
const;
172 #elif defined(DtIFSPEC1516E)
173 rti1516e::LogicalTime* myLbts;
175 RTI::FedTime* myLbts;
179 inline DtConstrainedEnabledMsg* DtConstrainedEnabledMsg::self()
const
181 return const_cast<DtConstrainedEnabledMsg*
>( this );
DtRtiMsgKind
Definition: rtiMsgKind.h:9
!DtIFSPEC1516
Definition: fedTimeFactory.h:190
virtual void printData(DtLogicalTimeFactory *logicalTimeFactory) const
Instances of DtConnectionMgr manage the communication objects that the RTI will use to either communi...
Definition: connectMgr.h:60
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:45
DtHandle DtFederateHandle
Definition: internalTypes.h:29
virtual RTI::FedTime const * time(DtLogicalTimeFactory *fedTimeFactory) const
virtual DtRtiMsg * clone(bool copy=true) const =0
Return a copy/empty object of the same type as this.
virtual DtRtiMsgKind internalDtRtiMsgKind()=0
virtual void setTime(const RTI::FedTime &time)
Set/Get time Used in timestamped messages.
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
Definition: LogicalTime.h:27