VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
iffControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
16 #include <readerWriter/rwInt.h>
19 
24 
26 {
27 public:
30  parentRegistry = NULL);
32  DtReaderWriterRegistry* parentRegistry = NULL);
33 
36  DtReaderWriterRegistry* parentRegistry = NULL);
37 
41 
43  virtual ~DtIffControllerDescriptor() override;
44 
47  virtual DtString type() const override;
48 
49  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
50 
52  static DtComponentDescriptor * creator();
53 
56  virtual void setSystemName(DtU16 nameEnum);
57  virtual DtU16 systemName() const;
59 
61  virtual std::vector<DtModeType> enabledModes() const;
62  virtual void setEnabledModes(const std::vector<DtModeType>&);
63  virtual void setEnabledModes(const DtRwNLengthStringVector&);
64 
66  virtual std::vector<DtModeType> defaultOnModes() const;
67  virtual void setDefaultOnModes(const std::vector<DtModeType>&);
68  virtual void setDefaultOnModes(const DtRwNLengthStringVector&);
69 
70 
71 protected:
72  virtual std::vector<DtModeType> modesFrom(const DtRwNLengthStringVector&) const;
73 
74 protected:
77 
78 protected:
79 
83 
88 
93 
99 };
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwNLengthStringVector is a named, readable/writable vector of strings of arbitrary length...
Definition: rwNLengthStringVector.h:28
DtRwNLengthStringVector myEnabledModes
Parameter Name: enabled-modes Parameter Description: List of modes that are enabled by default...
Definition: iffControllerDescriptor.h:92
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
DtRwInt mySystemName
Parameter Name: system-name-enum Parameter Description: Use enumeration of DtIffAtcNavaidsSysName Par...
Definition: iffControllerDescriptor.h:87
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DtIffControllerDescriptor; descriptor for the DtIffControllerComponent component. ...
Definition: iffControllerDescriptor.h:25
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
static DtComponentDescriptor * creator()
DtRwNLengthStringVector myDefaultOnModes
Parameter Name: default-on-modes Parameter Description: List of modes that are on by default...
Definition: iffControllerDescriptor.h:97

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)