MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aHandValList.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2014 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 #pragma once
6 
7 #include "aHandValBase.h"
8 
9 #if defined(DtIFSPEC13)
10 
11 #define DtAhvpList DtAhvps
12 
13 #else
14 
16 {
18  const char * buff;
19  MAKRti::DtU32 length;
20 
21 };
22 
23 // This is a less powerful version of DtAhvps that contains limited use but is much faster
24 // than it's parent because it does not do any copies or variableData conversions.
25 // When using it, be careful with memory leaks
27 {
28 public:
30  DtAhvpList(unsigned size);
31 
33  ~DtAhvpList();
34 
37  virtual void addPointer(DtHandle handle, const char *value, MAKRti::DtU32& valueLength);
38 
39  virtual MAKRti::DtU32 size() const;
40  virtual DtHandle getHandle(MAKRti::DtU32 i) const;
41  virtual MAKRti::DtU32 getValueLength(MAKRti::DtU32 i) const;
42  virtual void getValue(MAKRti::DtU32 i, char *buff, MAKRti::DtU32& valueLength) const;
43  virtual char *getValuePointer(MAKRti::DtU32 i, MAKRti::DtU32& valueLength) const;
44 
45 protected:
47  unsigned myCurrentSize;
48  unsigned myMaxSize;
49 };
50 
51 #endif
52 
53 
virtual char * getValuePointer(MAKRti::DtU32 i, MAKRti::DtU32 &valueLength) const =0
Definition: aHandValBase.h:21
MAKRti::DtU32 length
Definition: aHandValList.h:19
virtual MAKRti::DtU32 size() const =0
unsigned myMaxSize
Definition: aHandValList.h:48
DtHandle handle
Definition: aHandValList.h:17
virtual DtHandle getHandle(MAKRti::DtU32 i) const =0
virtual MAKRti::DtU32 getValueLength(MAKRti::DtU32 i) const =0
virtual void getValue(MAKRti::DtU32 i, char *buff, MAKRti::DtU32 &valueLength) const =0
unsigned myCurrentSize
Definition: aHandValList.h:47
Definition: aHandValList.h:15
unsigned long DtHandle
The internal types.
Definition: internalTypes.h:41
Definition: aHandValList.h:26
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
const char * buff
Definition: aHandValList.h:18
DtAhvpStruct * myAhvpValues
Definition: aHandValList.h:46

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)