MAK Data Logger API Documentation for HLA
objectClassFedNode.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 #pragma warning(disable : 4100)
10 
11 #include "fedNode.h"
12 #include "attributeFedNode.h"
13 
14 #include <vl/fom.h>
15 #include <list>
16 #include <vl/objClassDesc.h>
17 #include <vlutil/vlString.h>
18 #include <vl/rtiNamespace.h>
19 
21 
22 
26 {
27 public:
28 
30  typedef std::list<DtObjectClassFedNode*> ObjectClassFedNodeList;
31 
33  typedef std::list<DtAttributeFedNode*> AttributeFedNodeList;
34  typedef std::map<RTI::AttributeHandle, DtAttributeFedNode*> AttributeFedNodeByHandle;
35  typedef std::map<DtString, DtAttributeFedNode*> AttributeFedNodeByName;
36 
39 
42 
44  virtual ~DtObjectClassFedNode();
45 
48 
51 
53  virtual void addAttribute(DtAttributeFedNode* attribute);
54 
56  virtual void associateAttribute(DtAttributeFedNode* attribute);
57 
59  virtual void addChildObject(DtObjectClassFedNode* child);
60 
62  virtual DtObjectClassFedNode* findChildObject(const char * name) ;
63 
65  virtual DtAttributeFedNode* findAttribute(const char * attribute) const;
66 
68  virtual DtAttributeFedNode* findAttribute(RTI::AttributeHandle attribute) const;
69 
71  virtual const ObjectClassFedNodeList& getChildObjects() const;
72 
74  virtual const AttributeFedNodeList& getAttributes() const;
75 
76  virtual void setDescriptor(const DtString&);
77  virtual const DtString& getDescriptor();
78 
79  virtual void setParentClassHandle(RTI::ObjectClassHandle);
80  virtual RTI::ObjectClassHandle getParentClassHandle();
81 
82  virtual void setClassHandle(RTI::ObjectClassHandle);
83  virtual RTI::ObjectClassHandle getClassHandle();
84 
85  virtual void setSharing(const DtString&);
86  virtual const DtString& getSharing();
87 
88  virtual void setIdentifier(int);
89  virtual int getIdentifier();
90  virtual void setParentIdentifier(int);
91  virtual int getParentIdentifier();
92 
93 protected:
94  virtual void removeAttributes();
95 
96 protected:
101 
104  RTI::ObjectClassHandle myParentClassValue;
105  RTI::ObjectClassHandle myClassValue;
106 
108 
109  // 1516(E) only
111 
112  // 1.3 only
115 };
116 
117 

Document ID: Generated on Sun Dec 15 18:04:30 EST 2013 from SVN revision 134418
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)