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 
36 
39  virtual const char* type() const;
40 
43  virtual bool init();
44 
53  static void keepStationCallback(DtSimMessage* msg, void* usrData);
54 
61  virtual void processKeepStationTask(DtSimMessage* msg);
62 
66  virtual void registerTaskMsgCallbacks();
67 
68 protected:
75  virtual bool setupControlPoint();
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 bool init()
Calls down to the base class and then caches a pointer to the state repository in mySurfaceEntityStat...
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 DtSurfaceEntityFollowEntityController & operator=(const DtSurfaceEntityFollowEntityController &orig)
assignment operator; not implemented
virtual const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
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:95
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
virtual void registerTaskMsgCallbacks()
Registers interest in follow entity tasks by calling addTaskProcessorCallback with followEntityCallba...
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
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 Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)