VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
surfaceEntityStopController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
16 
28 {
29 private:
32 
35  const DtSurfaceEntityStopController& orig);
36 
39  const DtSurfaceEntityStopController& orig);
40 
41 public:
45  DtVrfObject* owner,
46  DtSimManager* simManager,
47  DtComponentDescriptor* desc = 0,
48  DtReaderWriterRegistry* parentRegistry = 0);
49 
52 
55  virtual const char* type() const;
56 
65  static void stopCallback(DtSimMessage* msg, void* usr);
66 
70  virtual void processStopTask(DtSimMessage* msg);
71 
75  virtual void registerTaskMsgCallbacks();
76 
80  static DtSimComponent* creator(const DtString& name,
81  DtVrfObject* owner,
82  DtSimManager* simManager,
83  DtComponentDescriptor* desc = 0,
84  DtReaderWriterRegistry* parentRegistry = 0);
85 
86  virtual bool init(void);
87 
88  virtual void tick();
89 
90 protected:
92  virtual void doEmergencyStop(void);
93 
96  virtual void doDriftStop(void);
97 
98 protected:
100 
101 };
102 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
virtual void registerTaskMsgCallbacks()
DtSurfaceEntityStopController is a controller that stops the entity, either via drift, normal decelaration, or emergency stop.
Definition: surfaceEntityStopController.h:26
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
const DtSurfaceEntityPilotController & operator=(const DtSurfaceEntityPilotController &orig)
assignment operator; not implemented
virtual void tick()
Overridden to check for valid myProcessState pointer.
File: simMsg.h.
Definition: simMessage.h:35
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The DtSurfaceEntityPilotController provides basic movement capabilities for surface entities and crea...
Definition: surfaceEntityPilotController.h:77
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
virtual bool init()
Calls down to the base class and then caches a pointer to the state repository in mySurfaceEntityStat...
virtual const char * type() const
Returns a string identifies the class type of component.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)