MAK RTIspy API Documentation for HLA 1516
Public Member Functions | Protected Member Functions | Protected Attributes
DtAttrSetLists Class Reference

A class used to build up list of attribute lists segragated by transport, order, and region. More...

+ Collaboration diagram for DtAttrSetLists:

List of all members.

Public Member Functions

 DtAttrSetLists (int size, bool allocateMemory)
 The attributes added to the sets in this list can either be copied into internally allocated memory or sets can reference the value pointers directly.
virtual ~DtAttrSetLists ()
virtual void add (DtAttributeHandle handle, const char *value, unsigned long valueLength, DtTransportHandle transportType, DtOrderHandle orderType, DtHandle regionHandle, unsigned int updateRateOffset=0)
 Add/Remove an attribute with given transport, order, and region.
virtual void remove (DtAttributeHandle handle, DtTransportHandle transportType, DtOrderHandle orderType, DtHandle regionHandle)
virtual const DtAhvps * attributeList (DtTransportHandle transportType, DtOrderHandle orderType, DtHandle regionHandle)
 Get an attribute value list with the given transport, order, and region.
virtual const MAKRti::DtList & attributeLists ()
 Get all the attribute value lists.

Protected Member Functions

 DtAttrSetLists (const DtAttrSetLists &orig)
DtAttrSetListsoperator= (DtAttrSetLists const &orig)
virtual int index (DtTransportHandle transportType, DtOrderHandle orderType)
 Return the array index for the given transport and order.

Protected Attributes

MAKRti::DtList myAttrSetLists
 Collection of attribute handle value sets.
DtAhvps ** myAttrSetArray
MAKRti::DtHashList ** myAttrSetRegionLists
int mySize
bool myAllocateMemory
DtAhvps * myWorkingSet

Detailed Description

A class used to build up list of attribute lists segragated by transport, order, and region.


Constructor & Destructor Documentation

DtAttrSetLists::DtAttrSetLists ( int  size,
bool  allocateMemory 
)

The attributes added to the sets in this list can either be copied into internally allocated memory or sets can reference the value pointers directly.

References myAttrSetArray, myAttrSetRegionLists, and NULL.

DtAttrSetLists::DtAttrSetLists ( const DtAttrSetLists orig) [protected]

Member Function Documentation

void DtAttrSetLists::add ( DtAttributeHandle  handle,
const char *  value,
unsigned long  valueLength,
DtTransportHandle  transportType,
DtOrderHandle  orderType,
DtHandle  regionHandle,
unsigned int  updateRateOffset = 0 
) [virtual]

Add/Remove an attribute with given transport, order, and region.

References DtDefaultRegionSetHandle, index(), myAllocateMemory, myAttrSetArray, myAttrSetLists, myAttrSetRegionLists, mySize, myWorkingSet, and NULL.

const DtAhvps * DtAttrSetLists::attributeList ( DtTransportHandle  transportType,
DtOrderHandle  orderType,
DtHandle  regionHandle 
) [virtual]

Get an attribute value list with the given transport, order, and region.

References DtDefaultRegionSetHandle, index(), myAttrSetArray, myAttrSetRegionLists, myWorkingSet, and NULL.

const MAKRti::DtList & DtAttrSetLists::attributeLists ( ) [virtual]

Get all the attribute value lists.

References myAttrSetLists.

int DtAttrSetLists::index ( DtTransportHandle  transportType,
DtOrderHandle  orderType 
) [protected, virtual]

Return the array index for the given transport and order.

Referenced by add(), attributeList(), and remove().

DtAttrSetLists & DtAttrSetLists::operator= ( DtAttrSetLists const &  orig) [protected]
void DtAttrSetLists::remove ( DtAttributeHandle  handle,
DtTransportHandle  transportType,
DtOrderHandle  orderType,
DtHandle  regionHandle 
) [virtual]

Member Data Documentation

Referenced by add().

DtAhvps** DtAttrSetLists::myAttrSetArray [protected]
MAKRti::DtList DtAttrSetLists::myAttrSetLists [protected]

Collection of attribute handle value sets.

Referenced by add(), attributeLists(), and ~DtAttrSetLists().

MAKRti::DtHashList** DtAttrSetLists::myAttrSetRegionLists [protected]
int DtAttrSetLists::mySize [protected]

Referenced by add().

DtAhvps* DtAttrSetLists::myWorkingSet [protected]

Referenced by add(), attributeList(), and remove().


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

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)