MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aHandValBase.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 "rtiMsConfig.h"
8 #include <memory>
9 #include <vector>
10 #if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E)
11 #include "RTI/RTI1516.h"
12 #else
13 #ifdef DtIFSPEC13DLC
14 #include "RTI13.h"
15 #else
16 #include "RTI.hh"
17 #endif
18 #endif
19 #include "internalTypes.h"
20 
21 #if defined (DtIFSPEC1516E)
22 #define RTI_IFSPEC rti1516e
23 #elif defined(DtIFSPEC1516)
24 #define RTI_IFSPEC rti1516
25 #else
26 #define RTI_IFSPEC RTI
27 #endif
28 
29 class DtObjectClassInfo;
30 
31 #if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E)
33 {
34 public:
35 
37  virtual ~DtAhvpBase();
38 
40  virtual void setChannel(unsigned long channelValue);
41  virtual unsigned long channel() const;
42 
44  virtual void setTransportType(unsigned long type);
45  virtual unsigned long transportType() const;
46  virtual unsigned long getTransportType( MAKRti::DtU32 i) const;
47 
48 
50  virtual void setOrderType(unsigned long type);
51  virtual unsigned long orderType() const;
52  virtual unsigned long getOrderType( MAKRti::DtU32 i) const;
53 
55  virtual void setOffset(MAKRti::DtU32 offset);
56  virtual void setMinOffset(MAKRti::DtU32 offset);
57  virtual MAKRti::DtU32 offset(void) const ;
58 
59  virtual MAKRti::DtU32 size() const = 0;
60  virtual DtHandle getHandle(MAKRti::DtU32 i) const = 0;
61  virtual MAKRti::DtU32 getValueLength(MAKRti::DtU32 i) const = 0;
62  virtual void getValue(MAKRti::DtU32 i, char *buff, MAKRti::DtU32& valueLength) const = 0;
63  virtual char *getValuePointer(MAKRti::DtU32 i, MAKRti::DtU32& valueLength) const = 0;
64 
65 public:
66  static void setDefaultChannel(unsigned long defaultChannelValue);
67  static unsigned long defaultChannel();
68 
69 protected:
71  DtAhvpBase();
72 
73 protected:
74  static unsigned long theDefaultChannel;
75  unsigned long myChannel;
76 
77  unsigned long myTransportType;
78  unsigned long myOrderType;
79 
81  MAKRti::DtU32 myUpdateRateOffset;
82 };
83 
84 #else
85 #define DtAhvpBase DtAhvps
86 
87 #endif
88 

Document ID: Generated on Wed Mar 11 20:26:49 EDT 2015 from SVN revision 150939
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)