VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
17 #include <vrfExtProtocol/simInterfaceContent.h>
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 
56  DtIfSetSubordinateOrder& operator=(const DtIfSetSubordinateOrder& orig);
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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)