![]() |
MAK RTIspy API Documentation for HLA Evolved
|
The client connection to the RTI Assistant for an LRC. More...
Inheritance diagram for DtRtiAssistantToAssistantClient:
Collaboration diagram for DtRtiAssistantToAssistantClient:Public Member Functions | |
| DtRtiAssistantToAssistantClient (int port=0) | |
| virtual | ~DtRtiAssistantToAssistantClient () |
| virtual bool | sendShowDialogMsg (DtAssistantShowDialogMsg::DtAssistantShowDialogEnum dialog) |
| Instruct the assistant to show the rti connection dialog returns true if succesfull. | |
| virtual void | sendShutdownMessage (DtAssistantShutdownMsg::DtShutdownEnum shouldForce) |
| Instruct the assistant to shutdown. | |
| virtual void | sendCommandMessage (DtRtiAssistantCommand command) |
| Send a command to the connected Assistant. | |
| virtual MAKRti::DtString | sendInteractiveCommandMessage (DtRtiAssistantCommand command) |
| Query some information from the connected assistant. | |
| virtual void | sendClientInfo () |
| We have no pertinent info, this fcn is a nop. | |
Protected Attributes | |
| MAKRti::DtString | myName |
| The name the Assistant uses to identify this LRC. | |
The client connection to the RTI Assistant for an LRC.
DtrtiAssistantToAssistantClient manages the client connection of an LRC to the RTI Assistant. Provides routines to create and send messages to the Assistant.
| DtRtiAssistantToAssistantClient::DtRtiAssistantToAssistantClient | ( | int | port = 0 | ) |
References DtRtiAssistantClient::sendClose().
| virtual void DtRtiAssistantToAssistantClient::sendClientInfo | ( | ) | [inline, virtual] |
We have no pertinent info, this fcn is a nop.
Reimplemented from DtRtiAssistantClient.
| void DtRtiAssistantToAssistantClient::sendCommandMessage | ( | DtRtiAssistantCommand | command | ) | [virtual] |
Send a command to the connected Assistant.
References DtRtiAssistantCommand::assistantHandle, DtRtiAssistantCommand::commType, DtAssistantCommandMsgKind, DtRtiAssistantClient::msgFactory(), DtRtiAssistantClient::sendMsg(), DtAssistantCommandMsg::setCommandType(), DtAssistantCommandMsg::setIsAssistantToAssistant(), DtAssistantCommandMsg::setTargetAssistantComponentId(), DtAssistantCommandMsg::setTargetFederateHandle(), DtAssistantCommandMsg::setTargetFederationHandle(), DtRtiAssistantCommand::targetFederateHandle, and DtRtiAssistantCommand::targetFedexHandle.
Referenced by DtRtiAssistant::sendCommandToConnectedAssistant().
| DtString DtRtiAssistantToAssistantClient::sendInteractiveCommandMessage | ( | DtRtiAssistantCommand | command | ) | [virtual] |
Query some information from the connected assistant.
References DtRtiAssistantCommand::assistantHandle, DtRtiAssistantCommand::commType, DtAssistantCommandMsgKind, DtAssistantCommandMsg::messageString(), DtRtiAssistantClient::msgFactory(), DtRtiAssistantClient::sendMsgAndWait(), DtAssistantCommandMsg::setCommandType(), DtAssistantCommandMsg::setIsAssistantToAssistant(), DtAssistantCommandMsg::setTargetAssistantComponentId(), DtAssistantCommandMsg::setTargetFederateHandle(), DtAssistantCommandMsg::setTargetFederationHandle(), DtRtiAssistantCommand::targetFederateHandle, and DtRtiAssistantCommand::targetFedexHandle.
Referenced by DtRtiAssistant::sendInteractiveCommandToConnectedAssistant().
| bool DtRtiAssistantToAssistantClient::sendShowDialogMsg | ( | DtAssistantShowDialogMsg::DtAssistantShowDialogEnum | dialog | ) | [virtual] |
Instruct the assistant to show the rti connection dialog returns true if succesfull.
References DtAssistantShowDialogMsgKind, DtRtiAssistantClient::msgFactory(), DtRtiAssistantClient::sendMsg(), and DtAssistantShowDialogMsg::setShowDialog().
Referenced by DtRtiAssistant::showDialogOnConnectedAssistant().
| void DtRtiAssistantToAssistantClient::sendShutdownMessage | ( | DtAssistantShutdownMsg::DtShutdownEnum | shouldForce | ) | [virtual] |
Instruct the assistant to shutdown.
Either show a confirmation dialog or shutdown forcefully.
References DtAssistantShutdownMsgKind, DtAssistantShutdownMsg::DtForceShutdown, DtRtiAssistantClient::msgFactory(), DtRtiAssistantClient::sendMsg(), DtAssistantShutdownMsg::setForceShutdown(), and DtAssistantShutdownMsg::setIsAssistantToAssistant().
Referenced by DtRtiAssistant::sendShutdownToConnectedAssistant().
MAKRti::DtString DtRtiAssistantToAssistantClient::myName [protected] |
The name the Assistant uses to identify this LRC.