VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ifObjectIndexMessage.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: ifObjectIndexData.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 
11 
16 
17 #pragma once
18 
19 #include <vrfmsgs/vrfmsgsDefines.h>
20 
22 
23 #include <vlutil/vlString.h>
24 
25 #include <set>
26 #include <vector>
27 
28 typedef std::set<DtString> DtStringSet;
29 typedef std::map<DtString, DtString> DtNameToObjectIdMap;
30 
37 {
38 public:
39 
42 
45  const DtString& simAddress,
46  const DtNameToObjectIdMap& objectNames,
47  const DtStringSet& objectIds);
48 
51 
53  const DtIfObjectIndexMessage & operator=(const
54  DtIfObjectIndexMessage & orig);
55 
57  virtual ~DtIfObjectIndexMessage();
58 
60  static DtSimInterfaceContent* creator();
61 
63  virtual int type() const;
64 
66 
67  virtual void setSimAddress(const DtString& simAddress);
68  virtual DtString simAddress() const;
70 
72 
73  virtual void setObjectNames(const DtNameToObjectIdMap& objectNames);
74  virtual const DtNameToObjectIdMap& objectNames() const;
76 
78 
79  virtual void setObjectIds(const DtStringSet& objectIds);
80  virtual const DtStringSet& objectIds() const;
82 
85  virtual DtSimInterfaceContent * clone() const;
86 
88  virtual DtString stringRep() const;
89 
91  virtual int netRepSize() const;
92 
94  virtual bool setFromNet(const char* contentBuffer,
95  unsigned contentSize);
96 
98  virtual bool setToNet();
99 
100 protected:
101 
105 
108 
111 
112 };

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)