VR-Forces 4.10 Class Documentation
 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  DtVrfObject* owner,
28  DtSimManager* 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  DtVrfObject* owner,
69  DtSimManager* 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
static void setNotifyLevelCallback(DtSimMessage *msg, void *usrData)
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtPseudoAggregateSetController is the controller that handles all of the DtSetDataRequest messages fo...
Definition: disaggregatedSetController.h:27
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:42
Definition: readerWriterRegistry.h:39
static void setSuperiorCallback(DtSimMessage *msg, void *usrData)
virtual void processSetNotifyLevel(DtSimMessage *msg)
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
virtual void initializeSetsToRegister()
Called from init to initialize sets that are applicable to this controller.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
virtual const char * type() const
Returns a string identifies the class type of component.
virtual void processSetStateProperties(DtSimMessage *msg)
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
virtual void processSetSuperior(DtSimMessage *msg)
void processSetLocation(DtSetDataRequest *set, const DtVertexList &vertices, double position, DtMoveAlongRouteTimeEstimator *est)
These functions handle the standard sets that can affect the time estimates.
virtual void processSetEngagementRules(DtSimMessage *msg)

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)