MAK RTIspy API Documentation for HLA 1.3
attrSetLists.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2001 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: attrSetLists.h,v $ $Revision: 1.9 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DtAttrSetLists_H_
00013 #define DtAttrSetLists_H_
00014 
00015 #include "rtiMsConfig.h"
00016 #include "internalTypes.h"
00017 #include "aHandValSet.h"
00018 #include <vlutil/vlHashlist.h>
00019 
00022 
00023 class DT_DLL_LRC DtAttrSetLists
00024 {
00025 public:
00026 
00029    DtAttrSetLists(int size, bool allocateMemory);
00030 
00031    virtual ~DtAttrSetLists();
00032 
00033 
00035    virtual void add(
00036       DtAttributeHandle handle, const char* value,  unsigned long valueLength,
00037       DtTransportHandle transportType, DtOrderHandle orderType,
00038       DtHandle regionHandle, unsigned int updateRateOffset=0);
00039    virtual void remove(DtAttributeHandle handle,
00040       DtTransportHandle transportType, DtOrderHandle orderType,
00041       DtHandle regionHandle);
00042 
00044    virtual const DtAhvps* attributeList(
00045       DtTransportHandle transportType, DtOrderHandle orderType,
00046       DtHandle regionHandle);
00047 
00049    virtual const MAKRti::DtList& attributeLists();
00050 
00051 protected:
00052    DtAttrSetLists(const DtAttrSetLists& orig);
00053    DtAttrSetLists& operator=(DtAttrSetLists const& orig);
00054 
00056    virtual int index(
00057       DtTransportHandle transportType, DtOrderHandle orderType);
00058 
00059 protected:
00060 
00062    MAKRti::DtList myAttrSetLists;
00063    DtAhvps** myAttrSetArray;
00064    MAKRti::DtHashList** myAttrSetRegionLists;
00065    int mySize;
00066    bool myAllocateMemory;
00067    DtAhvps* myWorkingSet;
00068 };
00069 
00070 #endif

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)