VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
DtEmbarkationSlotInformationCommandSpecParamBuilder Class Reference

DtEmbarkationSlotInformationCommandSpecParamBuilder.

NOTE: stub only - this will require an async callback to the parent dropdown, which is currently not supported. This is dependent on the external entity, not itself!

Asynchronous DtCommandSpecParamBuilder that populates the Choices array for a embarkation parameter. It requests embarkation system data from the DtRemoteControlEmbarkationSlotInformationRequestor and signals readiness once the data has been received (or immediately when it is already cached). Provides slot info, type and status

Inheritance diagram for DtEmbarkationSlotInformationCommandSpecParamBuilder:
Inheritance graph
[legend]

Public Member Functions

 DtEmbarkationSlotInformationCommandSpecParamBuilder (const Json::Value &staticParams, const std::string &entityName, DtScenarioManager &scnMgr, const Json::Value &typeModifiers)
 
 ~DtEmbarkationSlotInformationCommandSpecParamBuilder ()
 
- Public Member Functions inherited from DtCommandSpecParamBuilder
 DtCommandSpecParamBuilder ()=default
 
virtual ~DtCommandSpecParamBuilder ()=default
 
virtual bool isEntitySpecific () const
 

Protected Member Functions

bool addChoiceOptions ()
 
void requestData ()
 
virtual bool isReady () const override
 
virtual Json::Value result () const override
 

Private Attributes

Json::Value myResult
 
DtUUID myEntityUuid
 
std::atomic< bool > myReady
 
DtRemoteControlEmbarkationSlotInformationRequestor & myEmbarkationRequestor
 
boost::signals2::connection myConnection
 
Json::Value myTypeModifiers
 

Constructor & Destructor Documentation

DtEmbarkationSlotInformationCommandSpecParamBuilder::DtEmbarkationSlotInformationCommandSpecParamBuilder ( const Json::Value &  staticParams,
const std::string &  entityName,
DtScenarioManager &  scnMgr,
const Json::Value &  typeModifiers 
)
explicit
DtEmbarkationSlotInformationCommandSpecParamBuilder::~DtEmbarkationSlotInformationCommandSpecParamBuilder ( )

Member Function Documentation

bool DtEmbarkationSlotInformationCommandSpecParamBuilder::addChoiceOptions ( )
protected

If the requestor has options for this entity, add them to the result. Returns true if choices were populated, false if data was not yet available.

void DtEmbarkationSlotInformationCommandSpecParamBuilder::requestData ( )
protected
virtual bool DtEmbarkationSlotInformationCommandSpecParamBuilder::isReady ( ) const
inlineoverrideprotectedvirtual

Returns true once result() can be safely called.

Implements DtCommandSpecParamBuilder.

References myReady.

virtual Json::Value DtEmbarkationSlotInformationCommandSpecParamBuilder::result ( ) const
inlineoverrideprotectedvirtual

Returns the fully populated JSON descriptor for this parameter. Only valid after isReady() returns true.

Implements DtCommandSpecParamBuilder.

References myResult.

Member Data Documentation

Json::Value DtEmbarkationSlotInformationCommandSpecParamBuilder::myResult
private

Referenced by result().

DtUUID DtEmbarkationSlotInformationCommandSpecParamBuilder::myEntityUuid
private
std::atomic<bool> DtEmbarkationSlotInformationCommandSpecParamBuilder::myReady
private

Referenced by isReady().

DtRemoteControlEmbarkationSlotInformationRequestor& DtEmbarkationSlotInformationCommandSpecParamBuilder::myEmbarkationRequestor
private
boost::signals2::connection DtEmbarkationSlotInformationCommandSpecParamBuilder::myConnection
private
Json::Value DtEmbarkationSlotInformationCommandSpecParamBuilder::myTypeModifiers
private

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

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)