VR-Engage  2.2
Loading...
Searching...
No Matches
makVre::DtVreLocalEntitySetController Class Reference

Detailed Description

DtVreLocalEntitySetController extends the base local entity set controller with VR-Engage specific functionality for managing groups of local entities. It inherits from DtVreSetController which provides common behavior for all VR-Engage set controllers.

#include <vreLocalEntitySetController.h>

Inheritance diagram for makVre::DtVreLocalEntitySetController:
[legend]

Public Member Functions

 DtVreLocalEntitySetController (const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
 
virtual const char * type () const override
 
- Public Member Functions inherited from makVre::DtVreSetController< DtLocalEntitySetController >
 DtVreSetController (const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
 
virtual ~DtVreSetController () override
 
virtual void setRadio (DtSimRadio *radio)
 
virtual void processSetPlayerControlled (DtSimMessage *msg)
 
virtual void updatePlayerControlled (const SetVreControlledContent &change)
 
virtual void preFirstTickInit ()
 
virtual void tick ()
 
virtual void processSetAltitude (DtSimMessage *msg)
 
- Public Member Functions inherited from makVre::DtVreSimComponent< DtLocalEntitySetController >
 DtVreSimComponent (const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
 
virtual ~DtVreSimComponent ()
 
bool isPlayerControlled (const std::string &role="") const
 
DtString entitySystemName () const
 

Static Public Member Functions

static DtSimComponent * creator (const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
 
- Static Public Member Functions inherited from makVre::DtVreSetController< DtLocalEntitySetController >
static void setPlayerControlledCallback (DtSimMessage *msg, void *usrData)
 
static DtSimComponent * creator (const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
 

Private Member Functions

 DtVreLocalEntitySetController ()
 
 DtVreLocalEntitySetController (const DtVreLocalEntitySetController &orig)
 
DtVreLocalEntitySetControlleroperator= (const DtVreLocalEntitySetController &orig)
 

Additional Inherited Members

- Protected Attributes inherited from makVre::DtVreSetController< DtLocalEntitySetController >
bool myWarnedAboutResource
 
std::list< SetVreControlledContent > myPendingControlChanges
 

Constructor & Destructor Documentation

◆ DtVreLocalEntitySetController() [1/3]

makVre::DtVreLocalEntitySetController::DtVreLocalEntitySetController ( const DtString & name,
DtLocalObject * owner,
DtSimulationServices * simManager,
DtComponentDescriptor * desc = 0,
DtReaderWriterRegistry * parentRegistry = 0 )

Constructor.

Parameters
nameThe name of this component
ownerThe local object that owns this component
simManagerThe simulation services manager
descComponent descriptor with configuration parameters
parentRegistryOptional parent registry for reader/writer functionality

Creates a new local entity set controller component with the specified parameters.

Referenced by DtVreLocalEntitySetController(), and operator=().

◆ DtVreLocalEntitySetController() [2/3]

makVre::DtVreLocalEntitySetController::DtVreLocalEntitySetController ( )
private

Default constructor (not implemented)

Default constructor is private and not implemented to prevent creation of instances without proper initialization.

◆ DtVreLocalEntitySetController() [3/3]

makVre::DtVreLocalEntitySetController::DtVreLocalEntitySetController ( const DtVreLocalEntitySetController & orig)
private

Copy constructor (not implemented)

Copy constructor is private and not implemented to prevent copy construction.

References DtVreLocalEntitySetController().

Member Function Documentation

◆ type()

virtual const char * makVre::DtVreLocalEntitySetController::type ( ) const
overridevirtual

Gets the type identifier for this component.

Returns
String identifying the component type (DtVreLocalEntitySetControllerType)

Implements the DtSimComponent::type() method to return the type identifier for this component.

◆ creator()

static DtSimComponent * makVre::DtVreLocalEntitySetController::creator ( const DtString & name,
DtLocalObject * owner,
DtSimulationServices * simManager,
DtComponentDescriptor * desc = 0,
DtReaderWriterRegistry * parentRegistry = 0 )
static

Factory method to create a new instance of this component.

Parameters
nameThe name for the new component
ownerThe local object that will own this component
simManagerThe simulation services manager
descOptional component descriptor
parentRegistryOptional parent registry for reader/writer functionality
Returns
Pointer to the newly created component

Static factory method used by the component creation system to instantiate new instances of this component type.

◆ operator=()

DtVreLocalEntitySetController & makVre::DtVreLocalEntitySetController::operator= ( const DtVreLocalEntitySetController & orig)
private

Assignment operator (not implemented)

Returns
Reference to this object

Assignment operator is private and not implemented to prevent assignment.

References DtVreLocalEntitySetController().


The documentation for this class was generated from the following file: