VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ifExtendedLabelsOperation.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include "vrfmsgs/vrfmsgsDefines.h"
14 #include "vrfmsgs/messageTypes.h"
15 #include <vrfExtProtocol/simInterfaceContent.h>
16 
18 
20 {
21 
22 public:
23  enum Operation
24  {
25  Set = 0,
26  Request = 1,
27  Contents = 2
28  };
29 
32 
35 
38 
39  virtual ~DtIfExtendedLabelsOperation();
40 
41  virtual int type() const;
42 
43  virtual DtSimInterfaceContent * clone() const;
44 
45  virtual int netRepSize() const;
46  virtual bool setFromNet(const char* contentBuffer,
47  unsigned contentSize);
48  virtual bool setToNet();
49 
50  virtual void printDataToString(DtString& str);
51 
52  virtual const std::map<int, DtString>& extendedLabels() const;
53  virtual void setExtendedLabels(const std::map<int, DtString>&);
54 
56  virtual void setOperation(int);
57  virtual int operation() const;
58 
59  static DtSimInterfaceContent* creator();
60 
61 protected:
62  std::map<int, DtString> myExtendedLabels;
64 };

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)