VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rangeItemDecorator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 
12 
15 {
16 public:
18 
20 
21  virtual void disableRangeRingPublishing(bool);
22 
24  virtual void setRangeRingsParametersPublisherTickRate(double d);
25 
26 protected:
28  virtual void tick();
29 
30 protected:
32  double myTickRate;
34 };
35 
38 {
39 public:
40  virtual DtSimObjectDecorator* createDecorator(const DtSimObject* o) const { throw makVrf::DtUnimplementedMethod("The DtRangeItemLocalObjectDecorator is not created for the DtSimObject."); };
42 
43  virtual const char* DecoratorType() const { return "DtRangeItemLocalObjectDecorator"; };
44 };
45 
Definition: stateDataTypes.h:23
virtual const char * DecoratorType() const
Definition: rangeItemDecorator.h:43
Description: This class will look at parameter and state data to publish range rings (via the object ...
Definition: rangeRingsParametersPublisher.h:27
virtual DtLocalObjectDecorator * createDecorator(DtLocalObject *o) const
Definition: rangeItemDecorator.h:41
virtual DtSimObjectDecorator * createDecorator(const DtSimObject *o) const
Definition: rangeItemDecorator.h:40
This class will contain the range ring item publisher that can be used to publish range ring items (d...
Definition: rangeItemDecorator.h:14
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual void tick()
Override to perform a tick durning advance frame.
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: simObject.h:79
Definition: decoratorBase.h:53
Definition: decoratorBase.h:30
double myTickRate
Definition: rangeItemDecorator.h:32
DtRangeRingsParametersPublisher * myRangeRingsParametersPublisher
Definition: rangeItemDecorator.h:33
The DtAggregateDecoratorCreator will create the appropriate type of aggregate proxy logic...
Definition: rangeItemDecorator.h:37
bool myDisableRangeRingPublishing
Definition: rangeItemDecorator.h:31
Definition: decoratorBase.h:40
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)