VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
updateRepositoryActuator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
17 
21 {
22 
23 public:
24 
28  DtSimManager* simManager,
29  DtComponentDescriptor* desc = 0,
30  DtReaderWriterRegistry* parentRegistry = 0);
31 
32 
34  virtual ~DtUpdateRepositoryActuator();
35 
38  virtual const char* type() const;
39 
41  virtual void tick();
42 
44  virtual bool init();
45 
49  static DtSimComponent * creator(const DtString& name,
50  DtVrfObject* owner,
51  DtSimManager* simManager,
52  DtComponentDescriptor* desc = 0,
53  DtReaderWriterRegistry* parentRegistry = 0);
54 
56  virtual bool createPortGroups();
57 
60 
61  static void setLocationCompleteCallback(const DtVrfObject*, void* usr);
62  virtual void processSetLocationComplete();
64 
65 private:
68 
71 
75 
76 protected:
77 
80 
84 
87 
89  virtual bool checkMovementFrozen() const;
90 
93  virtual bool isMovementFrozen() const;
94 
95 };
96 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtUpdateRepositoryActuator updates a VRF state repository with elements from the update repository in...
Definition: updateRepositoryActuator.h:20
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
const DtActuatorComponent & operator=(const DtActuatorComponent &orig)
assignment operator
DtUpdateRepositoryInputPortGroup * myUpdateRepositryInputPortGroup
Input Port Group Name: repository-update Input Port Group Description: Provides to update the reposit...
Definition: updateRepositoryActuator.h:83
virtual bool init()
Overridden to cache a pointer to the entity's radio in this class.
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
End User Description: DtActuator is the base class for all actuator model components.
Definition: actuatorComponent.h:48
virtual void tick()
This gives the thread of control to the component.
DtUpdateRepositoryInputPortGroup is a data port group of a data consumer that contains methods and po...
Definition: updateRepositoryInputPortGroup.h:27
virtual bool createPortGroups()
Called by init.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
bool myIsFreezeMovementPublished
Whether or not the SMS is configured to publish Freeze Movement state data.
Definition: updateRepositoryActuator.h:86
virtual const char * type() const =0
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)