VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
laserTrackerPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: laserTrackerPSR.h,v $ $Revision: 1.3 $ $State: Exp $
7 ** Created: 7/12/04, MEM Updated: 7/21/04
8 *******************************************************************************/
9 
12 
18 
19 #pragma once
20 
22 
23 #include <readerWriter/rwString.h>
24 #include <readerWriter/rwBoolean.h>
25 #include <readerWriter/rwReal.h>
26 #include <readerWriter/rwInt.h>
27 #include "readerWriter/rwVector.h"
28 
29 
30 
34 
37 {
38 
39 protected:
42 
43 public:
44  //constructor
45  DtLaserTrackerPSR(DtLocalObject* vrfObject,
46  const DtString& rwName = DtString::nullString(),
47  DtReaderWriterRegistry* parentRegistry = 0);
48 
49  //copy constructor
51  const DtString& rwName = DtString::nullString(),
52  DtReaderWriterRegistry* parentRegistry = 0);
53 
54  //assignment operator
56  const DtLaserTrackerPSR& orig);
57 
58  //destructor
59  virtual ~DtLaserTrackerPSR();
60 
61  //returns a copy of the PSR
63  const DtString& rwName = DtString::nullString(),
64  DtReaderWriterRegistry* parentRegistry = 0) const;
65 
67  virtual DtString type() const;
68 
70  virtual void setDesignatorCode(const int code);
71  virtual const int designatorCode() const;
72 
74  static DtVrfProcessStateRepository* creator(const DtString& name,
75  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
76 
77 protected:
79 };
Definition: readerWriterRegistry.h:39
DtRwInt myDesignatorCode
Definition: laserTrackerPSR.h:78
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
File: laserLauncherPSR.h.
Definition: laserTrackerPSR.h:36
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories. Process state repositories represent (potentially) shared, savable information for one or more components functioning together to achieve some process or set of processes; such as aiming and firing a weapon; moving an object; or just waiting a specified amount of time.
Definition: vrfProcessStateRepository.h:45
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
File: rwVector.h.
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)