VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 
9 #pragma once
10 
11 #include <vlutil/vlString.h>
13 #include <vlutil/vlNetTypes.h>
14 
18 {
19  DtNetBoolean myEnable;
20 };
21 
24 #include "vrfmsgs/vrfmsgsDefines.h"
26 {
27 
28 public:
31 
34 
37 
38  virtual ~DtIfResourceMonitorEnable();
39 
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  static DtSimInterfaceContent* creator();
53 
54 public:
55  void setEnable(const bool& b) { myEnable = b; };
56  const bool& enable() const { return myEnable; };
57 
58 protected:
59  bool myEnable;
60 };
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simInterfaceContent.h:78
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
Content-Type: DtResourceMonitorEnableMessageType.
Definition: ifResourceMonitorEnable.h:25
This structure will simply send through a true/false value to enable or disable the monitor...
Definition: ifResourceMonitorEnable.h:17
virtual void printDataToString(DtString &str)
DtNetBoolean myEnable
Definition: ifResourceMonitorEnable.h:19
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
void setEnable(const bool &b)
Definition: ifResourceMonitorEnable.h:55
virtual bool setToNet()
Definition: simInterfaceContent.h:83
Definition: simInterfaceContent.h:45
virtual DtSimInterfaceContent * clone() const =0

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)