VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
manualRotaryWingEncumberedFlightActuator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 VT MAK, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
7 
9 
10 #pragma once
11 
13 
14 namespace vrfAddSetEncumbranceExample
15 {
21  {
22 
23  public:
24 
28  DtLocalObject* owner,
30  DtComponentDescriptor* desc = 0,
31  DtReaderWriterRegistry* parentRegistry = 0);
32 
37 
40  virtual bool init();
41 
43  virtual void processSetEncumbranceCallback(DtSimMessage * msg);
44 
46  virtual void tick();
47 
51  static DtSimComponent * creator(const DtString& name,
52  DtLocalObject* owner,
53  DtSimulationServices* simManager,
54  DtComponentDescriptor* desc = 0,
55  DtReaderWriterRegistry* parentRegistry = 0);
56 
58  static void setEncumbranceCallback(DtSimMessage * msg, void * usrData);
59 
60  protected:
61 
62  private:
63 
66 
69 
72 
73 
74  protected:
75 
76  };
77 
78 }
virtual void tick()
Calculate new maximum accelerations based on mass input port.
DtManualRotaryWingEncumberedFlightActuator()
default constructor; not implemented
DtManualRotaryWingEncumberedFlightActuator & operator=(const DtRotaryWingEncumberedFlightActuator &orig)
assignment operator; not implemented
virtual ~DtManualRotaryWingEncumberedFlightActuator()
destructor Removes process state from process state manager before deleting it.
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
Override DtRotaryWingEncumberedFlightActuator to handle DtSetEncumbranceRequest.
Definition: manualRotaryWingEncumberedFlightActuator.h:20
virtual void processSetEncumbranceCallback(DtSimMessage *msg)
Handle DtSetEncumbranceRequest.
File: simMsg.h.
Definition: simMessage.h:35
static void setEncumbranceCallback(DtSimMessage *msg, void *usrData)
Receives DtSetEncumbranceRequest.
virtual bool init()
to get access to the entity's localStateRepository, which this component will update, and then connect to the controller's ports.
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
DtRotaryWingEncumberedFlightActuator alters the behavior of the rotary-wing flight model by constrain...
Definition: rotaryWingEncumberedFlightActuator.h:30
VRF4API_METHOD const DtSimulationServices * simManager() const
This is the deprecated API that can be used as a reference to migrate 4.X code to 5...
Definition: simComponent.h:566
virtual DtSymbolString name() const
Accessor for name of this readable/writable object.
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
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)