VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
exampleEmbeddedSystemDescriptor.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #pragma once
7 
9 #include <readerWriter/rwInt.h>
10 
11 const char DtExampleEmbeddedSystemDescriptorType[] = "example-embedded-system-descriptor";
12 
17 {
18 public:
19 
24  DtReaderWriterRegistry * parentRegistry = 0);
25 
28 
34  orig, DtReaderWriterRegistry * parentRegistry = 0);
35 
41 
44  virtual DtString type() const;
45 
49  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
50  = 0) const;
51 
54  virtual int modelNumber() const;
55  virtual void setModelNumber(int modelNumber);
57 
60  virtual int systemId() const;
61  virtual void setSystemId(int systemId);
63 
66  static DtComponentDescriptor * creator();
67 
68 protected:
69 
73 
76 
79 
81 };
82 
virtual DtString type() const
Returns the type of component this descriptor describes.
DtExampleEmbeddedSystemDescriptor & operator=(const DtExampleEmbeddedSystemDescriptor &orig)
Assignment operator.
virtual ~DtExampleEmbeddedSystemDescriptor()
Destructor.
const char DtExampleEmbeddedSystemDescriptorType[]
Definition: exampleEmbeddedSystemDescriptor.h:11
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
static DtComponentDescriptor * creator()
Factory creator method.
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual int systemId() const
Accessor/mutator for system ID.
DtRwInt mySystemId
System identifier for the embedded system (default: 1)
Definition: exampleEmbeddedSystemDescriptor.h:78
virtual int modelNumber() const
Accessor/mutator for model number.
virtual void setModelNumber(int modelNumber)
Accessor/mutator for model number.
DtExampleEmbeddedSystemDescriptor(const DtString &name, DtReaderWriterRegistry *parentRegistry=0)
Constructor.
Descriptor for specifying parameters for DtExampleEmbeddedSystemController objects. Contains configuration settings including model number and system identifier.
Definition: exampleEmbeddedSystemDescriptor.h:16
DtRwInt myModelNumber
Model number for the embedded system (default: 1)
Definition: exampleEmbeddedSystemDescriptor.h:75
virtual void setSystemId(int systemId)
Accessor/mutator for system ID.
virtual DtSymbolString name() const
Accessor for name of this readable/writable object.
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const
Creates a clone of this descriptor.

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)