VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
formationControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: formCtlDesc.h,v $ $Revision: 1.17 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #ifndef DtFormationControllerDescriptor_H_
16 #define DtFormationControllerDescriptor_H_
17 
19 #include <readerWriter/rwBoolean.h>
21 
25 {
26 public:
29  DtReaderWriterRegistry * parentRegistry = 0);
30 
33  orig, DtReaderWriterRegistry * parentRegistry = 0);
34 
38 
40  virtual ~DtFormationControllerDescriptor() override;
41 
44  virtual bool init() override;
45 
48  virtual DtString type() const override;
49 
50  virtual void setAutoPromoteInFormation(bool value);
51  virtual bool autoPromoteInFormation() const;
52 
53  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
54 
56  static DtComponentDescriptor * creator();
57 
58 protected:
61 
62 protected:
63 
67 
76 
78 };
79 
80 #endif
81 
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
virtual bool init()
Base class init does nothing, but will be called by createComponentDescriptor(), allowing derived cla...
DtRwBoolean myAutoPromoteInFormation
Parameter Name: auto-promote-in-formation Parameter Description: If true, formations will be as compa...
Definition: formationControllerDescriptor.h:75
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtFormationControllerDescriptor; descriptor for the DtDisaggregatedFormationController component...
Definition: formationControllerDescriptor.h:24
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
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...
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
static DtComponentDescriptor * creator()

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)