VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
limitExistenceController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
12 
13 #pragma once
14 
16 #include "vrfutil/simClock.h"
17 #include <vl/hostStructs.h>
18 
21 class DtSimManager;
22 
36 {
37 
38 public:
39 
43  DtVrfObject* owner,
44  DtSimManager* simManager,
45  DtComponentDescriptor* desc = 0,
46  DtReaderWriterRegistry* parentRegistry = 0);
47 
49  virtual ~DtLimitExistenceController();
50 
51 
54  virtual const char* type() const;
55 
58  virtual bool init();
59 
63  virtual void tick();
64 
67  virtual void setElapsedTimeSinceCreation(DtTime elapsedTime);
68  virtual DtTime elapsedTimeSinceCreation() const;
69 
72  virtual void removeEntity();
73 
77  static DtSimComponent * creator(const DtString& name,
78  DtVrfObject* owner,
79  DtSimManager* simManager,
80  DtComponentDescriptor* desc = 0,
81  DtReaderWriterRegistry* parentRegistry = 0);
82 
83 protected:
84 
87  virtual bool createPSR();
88 
89 protected:
92 
95 
98  orig);
99 
100 protected:
101 
105 
109 };
110 
111 
112 
113 
114 
#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
End User Description: The first time the controller is ticked will record the simulation time...
Definition: limitExistenceController.h:35
This class provides a base class for all controllers that are capable of executing a DtSimTask...
Definition: singleTaskControllerComponent.h:20
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
virtual const char * type() const =0
Returns a string identifies the class type of component.
virtual bool init()
Calls setRadio()
File: vlClock.h.
virtual void tick()
This gives the thread of control to the component.
DtLimitExistenceControllerDescriptor; descriptor for the DtLimitExistenceController component...
Definition: limitExistenceControllerDescriptor.h:31
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
const DtTaskControllerComponent & operator=(const DtTaskControllerComponent &orig)
assignment operator
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
const DtLimitExistenceControllerDescriptor * myLimitExistenceDescriptor
Descriptor for this component.
Definition: limitExistenceController.h:108
class DtLimitExistencePSR:
Definition: limitExistencePSR.h:18
DtLimitExistencePSR * myProcessState
Pointer to a process state repository used to store state data associated with this component...
Definition: limitExistenceController.h:104

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)