VR-Forces 4.1.1 Class Documentation
ifVrfObjCrtd.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: ifVrfObjCrtd.h,v $ $Revision: 1.18 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef DtIfVrfObjectCreated_H_
13 #define DtIfVrfObjectCreated_H_
14 
16 #include <vlutil/vlString.h>
17 #include <vrfExtProtocol/objType.h>
18 #include <vlpi/disEnums.h>
19 #include <vl/globalObjDes.h>
20 #include "vrfmsgs/vrfmsgsDefines.h"
21 
25 {
26  DtNetU32 myRequestId;
27  DtNetEntityIdentifier myObjectIdentifier;
28  DtNetU8 myNameLength;
29  DtNetU32 padding1;
30  DtNetU8 padding2;
31 };
32 
33 
47 
49 {
50 public:
51 
54 
56  virtual ~DtIfVrfObjectCreated();
57 
60 
63 
65  virtual DtSimInterfaceContent * clone() const;
66 
69  virtual int type() const;
70 
74  virtual void setObjectIdentifier(const DtEntityIdentifier & objectIdentifier);
75  virtual const DtEntityIdentifier & objectIdentifier() const;
76 
79  virtual unsigned long requestId() const;
80  virtual void setRequestId(unsigned long requestId);
81 
83  virtual void setObjectName(const DtString & objectName);
84  virtual const DtString & objectName() const;
85 
86  virtual int netRepSize() const;
87  virtual bool setFromNet(const char* contentBuffer,
88  unsigned contentSize);
89  virtual bool setToNet();
90 
91  virtual void printDataToString(DtString& str);
92 
93  static DtSimInterfaceContent* creator();
94 
95 protected:
96  DtEntityIdentifier myObjectIdentifier;
97  DtU32 myRequestId;
99 };
100 
101 #endif

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)