|
VR-Engage
2.2
|
This class extends the basic embarkation PSR to provide VREngage-specific functionality for entity embarkation operations. It adds support for tracking slot points and other embarkation-related state data, which is used to position entities during embarkation and to animate embarkation sequences.
#include <vreVrfEmbarkationPSR.h>
Public Member Functions | |
| DtVreVrfEmbarkationPSR (DtLocalObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| DtVreVrfEmbarkationPSR (const DtVreVrfEmbarkationPSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| virtual | ~DtVreVrfEmbarkationPSR () override |
| DtVreVrfEmbarkationPSR & | operator= (const DtVreVrfEmbarkationPSR &orig) |
| virtual DtVrfProcessStateRepository * | clone (const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const override |
| virtual DtString | type () const override |
| virtual const DtRwVector & | slotPoint () const |
| virtual void | setSlotPoint (const DtRwVector &slotPoint) |
Static Public Member Functions | |
| static DtVrfProcessStateRepository * | creator (const DtString &rwName, DtLocalObject *vrfObject, DtReaderWriterRegistry *parentRegistry) |
Protected Attributes | |
| DtRwVector | mySlotPoint |
| makVre::DtVreVrfEmbarkationPSR::DtVreVrfEmbarkationPSR | ( | DtLocalObject * | vrfObject, |
| const DtString & | rwName = DtString::nullString(), | ||
| DtReaderWriterRegistry * | parentRegistry = 0 ) |
Constructor with VRF object and optional name.
| vrfObject | Pointer to the local object this PSR is associated with |
| rwName | Optional reader/writer name |
| parentRegistry | Optional parent registry for reader/writer functionality |
Creates a new embarkation PSR for the specified VRF object.
Referenced by DtVreVrfEmbarkationPSR(), and operator=().
| makVre::DtVreVrfEmbarkationPSR::DtVreVrfEmbarkationPSR | ( | const DtVreVrfEmbarkationPSR & | orig, |
| const DtString & | rwName = DtString::nullString(), | ||
| DtReaderWriterRegistry * | parentRegistry = 0 ) |
Copy constructor.
| orig | The source PSR to copy from |
| rwName | Optional reader/writer name |
| parentRegistry | Optional parent registry for reader/writer functionality |
Creates a new embarkation PSR as a copy of the provided original.
References DtVreVrfEmbarkationPSR().
|
overridevirtual |
Virtual destructor.
Cleans up resources used by the PSR.
| DtVreVrfEmbarkationPSR & makVre::DtVreVrfEmbarkationPSR::operator= | ( | const DtVreVrfEmbarkationPSR & | orig | ) |
Assignment operator.
| orig | The source PSR to copy from |
Assigns the contents of the provided PSR to this one.
References DtVreVrfEmbarkationPSR().
|
overridevirtual |
Creates a clone of this PSR.
| rwName | Optional reader/writer name for the clone |
| parentRegistry | Optional parent registry for reader/writer functionality |
Creates a new embarkation PSR as a deep copy of this one.
|
overridevirtual |
Gets the type identifier for this PSR.
Returns a unique type identifier string for this PSR type. Will return DtVreVrfEmbarkationPSRType.
|
virtual |
Gets the slot point for embarkation.
Returns the slot point where an entity should be positioned during embarkation. This is the point in local coordinates where the embarking entity should initially be placed.
Referenced by setSlotPoint().
|
virtual |
Sets the slot point for embarkation.
| slotPoint | The new slot point vector |
Sets the slot point where an entity should be positioned during embarkation. This is the point in local coordinates where the embarking entity should initially be placed.
References slotPoint().
|
static |
Factory function to create a new instance of this PSR.
| rwName | The reader/writer name for the new instance |
| vrfObject | Pointer to the local object this PSR will be associated with |
| parentRegistry | Parent registry for reader/writer functionality |
Static factory function used by the PSR creation system to instantiate new instances of this PSR type.
|
protected |
Slot point for embarkation.
Stores the slot point where an entity should be positioned during embarkation. This is the point in local coordinates where the embarking entity should initially be placed.