VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregateMountedSetRelayController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 #pragma once
12 
13 #include "vrfmodel/setController.h"
15 
16 class DtSimMessage;
19 class DtFormationState;
20 class DtSetDataRequest;
22 
29 {
30 public:
31 
35  DtLocalObject* owner,
36  DtSimulationServices* simManager,
37  DtComponentDescriptor* desc = 0,
38  DtReaderWriterRegistry* parentRegistry = 0);
39 
42 
45  virtual const char* type() const;
46 
47  virtual bool init();
48 
49  virtual void tick();
50 
52  static void setRequestCallback(DtSimMessage* msg, void* usrData);
53 
56  static DtSimComponent * creator(const DtString& name,
57  DtLocalObject* owner,
58  DtSimulationServices* simManager,
59  DtComponentDescriptor* desc = 0,
60  DtReaderWriterRegistry* parentRegistry = 0);
61 
62 protected:
63 
64  virtual void processSetRequest(DtSimMessage* msg);
65 
67  virtual void initializeSetsToRegister();
68 
72 
75 
78 
79 protected:
80 
83 };
84 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
Definition: formationState.h:41
virtual bool init()
Calls setRadio()
const DtSetController & operator=(const DtSetController &orig)
assignment operator; not implemented
virtual const char * type() const =0
This returns a string from compTypes.h, and identifies the type of component.
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtCompatibilityRadio * myCommandChannelRadio
Definition: aggregateMountedSetRelayController.h:81
Definition: readerWriterRegistry.h:39
DtSetDataRequest is an abstract base class from which real setDataRequests can derive. It manages the read/write capability; derived classes need only use and register read/writatble data types for derived information.
Definition: setDataRequest.h:41
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
DtAggregateLocalObjectFacade myAggregateLocalObjectFacade
Definition: aggregateMountedSetRelayController.h:82
This class will define a basic set controller that will allow for adding sets of that can be register...
Definition: setController.h:21
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
DtAggregateMountedSetRelayController is the controller that handles all of the DtSetDataRequest messa...
Definition: aggregateMountedSetRelayController.h:28
Definition: vrfAggregateStateRepository.h:20
A DtSetDataRequestMessage is a DtRadioMsg with a pointer to a setDataRequest. The type of the DtSetDa...
Definition: setDataRequestMessage.h:29
DtCompatibilityRadio.
Definition: compatibilityRadio.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

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)