VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
surfaceEntitySetController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 
13 #pragma once
15 #include "vrfobjcore/simRadio.h"
17 
18 class DtSimMessage;
19 
29 {
30 
31 public:
32 
36  DtLocalObject* owner,
37  DtSimulationServices* simManager,
38  DtComponentDescriptor* desc = 0,
39  DtReaderWriterRegistry* parentRegistry = 0);
40 
42  virtual ~DtSurfaceEntitySetController() override;
43 
46  virtual const char* type() const override;
47 
48  static void setRestoreCallback(DtSimMessage * msg, void * usrData);
49 
51  static void setSurfaceVesselLightingCallback(DtSimMessage* msg, void* usrData);
52  virtual void processSetSurfaceVesselLighting(DtSimMessage* msg);
53 
57  static DtSimComponent * creator(const DtString& name,
58  DtLocalObject* owner,
59  DtSimulationServices* simManager,
60  DtComponentDescriptor* desc = 0,
61  DtReaderWriterRegistry* parentRegistry = 0);
62 
63 protected:
67 
70 
74 
75 protected:
77  virtual void processSetRestore(DtSimMessage* msg) override;
78 
80  virtual void initializeSetsToRegister() override;
81 
84 };
85 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
Contains the DtLocalEntitySetController class declaration.
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
static void setRestoreCallback(DtSimMessage *msg, void *usrData)
File: simMsg.h.
Definition: simMessage.h:35
virtual void processSetRestore(DtSimMessage *msg)
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
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
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Member to allow for access to platform specific data.
Definition: surfaceEntitySetController.h:83
DtSurfaceEntitySetController handles DtSetDataRequest messages for individual lifeform entities...
Definition: surfaceEntitySetController.h:28
const DtLocalEntitySetController & operator=(const DtLocalEntitySetController &orig)
assignment operator
virtual void initializeSetsToRegister()
Sets up the myRegisterSets map with sets to register for this controller.
A locally simulated VRF object.
Definition: localObject.h:98
DtLocalEntitySetController is a controller that handles all DtSetDataRequest messages for an entity a...
Definition: localEntitySetController.h:26

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)