VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
disaggregatedOccupancyDirectorController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
12 #pragma once
13 
15 
17 
33 {
34 public:
35 
39  DtLocalObject* owner,
40  DtSimulationServices* simManager,
41  DtComponentDescriptor* desc = 0,
42  DtReaderWriterRegistry* parentRegistry = 0);
43 
46 
49  virtual const char* type() const;
50 
54  static DtSimComponent * creator(const DtString& name,
55  DtLocalObject* owner,
56  DtSimulationServices* simManager,
57  DtComponentDescriptor* desc = 0,
58  DtReaderWriterRegistry* parentRegistry = 0);
59 
60 public:
61  static void requestEmbarkationInformationCallback(DtSimMessage* msg, void* usr);
62  virtual void processRequestEmbarkationInformation(DtSimMessage* msg);
63 
64  virtual bool init();
65 
66 protected:
70  virtual DtUUID embarkableParent(const DtUUID& object) const;
71 
73  static void disembarkObjectCallback(DtSimMessage* msg, void* usr);
76  virtual void processDisembarkObjectCallback(DtSimMessage* msg);
77 
78  virtual void sendTask(const DtSimTask& task, const DtUUID& to);
79 };
80 
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
This class provides a base class for all controllers that are capable of executing a DtSimTask...
Definition: singleTaskControllerComponent.h:20
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
virtual const char * type() const =0
Returns a string identifies the class type of component. Type values are defined in compTypes...
Definition: embarkationSlotManager.h:39
virtual bool init()
Calls setRadio()
File: simMsg.h.
Definition: simMessage.h:35
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
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
DtAggregateOccupancyDirectorController is an occupancy controller that handles occupancy (embarkation...
Definition: disaggregatedOccupancyDirectorController.h:32

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)