VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
objectMapEntry.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfutil/vrfutilDefines.h"
13 #include <vl/hostStructs.h>
14 #include <readerWriter/rwString.h>
16 #include "vrfutil/rwUUID.h"
17 #include "vrfutil/scenario.h"
18 
24 class DtReaderWriter;
26 
28 {
29 public:
30 
33 
35  DtObjectMapEntry(const DtUUID&, const DtSimulationAddress& address);
36  DtObjectMapEntry(const DtRwVariableBindings&, const DtSimulationAddress& address);
37 
39  parentRegistry = 0);
40 
42  virtual ~DtObjectMapEntry() override;
43 
45  DtObjectMapEntry(const DtString & name, const DtObjectMapEntry & orig,
46  DtReaderWriterRegistry * parentRegistry = 0);
47 
50 
51  virtual DtObjectMapEntry * clone(const DtString & name,
52  DtReaderWriterRegistry * parentRegistry = 0) const;
53 
55  virtual const DtSimulationAddress& address();
56 
58  virtual void setAddress(const DtSimulationAddress& address);
59 
61  virtual const DtUUID& uuid();
62 
63  virtual const DtRwVariableBindings& bindings() const;
64 
66  virtual void addBinding(const DtReaderWriter&);
67 
71  virtual const char* readerWriterType() const override;
72 
74  static const char* theXmlType();
75 
76  virtual const char* xmlType() const override
77  {
78  return theXmlType();
79  }
80 
81 protected:
84 
87  DtRwVariableBindings* myBindings = nullptr;
88 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
DtRwUUID myUUID
Definition: objectMapEntry.h:83
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...
DtRwSimulationAddress myAddress
Definition: objectMapEntry.h:82
Definition: readerWriter.h:85
class DtRwSimulationAddress:
Definition: rwSimulationAddress.h:19
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
uuid class
Definition: rwUUID.h:26
ReaderWriter object that maintains a list of reader-writer variable bindings. It keeps a list of name...
Definition: rwVariableBindings.h:27
Definition: objectMapEntry.h:27
#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
static const char * theXmlType()
The type that is used when archiving to an XML stream.
virtual const char * xmlType() const override
Definition: objectMapEntry.h:76

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)