VR-Forces 4.2 Class Documentation
ifModOrg.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: ifModOrg.h,v $ $Revision: 1.11 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef DtIfModifyOrganization_H_
13 #define DtIfModifyOrganization_H_
14 
15 #include <vrfExtProtocol/ifaceCont.h>
16 #include <vlutil/vlString.h>
17 #include <vl/hostStructs.h>
18 #include <vlpi/NetStructs.h>
19 
20 
24 {
25  DtNetEntityIdentifier myObjectIdentifier;
26  DtNetEntityIdentifier myOldSuperiorId;
27  DtNetEntityIdentifier myNewSuperiorId;
28 };
29 
37 #include "vrfmsgs/vrfmsgsDefines.h"
39 {
40 public:
41 
44 
46  virtual ~DtIfModifyOrganization();
47 
50 
52  DtIfModifyOrganization& operator=(const DtIfModifyOrganization& orig);
53 
55  virtual DtSimInterfaceContent * clone() const;
56 
59  virtual int type() const;
60 
63  virtual void setObjectIdentifier(const DtEntityIdentifier& objectIdentifier);
64  virtual const DtEntityIdentifier& objectIdentifier() const;
65 
68  virtual void setOldSuperiorId(const DtEntityIdentifier& objectIdentifier);
69  virtual const DtEntityIdentifier& oldSuperiorId() const;
70 
73  virtual void setNewSuperiorId(const DtEntityIdentifier& objectIdentifier);
74  virtual const DtEntityIdentifier& newSuperiorId() const;
75 
76  virtual int netRepSize() const;
77  virtual bool setFromNet(const char* contentBuffer,
78  unsigned contentSize);
79  virtual bool setToNet();
80 
81  virtual void printDataToString(DtString& str);
82 
83  static DtSimInterfaceContent* creator();
84 
85 protected:
86 
87  DtEntityIdentifier myObjectIdentifier;
88  DtEntityIdentifier myOldSuperiorId;
89  DtEntityIdentifier myNewSuperiorId;
90 };
91 
92 #endif

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)