12 #ifndef DtDeleteTsoMsg_H_
13 #define DtDeleteTsoMsg_H_
22 typedef void (*DtDeleteTsoCb)(
const DtDeleteTsoMsg& inter,
void* usr);
31 DtDeleteTsoMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
38 rti1516::LogicalTime
const &,
39 rti1516::VariableLengthData
const& theTag,
40 #elif defined(DtIFSPEC1516E)
41 rti1516e::LogicalTime
const &,
42 rti1516e::VariableLengthData
const& theTag,
44 RTI::FedTime
const & theTime,
47 unsigned long serialNumberVal,
48 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
52 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
55 virtual ~DtDeleteTsoMsg();
64 rti1516::LogicalTime
const &,
65 rti1516::VariableLengthData
const& theTag,
66 #elif defined(DtIFSPEC1516E)
67 rti1516e::LogicalTime
const &,
68 rti1516e::VariableLengthData
const& theTag,
70 RTI::FedTime
const & theTime,
73 unsigned long serialNumberVal);
85 virtual void setTime(rti1516::LogicalTime
const & time);
86 virtual rti1516::LogicalTime
const *
time(
88 #elif defined(DtIFSPEC1516E)
89 virtual void setTime(rti1516e::LogicalTime
const & time);
90 virtual rti1516e::LogicalTime
const *
time(
93 virtual void setTime(RTI::FedTime
const & time);
94 virtual RTI::FedTime
const *
time(
109 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
112 static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
116 DtDeleteTsoCb cb,
void *usr);
118 DtDeleteTsoCb cb,
void *usr);
131 virtual int minSize(rti1516::LogicalTime
const * theTime=
NULL,
132 rti1516::VariableLengthData
const& theTag=theDefaultTag)
const;
133 #elif defined(DtIFSPEC1516E)
134 virtual int minSize(rti1516e::LogicalTime
const * theTime=
NULL,
135 rti1516e::VariableLengthData
const& theTag=theDefaultTag)
const;
137 virtual int minSize(RTI::FedTime
const * theTime=
NULL,
138 char const * theTag=
NULL)
const;
142 virtual void setTimeSize(
int size);
143 virtual int timeSize()
const;
153 virtual char* timePtr();
156 virtual int timeFieldSize()
const;
159 DtNetU32* serialNumberPtr()
const;
162 virtual DtDeleteTsoMsg* selfTso()
const;
166 inline DtDeleteTsoMsg* DtDeleteTsoMsg::selfTso()
const
168 return const_cast<DtDeleteTsoMsg*
>( this );
DtRtiMsgKind
Definition: rtiMsgKind.h:9
!DtIFSPEC1516
Definition: fedTimeFactory.h:190
virtual void printData(DtLogicalTimeFactory *logicalTimeFactory) const
virtual DtObjectInstanceHandle id() const =0
virtual void setId(DtObjectInstanceHandle id)=0
Set/Get handle.
virtual char * tagPtr()=0
Returns pointer to the tag in the netMsg.
#define NULL
Definition: baseTypes13.h:8
virtual unsigned long serialNumber() 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 DtObjectInstanceHandle
Definition: internalTypes.h:33
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 void setTagSize(int size)=0
Set/Get tag size.
virtual DtRtiMsgKind internalDtRtiMsgKind()=0
virtual int tagSize() const =0
virtual DtOrderHandle orderType() const
This base implementation always returns recieve order.
virtual void setTime(const RTI::FedTime &time)
Set/Get time Used in timestamped messages.
The Delete message class indicates a deleted RTI object.
Definition: deleteMsg.h:24
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
virtual void setSerialNumber(unsigned long serialNumberValue)
Set/Get event retraction serial number Used in timestamped messages.
DtHandle DtOrderHandle
Definition: internalTypes.h:39
Format for arranging the data for a time stamped delete message.
Definition: netDelTsoMsg.h:21