VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
scriptEnableByAggregatePostureController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 
14 
19 {
20 public:
23  DtSimulationServices * simManager, DtComponentDescriptor* desc = NULL,
24  DtReaderWriterRegistry * parentRegistry = 0);
25 
28 
29 private:
32 
35 
36 public:
37 
39  virtual void tick();
40 
41 protected:
42 
45  std::set<DtString> myAvailablePostures;
46 
49 };
50 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
This controller enables specific Lua scripts (by script ID) based on the current posture of an aggreg...
Definition: scriptEnableByAggregatePostureController.h:18
std::set< DtString > myAvailablePostures
The postures in which the tasks are available. Must be initialized by subclasses. ...
Definition: scriptEnableByAggregatePostureController.h:45
DtScriptEnableController & operator=(const DtScriptEnableController &orig)
Not implemented.
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
This class represents the data gathered by a sensor about a particular single sensor contact...
Definition: rwSensorContactInfo.h:68
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
This controller enables specific lua scripts (by script ID) that would normally not be enabled for th...
Definition: scriptEnableController.h:23
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
DtString myCurrentPosture
The currently recorded posture.
Definition: scriptEnableByAggregatePostureController.h:48
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)