VR-Forces 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 
19  virtual ~DtRangeItemLocalObjectDecorator() override;
20 
21  virtual void disableRangeRingPublishing(bool);
22 
24  virtual void setRangeRingsParametersPublisherTickRate(double d);
25 
26 protected:
28  virtual void tick() override;
29 
30 protected:
32  double myTickRate;
34 };
35 
38 {
39 public:
40  virtual DtSimObjectDecorator* createDecorator(const DtSimObject* o) const override
41  { throw makVrf::DtUnimplementedMethod("The DtRangeItemLocalObjectDecorator is not created for the DtSimObject."); };
43  { return new DtRangeItemLocalObjectDecorator(o); };
44 
45  virtual const char* DecoratorType() const override { return "DtRangeItemLocalObjectDecorator"; };
46 };
47 
Definition: stateDataTypes.h:23
virtual const char * DecoratorType() const override
Definition: rangeItemDecorator.h:45
virtual DtSimObjectDecorator * createDecorator(const DtSimObject *o) const override
Definition: rangeItemDecorator.h:40
Description: This class will look at parameter and state data to publish range rings (via the object ...
Definition: rangeRingsParametersPublisher.h:27
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 DtLocalObjectDecorator * createDecorator(DtLocalObject *o) const override
Definition: rangeItemDecorator.h:42
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:80
Definition: decoratorBase.h:57
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:44
A locally simulated VRF object.
Definition: localObject.h:98

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)