VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
decoratorBase.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 
9 #include "vrfobjcore/simObject.h"
10 #include <boost/signals2.hpp>
11 
12 class DtLocalObject;
13 
19 {
20 public:
23 
24  virtual ~DtDecoratorBase();
25 
27  boost::signals2::signal<void ()> signal_decoratorDeleted;
28 };
29 
31 {
32 public:
35  virtual ~DtSimObjectDecorator() override;
36 
38  virtual void tick();
39 
40 protected:
42 };
43 
45 {
46 public:
48  virtual ~DtLocalObjectDecorator() override;
49 
51  virtual void tick();
52 
53 protected:
55 };
56 
58 {
59 public:
60  virtual DtSimObjectDecorator* createDecorator(const DtSimObject* o) const = 0;
61  virtual DtLocalObjectDecorator* createDecorator(DtLocalObject* o) const = 0;
62 
63  virtual const char* DecoratorType() const = 0;
64 };
DtLocalObject * myLocalObject
Definition: decoratorBase.h:54
boost::signals2::signal< void()> signal_decoratorDeleted
Sent from destructor.
Definition: decoratorBase.h:27
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtSimObjectReference mySimObject
Definition: decoratorBase.h:41
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
The DtDecoratorBase class is a very simple class that the implementation of the decorator will subcla...
Definition: decoratorBase.h:18
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)