MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtRtiBaseMsgParam Class Reference

The base class for all templated RTI message parameters. More...

+ Inheritance diagram for DtRtiBaseMsgParam:
+ Collaboration diagram for DtRtiBaseMsgParam:

Public Member Functions

 ~DtRtiBaseMsgParam ()
void setPrevParam (DtRtiBaseMsgParam *prevParam)
 Sets the pointer to the previous parameter in the message.
virtual void * endPtr ()=0
 Returns a pointer to location just after this parameter in the message.
virtual const void * endPtr () const =0
void * beginPtr ()
 Returns a pointer to the start of this parameter in the message.
const void * beginPtr () const
virtual unsigned minSize ()=0
 Returns the minimum size of this parameter.
virtual void print () const =0
 Prints the parameter.
virtual const char * name () const
 Returns the parameter name.
unsigned octetBoundary () const
 Returns the octet boundary of the parameter in the message.
virtual void setOctetBoundary (unsigned prevBoundary)=0
 Sets the octet boundary of the parameter in the message based on the boundary of this parameter and the boundary of the previous parameter.
virtual unsigned elementSize ()=0
 Returns the size of single element in this parameter.

Protected Member Functions

 DtRtiBaseMsgParam (const char *paramName)

Protected Attributes

DtRtiBaseMsgParammyPrevParam
 Pointer to the previous parameter in this message.
unsigned myOctetBoundary
 Octet boundary of this parameter.
const char * myName
 The parameter name.

Detailed Description

The base class for all templated RTI message parameters.

Constructor & Destructor Documentation

DtRtiBaseMsgParam::~DtRtiBaseMsgParam ( )
inline
DtRtiBaseMsgParam::DtRtiBaseMsgParam ( const char *  paramName)
inlineprotected

Member Function Documentation

void* DtRtiBaseMsgParam::beginPtr ( )
inline
const void* DtRtiBaseMsgParam::beginPtr ( ) const
inline

References endPtr(), and myPrevParam.

virtual unsigned DtRtiBaseMsgParam::elementSize ( )
pure virtual
virtual void* DtRtiBaseMsgParam::endPtr ( )
pure virtual
virtual const void* DtRtiBaseMsgParam::endPtr ( ) const
pure virtual
virtual unsigned DtRtiBaseMsgParam::minSize ( )
pure virtual
virtual const char* DtRtiBaseMsgParam::name ( ) const
inlinevirtual
unsigned DtRtiBaseMsgParam::octetBoundary ( ) const
inline

Returns the octet boundary of the parameter in the message.

References myOctetBoundary.

Referenced by setPrevParam().

virtual void DtRtiBaseMsgParam::print ( ) const
pure virtual
virtual void DtRtiBaseMsgParam::setOctetBoundary ( unsigned  prevBoundary)
pure virtual
void DtRtiBaseMsgParam::setPrevParam ( DtRtiBaseMsgParam prevParam)
inline

Sets the pointer to the previous parameter in the message.

References myPrevParam, octetBoundary(), and setOctetBoundary().

Member Data Documentation

const char* DtRtiBaseMsgParam::myName
protected

The parameter name.

Referenced by name().

unsigned DtRtiBaseMsgParam::myOctetBoundary
protected
DtRtiBaseMsgParam* DtRtiBaseMsgParam::myPrevParam
protected

Pointer to the previous parameter in this message.

Referenced by beginPtr(), and setPrevParam().


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Sep 27 00:57:56 EDT 2019 from SVN revision 201708
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)