VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
surfaceEntityKeepStationController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 #pragma once
12 
14 
20 {
21 
22 public:
23 
27  DtLocalObject* owner,
28  DtSimulationServices* simManager,
29  DtComponentDescriptor* desc = 0,
30  DtReaderWriterRegistry* parentRegistry = 0);
31 
35  virtual ~DtSurfaceEntityKeepStationController() override;
36 
39  virtual const char* type() const override;
40 
43  virtual bool init() override;
44 
53  static void keepStationCallback(DtSimMessage* msg, void* usrData);
54 
61  virtual void processKeepStationTask(DtSimMessage* msg);
62 
66  virtual void registerTaskMsgCallbacks() override;
67 
68 protected:
75  virtual bool setupControlPoint() override;
76 
77 public:
81  static DtSimComponent* creator(const DtString& name,
82  DtLocalObject* owner,
83  DtSimulationServices* simManager,
84  DtComponentDescriptor* desc = 0,
85  DtReaderWriterRegistry* parentRegistry = 0);
86 
87 protected:
90 
94 
98 };
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual bool setupControlPoint()
Sets myControlPoint to the follow location.
DtSurfaceEntityFollowEntityController is a controller that models station keeping behavior for surfac...
Definition: surfaceEntityFollowEntityController.h:47
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
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 registerTaskMsgCallbacks() override
Registers interest in follow entity tasks by calling addTaskProcessorCallback with followEntityCallba...
virtual bool init() override
Calls down to the base class and then caches a pointer to the state repository in mySurfaceEntityStat...
const DtSurfaceEntityFollowEntityController & operator=(const DtSurfaceEntityFollowEntityController &orig)
assignment operator; not implemented
File: simMsg.h.
Definition: simMessage.h:35
DtSurfaceEntityFollowEntityController; follow-entity behavior for a surface entity.
Definition: surfaceEntityKeepStationController.h:18
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
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
A locally simulated VRF object.
Definition: localObject.h:98

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)