VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwChannelDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 #pragma once
6 
8 #include "readerWriter/rwInt.h"
10 #include "readerWriter/rwBoolean.h"
12 
14 
15 #include "vrfutil/vrfutilDefines.h"
17 {
18 public:
20  parentRegistry = NULL, bool readonly = false);
22  parentRegistry = NULL, bool readonly = false);
23 
25  DtRwChannelDescriptor(const DtString& name, const DtRwChannelDescriptor& orig,
26  DtReaderWriterRegistry* parentRegistry = NULL);
28  DtReaderWriterRegistry* parentRegistry = NULL);
29 
32  DtReaderWriterRegistry* parentRegistry = NULL);
33 
36 
38  bool operator==(const DtRwChannelDescriptor& rhs) const;
39 
40  bool operator!=(const DtRwChannelDescriptor& rhs) { return !(*this == rhs); };
41 
43  virtual ~DtRwChannelDescriptor();
44 
45  virtual const char* readerWriterType() const;
46 
47  virtual DtString prettyPrint() const;
48 
49  virtual int notifyLevel() const;
50  virtual void setNotifyLevel(int nl);
51 
52  virtual DtString prefix() const;
53  virtual void setPrefix(const DtString& prefix);
54 
55  virtual bool enabled() const;
56  virtual void setEnabled(bool enabled);
57 
58 protected:
62 };
63 
bool operator==(const DtReaderWriter &) const
Equivalence operator.
DtRwBoolean myEnabled
Definition: rwChannelDescriptor.h:61
virtual const char * readerWriterType() const
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
Definition: rwChannelDescriptor.h:16
Definition: readerWriter.h:85
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
DtRwTemplatedListPtr< DtRwChannelDescriptor, true > DtRwChannelDescriptorList
Definition: rwChannelDescriptor.h:64
bool operator!=(const DtRwChannelDescriptor &rhs)
Definition: rwChannelDescriptor.h:40
Definition: readerWriterRegistry.h:39
virtual DtString prettyPrint() const
Routine to return a human readable form of the reader/writer variable. Not all reader/writer classes ...
DtRwInt myNotifyLevel
Definition: rwChannelDescriptor.h:59
Description: Readable, Writable int.
Definition: rwInt.h:25
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
Definition: rwTemplatedList.h:34
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
DtRwString myPrefix
Definition: rwChannelDescriptor.h:60

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)