VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ifResourceMonitorEnable.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: ifResMonEnable.h,v $ $Revision: 1.5 $ $State: Exp $
7 *******************************************************************************/
8 
11 
17 
18 
19 #ifndef DtIfResourceMonitorEnable_H_
20 #define DtIfResourceMonitorEnable_H_
21 
22 #include <vlutil/vlString.h>
24 #include <vlutil/vlNetTypes.h>
25 #include <vl/hostStructs.h>
26 
30 {
31  DtNetBoolean myEnable;
32 };
33 
36 #include "vrfmsgs/vrfmsgsDefines.h"
38 {
39 
40 public:
43 
46 
49 
50  virtual ~DtIfResourceMonitorEnable();
51 
53  virtual int type() const;
54 
55  virtual DtSimInterfaceContent * clone() const;
56 
57  virtual int netRepSize() const;
58  virtual bool setFromNet(const char* contentBuffer,
59  unsigned contentSize);
60  virtual bool setToNet();
61 
62  virtual void printDataToString(DtString& str);
63 
64  static DtSimInterfaceContent* creator();
65 
66 public:
67  void setEnable(const bool& b) { myEnable = b; };
68  const bool& enable() const { return myEnable; };
69 
70 protected:
71  bool myEnable;
72 };
73 
74 #endif

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)