VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtIfIntersectionInformationResponse Class Reference
Inheritance diagram for DtIfIntersectionInformationResponse:
Inheritance graph
[legend]

Public Types

typedef std::vector
< DtIntersectionInformation
IntersectionInformation
typedef std::vector
< IntersectionInformation
IntersectionPairInformation

Public Member Functions

 DtIfIntersectionInformationResponse ()
 default constructor
 DtIfIntersectionInformationResponse (const DtIfIntersectionInformationResponse &orig)
 copy constructor
const
DtIfIntersectionInformationResponse
operator= (const DtIfIntersectionInformationResponse &orig)
 assignment operator
virtual ~DtIfIntersectionInformationResponse ()
virtual int type () const
virtual DtSimInterfaceContentclone () const
virtual void printDataToString (DtString &str)
virtual void setResponseId (unsigned long)
 This will be set to the request id of the initial request.
unsigned long responseId () const
virtual void addIntersectionFor (int intersectionPairIndex, const DtIntersectionInformation &)
 Adds an intersection response.
virtual IntersectionInformation intersectionsFor (int intersectionPairIndex)
int numResponses () const
virtual void setComplete (bool)
 Set to false to indicate this is a partial message and there is more information to come. Default is true.
bool complete () const
virtual void setResponseSetSize (int size)
 Sets the number of response sets to expect.
const IntersectionPairInformationintersectionPairInformation () const
IntersectionPairInformationintersectionPairInformation ()
virtual int netRepSize () const
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize)
virtual bool setToNet ()
- Public Member Functions inherited from DtSimInterfaceContent
virtual ~DtSimInterfaceContent ()
virtual bool update (const DtSimInterfaceContent *data)
virtual charnetRep ()
virtual void printContentType (DtString &str)
virtual void setUseSessionId (bool yesNo)
virtual bool useSessionId () const

Static Public Member Functions

static DtSimInterfaceContentcreator ()
- Static Public Member Functions inherited from DtSimInterfaceContent
static DtSimInterfaceContentcreateInterfaceContent (int type)
static void addInterfaceContentCreatorFcn (int type, DtInterfaceContentCreatorFcn fcn)
static void setFactory (DtInterfaceContentFactory *factory)
static DtInterfaceContentFactoryfactory ()
static void registerContentTypePrinter (DtSimInterfaceContentTypePrinterFcn printFcn)

Protected Member Functions

virtual int sizeOfContent () const
virtual charsetUncompressedToNet (char *buffer) const
virtual const charsetUncompressedFromNet (const char *contentBuffer)
- Protected Member Functions inherited from DtSimInterfaceContent
 DtSimInterfaceContent ()
 DtSimInterfaceContent (const DtSimInterfaceContent &orig)
const DtSimInterfaceContentoperator= (const DtSimInterfaceContent &orig)
virtual charcreateNetworkBuffer ()

Protected Attributes

DtU32 myResponseId
IntersectionPairInformation myIntersectionPairInformation
bool myComplete
DtU32 myUncompressedSize
DtU32 myCompressedSize
bool myCompressed
const charmyCompressedBuffer
- Protected Attributes inherited from DtSimInterfaceContent
charmyNetRep
bool myUseSessionId

Additional Inherited Members

- Static Protected Attributes inherited from DtSimInterfaceContent
static DtInterfaceContentFactorymyFactory
static
DtSimInterfaceContentTypePrinterFcn 
theContentTypePrinterFcn

Member Typedef Documentation

Constructor & Destructor Documentation

DtIfIntersectionInformationResponse::DtIfIntersectionInformationResponse ( )

default constructor

DtIfIntersectionInformationResponse::DtIfIntersectionInformationResponse ( const DtIfIntersectionInformationResponse orig)

copy constructor

virtual DtIfIntersectionInformationResponse::~DtIfIntersectionInformationResponse ( )
virtual

Member Function Documentation

const DtIfIntersectionInformationResponse& DtIfIntersectionInformationResponse::operator= ( const DtIfIntersectionInformationResponse orig)

assignment operator

virtual int DtIfIntersectionInformationResponse::type ( ) const
virtual
virtual DtSimInterfaceContent* DtIfIntersectionInformationResponse::clone ( ) const
virtual
virtual void DtIfIntersectionInformationResponse::printDataToString ( DtString str)
virtual

Reimplemented from DtSimInterfaceContent.

Reimplemented in DtIfRadarCoverageInformationResponse.

static DtSimInterfaceContent* DtIfIntersectionInformationResponse::creator ( )
static
virtual void DtIfIntersectionInformationResponse::setResponseId ( unsigned  long)
virtual

This will be set to the request id of the initial request.

unsigned long DtIfIntersectionInformationResponse::responseId ( ) const
inline
virtual void DtIfIntersectionInformationResponse::addIntersectionFor ( int  intersectionPairIndex,
const DtIntersectionInformation  
)
virtual

Adds an intersection response.

The response is according to the flag set in the request. For each request pair there may be N different responses (according to the flag set), however there will be one set of response for each pair. If there is no intersection (in the case of LineOfSight) then an empty list will be returned at the given response index

virtual IntersectionInformation DtIfIntersectionInformationResponse::intersectionsFor ( int  intersectionPairIndex)
virtual
int DtIfIntersectionInformationResponse::numResponses ( ) const
inline
virtual void DtIfIntersectionInformationResponse::setComplete ( bool  )
virtual

Set to false to indicate this is a partial message and there is more information to come. Default is true.

bool DtIfIntersectionInformationResponse::complete ( ) const
inline
virtual void DtIfIntersectionInformationResponse::setResponseSetSize ( int  size)
virtual

Sets the number of response sets to expect.

const IntersectionPairInformation& DtIfIntersectionInformationResponse::intersectionPairInformation ( ) const
inline
IntersectionPairInformation& DtIfIntersectionInformationResponse::intersectionPairInformation ( )
inline
virtual int DtIfIntersectionInformationResponse::netRepSize ( ) const
virtual

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfIntersectionInformationResponse::setFromNet ( const char contentBuffer,
unsigned  contentSize 
)
virtual

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfIntersectionInformationResponse::setToNet ( )
virtual

Reimplemented from DtSimInterfaceContent.

virtual int DtIfIntersectionInformationResponse::sizeOfContent ( ) const
protectedvirtual
virtual char* DtIfIntersectionInformationResponse::setUncompressedToNet ( char buffer) const
protectedvirtual
virtual const char* DtIfIntersectionInformationResponse::setUncompressedFromNet ( const char contentBuffer)
protectedvirtual

Member Data Documentation

DtU32 DtIfIntersectionInformationResponse::myResponseId
protected
IntersectionPairInformation DtIfIntersectionInformationResponse::myIntersectionPairInformation
protected
bool DtIfIntersectionInformationResponse::myComplete
protected
DtU32 DtIfIntersectionInformationResponse::myUncompressedSize
mutableprotected
DtU32 DtIfIntersectionInformationResponse::myCompressedSize
mutableprotected
bool DtIfIntersectionInformationResponse::myCompressed
mutableprotected
const char* DtIfIntersectionInformationResponse::myCompressedBuffer
mutableprotected

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)