VR-Forces 4.1.1 Class Documentation
ifSetSubordinateOrder.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: ifSetSubordinateOrder.h,v $ $Revision: 1.4 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef DtIfSetSubordinateOrder_H_
13 #define DtIfSetSubordinateOrder_H_
14 
15 #include <vector>
16 
18 #include <vl/hostStructs.h>
19 #include <vlpi/NetStructs.h>
20 
24 {
25  DtNetEntityIdentifier mySuperiorId;
26  DtNetU16 myNumSubordinates;
27  DtNetU16 myPadding1;
28  DtNetU32 myPadding2;
29 };
30 
41 #include "vrfmsgs/vrfmsgsDefines.h"
43 {
44 public:
45 
48 
50  virtual ~DtIfSetSubordinateOrder();
51 
54 
57 
59  virtual DtSimInterfaceContent * clone() const;
60 
63  virtual int type() const;
64 
67  virtual void setSuperiorId(const DtEntityIdentifier & objectIdentifier);
68  virtual const DtEntityIdentifier & superiorId() const;
69 
70  virtual void setSubordinateOrderedList(const std::vector<DtEntityIdentifier>& orderedList);
71  virtual const std::vector<DtEntityIdentifier>& subordinateOrderedList() const;
72 
73  virtual int netRepSize() const;
74  virtual bool setFromNet(const char* contentBuffer,
75  unsigned contentSize);
76  virtual bool setToNet();
77 
78  virtual void printDataToString(DtString& str);
79 
80  static DtSimInterfaceContent* creator();
81 
82 protected:
83 
84  DtEntityIdentifier mySuperiorId;
85  std::vector<DtEntityIdentifier> mySubordinateOrderedList;
86 };
87 
88 #endif
89 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)