VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setNotifyLevel.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vlutil/vlString.h>
14 #include <vlutil/vlNetTypes.h>
17 #include <readerWriter/rwInt.h>
18 
22 {
23 public:
24 
27 
28  DtSetNotifyLevel(const DtString & writeName,
29  DtReaderWriterRegistry * parentRegistry = 0);
30 
32  DtSetNotifyLevel(const DtString & writeName, const DtSetNotifyLevel & orig,
33  DtReaderWriterRegistry * parentRegistry = 0);
34 
36  const DtSetNotifyLevel & operator=(const
37  DtSetNotifyLevel & orig);
38 
40  virtual ~DtSetNotifyLevel();
41 
43  static DtSetDataRequest* creator();
44 
46  virtual bool init();
47 
49  virtual const DtSetMessageType& type() const;
50 
53 
54  virtual void setNotifyLevel(DtNotifyLevelType notifyLevel);
55  virtual DtNotifyLevelType notifyLevel() const;
57 
60  virtual DtSetDataRequest * clone(const DtString & name,
61  DtReaderWriterRegistry * parentRegistry = 0) const;
62 
64  virtual DtString stringRep() const;
65 
67  virtual int netRepSize() const;
68 
70  virtual bool setFromNet(const char* contentBuffer,
71  unsigned contentSize);
72 
74  virtual bool setToNet();
75 
76 protected:
78 };
virtual bool setToNet()
Sets netRep buffer to the contents of this set request.
Definition: readerWriterRegistry.h:39
virtual int netRepSize() const
virtual bool init()
Base class init does nothing, but this will be called by create, in case any other deriving class nee...
DtRwInt myNotifyLevel
Definition: setNotifyLevel.h:77
DtSetDataRequest is an abstract base class from which real setDataRequests can derive.
Definition: setDataRequest.h:40
DtSetNotifyLevel.
Definition: setNotifyLevel.h:21
virtual const DtSetMessageType & type() const =0
What kind of setDataRequest am I? (from radioMsgTypes.h).
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtSetDataRequest * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this request.
const DtSetDataRequest & operator=(const DtSetDataRequest &orig)
assignment operator; same as copy costructor.
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer.
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
virtual DtString stringRep() const =0
Get a readable string representation of this setDataRequest.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)