VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
laserDetector.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <vl/globalObjectDesignator.h>
14 
17 
21 class DtLaserDetectorPSR;
22 
28 
30 {
31 public:
33  DtLaserDetector(const DtString & name, DtVrfObject* owner,
34  DtSimManager * simManager, DtComponentDescriptor* desc = NULL,
35  DtReaderWriterRegistry * parentRegistry = 0);
36 
38  virtual ~DtLaserDetector();
39 
41  virtual bool init();
42 
45  virtual bool createReflectedDesignatorList();
46 
48  virtual const char* type() const;
49 
52  virtual void setEntity(DtVrfObject* entity);
53 
55  virtual void tick();
56 
58  virtual DtLaserDetectorOutputPort* laserListPort() const;
59 
63  virtual void getProcessSR();
64 
68  static DtSimComponent * creator(const DtString & name, DtVrfObject* owner,
69  DtSimManager * simManager, DtComponentDescriptor* desc,
70  DtReaderWriterRegistry * parentRegistry);
71 
72 protected:
73 
75  virtual bool createPorts();
76 
77 protected:
81 
83  DtLaserDetector(const DtLaserDetector& orig);
84 
87 
88 protected:
89 
92 
96 
100 
104 };
105 
#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
DtGlobalObjectDesignator myGlobalId
The id of the entity this receiver is mounted on.
Definition: laserDetector.h:98
virtual void setEntity(DtVrfObject *entity)
The entity&#39;s state repository is the place that actuator components make updates and other components...
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 bool init()
Calls createPorts and createPortGroups Initializes myLastTickSimTime.
DtLaserDetectorPSR * myProcessState
Container for state data associated with this component.
Definition: laserDetector.h:103
virtual void tick()
This gives the thread of control to the component.
Class Description: DtLaserDetector Determines if the object that it is attached to is being lased and...
Definition: laserDetector.h:29
DtSimComponent & operator=(const DtSimComponent &orig)
assignment operator, not implemented
virtual bool createPorts()
Called by init.
File: lasingCtlrDesc.h.
Definition: laserDetectorDescriptor.h:33
DtLaserDetectorOutputPort * myLaserDetectorListPort
Port used to communicate the list of detected emitter systems to other components.
Definition: laserDetector.h:95
DtReflectedDesignatorList * myReflectedDesignatorList
List of all remote emitter systems.
Definition: laserDetector.h:91
Instances of DtEntityListOutputPort are output ports through which data producers can send a list of ...
Definition: laserDetectorIOPort.h:112
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
File: laserDetectorPSR.h.
Definition: laserDetectorPSR.h:34
DtLaserDetectorDescriptor * myComponentDescriptor
Definition: laserDetector.h:99
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
virtual const char * type() const =0
Returns a string identifies the class type of component.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)