VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
disaggregatedManeuverToController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2025 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
13 
14 class DtSimMessage;
15 class DtMoveToTask;
17 
27 {
28 public:
29 
33  DtLocalObject* owner,
34  DtSimulationServices* simManager,
35  DtComponentDescriptor* desc = 0,
36  DtReaderWriterRegistry* parentRegistry = 0);
37 
38  virtual ~DtDisaggregatedManeuverToController() override;
39 
42  virtual const char* type() const override;
43 
46  virtual void registerTaskMsgCallbacks() override;
47 
51  static void moveToTaskCallback(DtSimMessage * msg, void * usr);
52 
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 
66  virtual DtRwLocationReference originalDestination() const override;
67 
69  virtual double originalTaskSpeed() const override;
70 
73  virtual const DtSimTaskMessageType& originalTaskType() const override;
74 
78  virtual void onMoveToTask(DtSimMessage* msg) override;
79 
82  virtual void sendMoveAlongSubtask() override;
83 
84 private:
85 
88 
91 };
92 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual double originalTaskSpeed() const
Returns original task speed. 0.0 means not specified.
static void moveToTaskCallback(DtSimMessage *msg, void *usr)
Callback function for handling incoming turn to move to task message. Calls onTaskComplete to actuall...
This is a process state repository for the DtAggregateMoveToController that stores the list of the uu...
Definition: aggregateMoveToPSR.h:25
Holds a position of some form. May be an absolute position, or a reference to another object...
Definition: rwLocationReference.h:25
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtMoveToTask represents a moveTo task for an entity to perform. It inherits read/writableness from Si...
Definition: moveToTask.h:38
virtual void registerTaskMsgCallbacks() override
Registers task and set data request callbacks for following type: DtMoveToType.
Definition: readerWriterRegistry.h:39
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Class DtDisaggregatedMoveToController is a task controller responsible for executing DtMoveToLocation...
Definition: disaggregatedMoveToController.h:30
File: simMsg.h.
Definition: simMessage.h:35
DtDisaggregatedMoveToController & operator=(const DtDisaggregatedMoveToController &orig)
not implemented
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
virtual void onMoveToTask(DtSimMessage *msg)
Unpacks incoming DtMoveToTask, calls startTask(), and then calls startMoveToBehavior.
virtual const DtSimTaskMessageType & originalTaskType() const
Returns type of currentTaskMessage()->task() Could be DtSimTask::type() or DtScriptedTaskTask::type()...
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
Class DtDisaggregatedManeuverToController is a task controller responsible for executing DtManeuverTo...
Definition: disaggregatedManeuverToController.h:26
A locally simulated VRF object.
Definition: localObject.h:98
virtual DtRwLocationReference originalDestination() const
Returns a location reference, either an object such as waypoint or a geocentric location.
virtual void sendMoveAlongSubtask()
Sends either "move-along" or "maneuver-in-formation using route ID in process state repository...

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)