VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dynamicFeaturesController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
16 
18 {
19 public:
21  const DtString& name,
22  DtLocalObject* owner,
23  DtSimulationServices* simManager,
24  DtComponentDescriptor* desc = 0,
25  DtReaderWriterRegistry* parentRegistry = 0);
26 
27  virtual ~DtDynamicFeaturesController() override;
28 
29  static DtSimComponent * creator(const DtString& name,
30  DtLocalObject* owner,
31  DtSimulationServices* simManager,
32  DtComponentDescriptor* desc = 0,
33  DtReaderWriterRegistry* parentRegistry = 0);
34 
37  virtual const char* type() const override;
38 
39  virtual bool init() override;
40 
41  virtual void tick() override;
42 
43 protected:
44  virtual void verticesChanged();
45 
46  virtual std::shared_ptr<DtVrfObjectFeature> createFeature();
47  virtual bool isChanged() const;
48 
49  std::shared_ptr<DtVrfObjectFeature> myFeature;
50 
51 private:
54 };
55 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
std::shared_ptr< DtVrfObjectFeature > myFeature
Definition: dynamicFeaturesController.h:49
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
virtual const char * type() const override=0
This returns a string from compTypes.h, and identifies the type of component.
Definition: readerWriterRegistry.h:39
DtDynamicFeaturesContoller; creates dynamic features from entities.
Definition: dynamicFeaturesController.h:17
virtual bool init() override
Calls setRadio()
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:31
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
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)