12 #ifndef DtInteractionTsoMsg_H_
13 #define DtInteractionTsoMsg_H_
27 DtInteractionTsoMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
31 const DtPhvps& theParameters,
34 rti1516::LogicalTime
const & theTime,
35 rti1516::VariableLengthData
const& theTag,
36 #elif defined(DtIFSPEC1516E)
37 rti1516e::LogicalTime
const & theTime,
38 rti1516e::VariableLengthData
const& theTag,
40 RTI::FedTime
const & theTime,
43 unsigned long serialNumberVal,
44 unsigned long channel,
45 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
48 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
51 virtual ~DtInteractionTsoMsg();
59 const DtPhvps& theParameters,
62 rti1516::LogicalTime
const & theTime,
63 rti1516::VariableLengthData
const& theTag,
64 #elif defined(DtIFSPEC1516E)
65 rti1516e::LogicalTime
const & theTime,
66 rti1516e::VariableLengthData
const& theTag,
68 RTI::FedTime
const & theTime,
71 unsigned long serialNumberVal,
84 virtual void setTime(rti1516::LogicalTime
const & time);
85 virtual rti1516::LogicalTime
const *
time(
87 #elif defined(DtIFSPEC1516E)
88 virtual void setTime(rti1516e::LogicalTime
const & time);
89 virtual rti1516e::LogicalTime
const *
time(
92 virtual void setTime(RTI::FedTime
const & time);
93 virtual RTI::FedTime
const *
time(
107 static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
109 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
132 virtual int minSize(
const DtPhvps* params=
NULL,
133 rti1516::LogicalTime
const * theTime=
NULL,
134 rti1516::VariableLengthData
const& theTag=theDefaultTag)
const;
135 #elif defined(DtIFSPEC1516E)
136 virtual int minSize(
const DtPhvps* params=
NULL,
137 rti1516e::LogicalTime
const * theTime=
NULL,
138 rti1516e::VariableLengthData
const& theTag=theDefaultTag)
const;
140 virtual int minSize(
const DtPhvps* params=
NULL,
141 RTI::FedTime
const * theTime=
NULL,
142 char const * theTag=
NULL)
const;
150 virtual void setTimeSize(
int size);
151 virtual int timeSize()
const;
160 DtNetU32* serialNumberPtr()
const;
163 virtual char* timePtr();
166 virtual int timeFieldSize()
const;
169 virtual DtInteractionTsoMsg* selfTso()
const;
172 inline DtInteractionTsoMsg* DtInteractionTsoMsg::selfTso()
const
174 return const_cast<DtInteractionTsoMsg*
>( this );