VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
sidcDecorator.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
6 #pragma once
7 
10 #include <vlpi/disEnums.h>
11 
14 {
15 public:
16 
18 
19  virtual ~DtSidcLocalObjectDecorator() override;
20 
21  virtual void updateSidc();
22 
23 protected:
24 
26  virtual void tick() override;
27  virtual void updateIndentityFromForce();
28  virtual void updateStatusFromAppearance();
29 };
30 
31 
34 {
35 public:
36 
37  virtual DtSimObjectDecorator* createDecorator(const DtSimObject* o) const override
38  { throw makVrf::DtUnimplementedMethod("The DtSidcDecorator is not created for the DtSimObject."); };
40  { return new DtSidcLocalObjectDecorator(o); };
41 
42  virtual const char* DecoratorType() const override { return "DtSidcLocalObjectDecoratorDtHum"; };
43 
44 };
Exception thrown when a required method has not been implemented.
Definition: stateDataTypes.h:30
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
The DtSidcDecoratorCreator will create the appropriate type of sidc proxy kiguc.
Definition: sidcDecorator.h:33
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
virtual const char * DecoratorType() const override
Definition: sidcDecorator.h:42
Definition: decoratorBase.h:57
Definition: decoratorBase.h:30
This class will contain logic to update the Sidc based on attributes of the object.
Definition: sidcDecorator.h:13
Definition: decoratorBase.h:44
virtual DtLocalObjectDecorator * createDecorator(DtLocalObject *o) const override
Definition: sidcDecorator.h:39
A locally simulated VRF object.
Definition: localObject.h:98
virtual DtSimObjectDecorator * createDecorator(const DtSimObject *o) const override
Definition: sidcDecorator.h:37

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)