VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pseudoAggregatedSetController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 
10 #pragma once
11 
13 
21 {
22 public:
23 
27  DtLocalObject* owner,
28  DtSimulationServices* simManager,
29  DtComponentDescriptor* desc = 0,
30  DtReaderWriterRegistry* parentRegistry = 0);
31 
34 
37  virtual const char* type() const;
38 
40  static void setEngagementResultsCallback(DtSimMessage* msg, void* usrData);
41  virtual void processSetEngagementResults(DtSimMessage* msg);
42 
43  static void setStatePropertiesCallback(DtSimMessage* msg, void* usrData);
44  virtual void processSetStateProperties(DtSimMessage* msg);
45 
46  static void setLocationCallback(DtSimMessage * msg, void * usrData);
47  virtual void processSetLocation(DtSimMessage*);
48 
49  static void setHeadingCallback(DtSimMessage * msg, void * usrData);
50  virtual void processSetHeading(DtSimMessage*);
51 
52  static void setActivityCallback(DtSimMessage * msg, void * usrData);
53  virtual void processSetActivity(DtSimMessage*);
54 
55  static void setSuperiorCallback(DtSimMessage * msg, void * usrData);
56  virtual void processSetSuperior(DtSimMessage*);
57 
58  static void setNotifyLevelCallback(DtSimMessage * msg, void * usrData);
59  virtual void processSetNotifyLevel(DtSimMessage*);
60 
61  static void setEngagementRulesType(DtSimMessage * msg, void * usrData);
63 
67  static DtSimComponent * creator(const DtString& name,
68  DtLocalObject* owner,
69  DtSimulationServices* simManager,
70  DtComponentDescriptor* desc = 0,
71  DtReaderWriterRegistry* parentRegistry = 0);
72 
73 protected:
74 
76  virtual void initializeSetsToRegister();
77 
78 private:
82 
85 
88 };
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtPseudoAggregateSetController is the controller that handles all of the DtSetDataRequest messages fo...
Definition: disaggregatedSetController.h:28
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
DtComponentDescriptor*,DtReaderWriterRegistry* parentRegistry)
static void setStatePropertiesCallback(DtSimMessage *msg, void *usrData)
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 void processSetNotifyLevel(DtSimMessage *msg)
static void setSuperiorCallback(DtSimMessage *msg, void *usrData)
DtDisaggregatedSetController & operator=(const DtDisaggregatedSetController &orig)
assignment operator
DtPseudoAggregateSetController; handles DtSetDataRequest messages for psuedo aggregate entities...
Definition: pseudoAggregatedSetController.h:20
File: simMsg.h.
Definition: simMessage.h:35
static void setNotifyLevelCallback(DtSimMessage *msg, void *usr)
virtual void initializeSetsToRegister()
Called from init to initialize sets that are applicable to this controller.
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:89
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
virtual const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
virtual void processSetStateProperties(DtSimMessage *msg)
virtual void processSetSuperior(DtSimMessage *msg)
void processSetLocation(DtSetDataRequest *set, const DtVertexList &vertices, double position, DtMoveAlongRouteTimeEstimator *est)
virtual void processSetEngagementRules(DtSimMessage *msg)
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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)