VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
interactionClassFedNode.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
7 #pragma once
8 
9 
10 
11 #include "fedNode.h"
12 #include "parameterFedNode.h"
13 #include <list>
14 
15 #include <vlutil/vlString.h>
16 #ifdef DtHLA
17 #ifndef DtUSE_UTILITIES_NAMESPACE
18 #include <vl/rtiNamespace.h>
19 #endif
20 #endif
21 #include <list>
22 #ifdef DtUSE_UTILITIES_NAMESPACE
23 namespace DtUSE_UTILITIES_NAMESPACE
24 {
25 #endif
27 
28 
32 {
33 public:
34 
36  typedef std::list<DtInteractionClassFedNode*> InteractionClassFedNodeList;
37 
39  typedef std::list<DtParameterFedNode*> ParameterFedNodeList;
40 
43 
46 
48  virtual ~DtInteractionClassFedNode();
49 
52 
55 
57  virtual void addParameter(DtParameterFedNode* parameter);
58 
60  virtual void addChildInteraction(DtInteractionClassFedNode* child);
61 
63  virtual DtInteractionClassFedNode* findChildInteraction(const char * name) ;
64 
66  virtual const DtParameterFedNode* findParameter(const char * parameter) const;
67 
69  virtual const InteractionClassFedNodeList& getChildInteractions() const;
70 
72  virtual const ParameterFedNodeList& getParameters() const;
73 
74  virtual void setDescriptor(const DtString&);
75  virtual const DtString& getDescriptor() const;
76 
77 #ifdef DtHLA
78 #ifndef DtUSE_UTILITIES_NAMESPACE
79  virtual void setParentClassHandle(RTI::InteractionClassHandle );
80  virtual RTI::InteractionClassHandle getParentClassHandle() const;
81 
82  virtual void setClassHandle(RTI::InteractionClassHandle);
83  virtual RTI::InteractionClassHandle getClassHandle() const;
84 #endif
85 #endif
86 
87  virtual void setSharing(const DtString&);
88  virtual const DtString& getSharing() const;
89 
90  virtual void setTransportation(const DtString&);
91  virtual const DtString& getTransportation() const;
92 
93  virtual void setOrder(const DtString&);
94  virtual const DtString& getOrder() const;
95 
97  virtual void addDimension(const DtString& dimension);
98  virtual const std::list<DtString>& getDimensions() const;
99 
100  virtual void setIdentifier(int);
101  virtual int getIdentifier();
102  virtual void setParentIdentifier(int);
103  virtual int getParentIdentifier();
104 
105 
106 protected:
107  virtual void removeParameters();
108 
109 protected:
112 
113 #ifdef DtHLA
114 #ifndef DtUSE_UTILITIES_NAMESPACE
115 
116 
117  RTI::InteractionClassHandle myParentClassValue;
118  RTI::InteractionClassHandle myClassValue;
119 #endif
120 #endif
121 
123 
124  //1516(E) only
128 
129  std::list<DtString> myDimensions;
130 
131  // 1.3 only
134 };
135 
136 
137 
138 #ifdef DtUSE_UTILITIES_NAMESPACE
139 } // end of namespace DtUSE_UTILITIES_NAMESPACE
140 #endif

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)