VR-Forces 4.1.1 Class Documentation
ifResourceNamesReq.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: ifResourceNamesReq.h,v $ $Revision: 1.5 $ $State: Exp $
7 *******************************************************************************/
8 
11 
17 
18 
19 #ifndef DtIfResourceNamesRequest_H_
20 #define DtIfResourceNamesRequest_H_
21 
22 #include <vlutil/vlString.h>
24 #include <vlutil/vlNetTypes.h>
25 #include <vl/hostStructs.h>
26 
27 #include <list>
28 
32 {
33  DtNetU32 myRequestId;
34  DtNetU32 myNumEntities;
35 };
38 
44 
47 #include "vrfmsgs/vrfmsgsDefines.h"
49 {
50 
51 public:
54 
57 
60 
61  virtual ~DtIfResourceNamesRequest();
62 
64  virtual int type() const;
65 
66  virtual DtSimInterfaceContent * clone() const;
67 
68  virtual int netRepSize() const;
69  virtual bool setFromNet(const char* contentBuffer,
70  unsigned contentSize);
71  virtual bool setToNet();
72 
73  virtual void printDataToString(DtString& str);
74 
75  static DtSimInterfaceContent* creator();
76 
77  void setRequestId(const DtU32& id) { myRequestId = id; };
78  const DtU32& requestId() const { return myRequestId; };
79 
80  void setEntityNames(const std::list<DtString>& entities) { myEntityNames = entities; };
81  const std::list<DtString>& entityNames() const { return myEntityNames; };
82 
83 protected:
84  std::list<DtString> myEntityNames;
85  DtU32 myRequestId;
86 };
87 
88 #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)