MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
paramInfo.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: paramInfo.h,v $ $Revision: 1.17 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtParamInfo_H_
13 #define DtParamInfo_H_
14 
15 #include <rtiMsConfig.h>
16 #include <internalTypes.h>
17 
18 #include <vlutil/vlFedTarget.h>
19 #include <vlutil/vlMachineTypes.h>
20 #include <vlutil/vlString.h>
21 
22 #include <map>
23 
25 {
26 public:
27 
29  DtParamInfo();
30  DtParamInfo(const char* attrName, DtParameterHandle handle);
31  DtParamInfo(const DtParamInfo& orig);
32 
34  DtParamInfo& operator=(const DtParamInfo& orig);
35  bool operator==(const DtParamInfo& orig);
36  bool operator!=(const DtParamInfo& orig);
37 
39  virtual ~DtParamInfo();
40 
42  virtual void setFomType(MAKRti::DtFomType type);
43  virtual MAKRti::DtFomType fomType() const;
44 
46  virtual void subscribe();
47 
49  virtual void unsubscribe();
50 
52  virtual int subscribed() const;
53 
55  virtual void publish();
56 
58  virtual void unpublish();
59 
61  virtual int published() const;
62 
64  virtual const char* name() const;
65  virtual void setName(const char* nameValue);
66 
68  virtual const char* semantics() const;
69  virtual void setSemantics(const char* semantics);
70 
72  virtual DtParameterHandle handle() const;
73  virtual void setHandle(DtParameterHandle handleValue);
74 
76  virtual bool isName(const char* name);
77 
78  virtual bool sameDataTypes(const DtParamInfo&) const;
79  virtual bool sameSemantics( const DtParamInfo& ) const;
80 
82  virtual void print() const;
83 
84 protected:
85 
86  MAKRti::DtString myName;
87  MAKRti::DtString mySemantics;
89  MAKRti::DtFomType myFomType;
92 };
93 
94 typedef std::map<DtParameterHandle, DtParamInfo*> DtParameterByHandleMap;
95 typedef std::map<MAKRti::DtString, DtParamInfo*> DtParameterByNameMap;
96 
97 
98 #endif
MAKRti::DtString myName
Definition: paramInfo.h:86
Definition: paramInfo.h:24
std::map< MAKRti::DtString, DtParamInfo * > DtParameterByNameMap
Definition: paramInfo.h:95
int myPublished
Definition: paramInfo.h:91
DtParameterHandle myHandle
Definition: paramInfo.h:88
MAKRti::DtString mySemantics
Definition: paramInfo.h:87
MAKRti::DtFomType myFomType
Definition: paramInfo.h:89
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
The declaration of internal types.
int mySubscribed
Definition: paramInfo.h:90
DtHandle DtParameterHandle
Definition: internalTypes.h:56
std::map< DtParameterHandle, DtParamInfo * > DtParameterByHandleMap
Definition: paramInfo.h:94

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)