VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
scriptEnableController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include "vlutil/vlString.h"
14 
17 
22 {
23 public:
25  DtScriptEnableController(const DtString & name, DtVrfObject* owner,
26  DtSimManager * simManager, DtComponentDescriptor* desc = NULL,
27  DtReaderWriterRegistry * parentRegistry = 0);
28 
30  virtual ~DtScriptEnableController();
31 
32 private:
35 
38 
39 public:
40  virtual const char* type() const;
41 
43  virtual bool postAddComponentsInit();
44 
46  virtual void enableTaskTypes();
47 
49  virtual void disableTaskTypes();
50 
52  static DtSimComponent* creator(const DtString & name, DtVrfObject* owner,
53  DtSimManager * simManager, DtComponentDescriptor* desc,
54  DtReaderWriterRegistry * parentRegistry);
55 
56 protected:
57 
59  virtual void sendCapableSetsAndTasks();
60 
61 protected:
63 
66 
68 };
69 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual bool postAddComponentsInit()
Called after all components have been created, initialized and added to the component manager...
Definition: simComponent.h:144
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
const DtScriptEnableControllerDescriptor * myDesc
Definition: scriptEnableController.h:62
virtual const char * type() const =0
This returns a string from compTypes.h, and identifies the type of component.
bool myTaskTypesEnabled
Whether task types are currently enabled.
Definition: scriptEnableController.h:65
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
This class represents the data gathered by a sensor about a particular single sensor contact...
Definition: rwSensorContactInfo.h:67
DtScriptEnableControllerDescriptor is a DtComponentDescriptor that provides parameters to the DtScrip...
Definition: scriptEnableControllerDescriptor.h:21
This controller enables specific lua scripts (by script ID) that would normally not be enabled for th...
Definition: scriptEnableController.h:21
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:29
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
bool myInitialized
Definition: scriptEnableController.h:67

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)