VR-Forces 4.1 Class Documentation
ifAddToOrg.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: ifAddToOrg.h,v $ $Revision: 1.11 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef DtIfAddToOrganization_H_
13 #define DtIfAddToOrganization_H_
14 
16 #include <vlutil/vlString.h>
17 #include <vl/hostStructs.h>
18 #include <vlpi/NetStructs.h>
19 
20 
24 {
25  DtNetEntityIdentifier myObjectIdentifier;
26  DtNetEntityIdentifier myNewSuperiorId;
27  DtNetInt8 myDesignator;
28  DtNetBoolean mySuperiorIsForce;
29 };
30 
38 #include "vrfmsgs/vrfmsgsDefines.h"
40 {
41 public:
42 
45 
47  virtual ~DtIfAddToOrganization();
48 
51 
54 
57  virtual int type() const;
58 
62  virtual void setObjectIdentifier(const DtEntityIdentifier & objectIdentifier);
63  virtual const DtEntityIdentifier & objectIdentifier() const;
64 
67  virtual void setNewSuperiorId(const DtEntityIdentifier & superiorId);
68  virtual const DtEntityIdentifier & newSuperiorId() const;
69 
76  virtual void setSuperiorIsForce(bool isForce);
77  virtual bool superiorIsForce() const;
78 
80  virtual void setDesignator(DtInt8 pos);
81  virtual DtInt8 designator() const;
82 
83  virtual int netRepSize() const;
84  virtual bool setFromNet(const char* contentBuffer,
85  unsigned contentSize);
86  virtual bool setToNet();
87 
88  virtual void printDataToString(DtString& str);
89 
90  DtSimInterfaceContent * clone() const;
91 
92  static DtSimInterfaceContent* creator();
93 
94 protected:
95 
96  DtEntityIdentifier myObjectIdentifier;
97  DtEntityIdentifier myNewSuperiorId;
100 };
101 
102 #endif
103 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)