VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
surfaceEntityTurnMoveController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
16 
29 {
30 private:
33 
37 
41 
42 public:
46  DtLocalObject* owner,
47  DtSimulationServices* simManager,
48  DtComponentDescriptor* desc = 0,
49  DtReaderWriterRegistry* parentRegistry = 0);
50 
52  virtual ~DtSurfaceEntityTurnMoveController() override;
53 
56  virtual const char* type() const override;
57 
58  virtual void tick() override;
59 
68  static void turnMoveCallback(DtSimMessage* msg, void* usr);
72  static DtSimComponent* creator(const DtString& name,
73  DtLocalObject* owner,
74  DtSimulationServices* simManager,
75  DtComponentDescriptor* desc = 0,
76  DtReaderWriterRegistry* parentRegistry = 0);
77 
78 protected:
81  virtual bool turnComplete();
82 
88  virtual void processTurnMoveTask(DtSimMessage* msg);
89 
93  virtual void registerTaskMsgCallbacks() override;
94 
97 
98  static void taskNotifyCallback(const DtSimTask & task, const DtSimComponent &notifier, void* usr);
99  virtual void processTaskNotify(const DtSimTask & task, const DtSimComponent &notifier);
101 };
102 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual void registerTaskMsgCallbacks()
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
const DtSurfaceEntityPilotController & operator=(const DtSurfaceEntityPilotController &orig)
assignment operator; not implemented
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
File: simMsg.h.
Definition: simMessage.h:35
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
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
The DtSurfaceEntityPilotController provides basic movement capabilities for surface entities and crea...
Definition: surfaceEntityPilotController.h:78
virtual void tick() override
Overridden to check for valid myProcessState pointer. If it is null a warning is printed to the objec...
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.
Definition: localObject.h:98
//! DtSurfaceEntityTurnMoveController is a controller that models the movement of a surface entity to...
Definition: surfaceEntityTurnMoveController.h:27

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)