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();
44 
47  virtual DtString type() const;
48 
49  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
50  = 0) const;
51 
53  static DtComponentDescriptor * creator();
54 
57  virtual void setSystemName(DtU16 nameEnum);
58  virtual DtU16 systemName() const;
60 
62  virtual std::vector<DtModeType> enabledModes() const;
63  virtual void setEnabledModes(const std::vector<DtModeType>&);
64  virtual void setEnabledModes(const DtRwNLengthStringVector&);
65 
67  virtual std::vector<DtModeType> defaultOnModes() const;
68  virtual void setDefaultOnModes(const std::vector<DtModeType>&);
69  virtual void setDefaultOnModes(const DtRwNLengthStringVector&);
70 
71 
72 protected:
73  virtual std::vector<DtModeType> modesFrom(const DtRwNLengthStringVector&) const;
74 
75 protected:
78 
79 protected:
80 
84 
89 
94 
100 };
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:93
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:88
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:98

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)