VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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"
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() override;
40 
41  virtual int type() const override;
42 
43  virtual DtSimInterfaceContent * clone() const override;
44 
45  virtual int netRepSize() const override;
46  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize) override;
47  virtual bool setToNet() override;
48 
49  virtual void printDataToString(DtString& str) override;
50 
51  virtual const std::map<int, DtString>& extendedLabels() const;
52  virtual void setExtendedLabels(const std::map<int, DtString>&);
53 
55  virtual void setOperation(int);
56  virtual int operation() const;
57 
58  static DtSimInterfaceContent* creator();
59 
60 protected:
61  std::map<int, DtString> myExtendedLabels;
63 };
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simInterfaceContent.h:78
std::map< int, DtString > myExtendedLabels
Definition: ifExtendedLabelsOperation.h:61
virtual int netRepSize() const
Definition: simInterfaceContent.h:76
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
virtual int type() const =0
Operation
Definition: ifExtendedLabelsOperation.h:23
virtual void printDataToString(DtString &str)
Interface content message for effecting (or requesting) extended labels setup.
Definition: ifExtendedLabelsOperation.h:19
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
virtual bool setToNet()
Definition: simInterfaceContent.h:83
Definition: simInterfaceContent.h:45
virtual DtSimInterfaceContent * clone() const =0
int myOperation
Definition: ifExtendedLabelsOperation.h:62

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)