![]() |
MAK RTIspy API Documentation for HLA Evolved
|
DtAssistantPopupHelper inherits from DtPopupHelper. More...
Inheritance diagram for DtAssistantPopupHelper:
Collaboration diagram for DtAssistantPopupHelper:Public Member Functions | |
| virtual | ~DtAssistantPopupHelper () |
| Destructor. | |
Public Member Functions inherited from DtPopupHelper | |
| virtual | ~DtPopupHelper () |
| Destructor. | |
| DtPopupHelper () | |
| Default Ctor disabled. | |
| DtPopupHelper (const DtPopupHelper &orig) | |
| Copy and assignment operators are disabled. | |
| DtPopupHelper & | operator= (DtPopupHelper const &orig) |
Static Public Member Functions | |
| static void | popupAssistantMessage (const MAKRti::DtString &text, MAKRti::DtOutputStream &stream, const MAKRti::DtString &advancedText) |
| Call theCreator function to create a popupMessage to the assistant. | |
| static void | popupAssistantMessage (const MAKRti::DtString &text, MAKRti::DtOutputStream &stream=MAKRti::DtWarn) |
| static void | setCreatorFunction (DtRtiAssistantClient *client) |
| sets the base creator to use the assitantPopupWindow and associates | |
| static void | removeClientReference () |
| Removes reference to DtRtiAssistantClient. | |
| static void | setAssistantPrinter (DtAssistantPrinter *printer) |
| Store a pointer to the printer used to send notifications to the assistant. | |
| static void | removeAssistantPrinter () |
| Remove reference to assistant printer. | |
| static void | setPopupsDisabled (bool popupsDisabled) |
| Ignore calls to popupAssistantMsg if popupsDisabled is set. | |
| static bool | popupsDisabled () |
| returns whether popups are disabled | |
| static void | queuePopups () |
| Tells the popup helper to queue up popup messages, but not to send them yet. | |
| static void | sendAllPopups (MAKRti::DtTime sleepTime=0.0) |
| Tells the popup helper to send all queued popup messages. | |
Static Public Member Functions inherited from DtPopupHelper | |
| static void | setCreatorFunction (DtPopupHelperCreator creator) |
| Call this function to set an alternate creator function With this function, users can replace this DtPopupHelper with their own derived class. | |
Protected Member Functions | |
| DtAssistantPopupHelper (const MAKRti::DtString &text, const MAKRti::DtString &advancedText) | |
| Constructor. | |
| virtual void | sendPopupMessage (const MAKRti::DtString &message, const MAKRti::DtString &advancedText) |
| Packages the data into a message and sends to the RTI Assistant to be displayed as a popup dialog. | |
Protected Member Functions inherited from DtPopupHelper | |
| DtPopupHelper (const MAKRti::DtString &text, const MAKRti::DtString &advancedText) | |
| Constructor. | |
Static Protected Attributes | |
| static DtRtiAssistantClient * | theClient = 0 |
| The Assistant client connection through which messages are sent. | |
| static DtAssistantPrinter * | thePrinter = 0 |
| The printer that sends notifications to the assistant. | |
| static bool | theQueuePopups = false |
| Indicates whether or not popup message queuing is enabled. | |
| static bool | thePopupsDisabled = false |
| Are popups disabled? | |
| static std::list< std::pair < MAKRti::DtString, MAKRti::DtString > > | thePopupQueue |
| The queue of messages which need to be sent to the Assistant. | |
| static MAKRti::DtMutex | theMutex |
| The mutex protecting thePopupQueue. | |
Static Protected Attributes inherited from DtPopupHelper | |
| static DtPopupHelperCreator | theCreator = NULL |
Private Member Functions | |
| DtAssistantPopupHelper () | |
| Default Ctor disabled. | |
| DtAssistantPopupHelper (const DtAssistantPopupHelper &orig) | |
| Copy and assignment operators are disabled. | |
| DtAssistantPopupHelper & | operator= (DtAssistantPopupHelper const &orig) |
DtAssistantPopupHelper inherits from DtPopupHelper.
It sets the DtPopupHelper factory method to use DtAssistantPopupHelper. After the factory method is set, calls to DtAssistantPopupHelper::popupAssistantMessage will result in an Assistant popup.
|
protected |
Constructor.
References sendPopupMessage().
|
virtual |
Destructor.
|
private |
Default Ctor disabled.
Referenced by sendAllPopups().
|
private |
Copy and assignment operators are disabled.
|
private |
|
static |
Call theCreator function to create a popupMessage to the assistant.
Also outputs the text to the given output stream.
Reimplemented from DtPopupHelper.
Referenced by DtRtiExecFederateMgr::checkJoinResponse(), DtSmConnectionMgr::connectFederation(), DtRtiExecFederateMgr::createFederationExecution(), DtRtiExecFederateMgr::destroyFederationExecution(), DtRtiMsgForwarder::init(), DtFedExec::init(), DtSmConnectionMgr::initConnections(), DtConnectionMgr::initConnections(), initControl(), DtRtiExecFederateMgr::initializeFOM(), DtRtiExecFederateMgr::initializeTimeFactory(), DtFomClassMgr::initUpdateRates(), DtRtiExecFederateMgr::joinFederationExecution(), DtRouteMap::openRoutesFile(), DtRtiMsgForwarder::performMcastDiscovery(), DtRtiExec::performMulticastDiscovery(), DtFedExec::processJoinMsg(), DtPartnerMgr::processPartnerReject(), DtFederateMgr::readFedFile(), DtFederateMgr::readFedFilePtr(), DtAsyncFileDistributorRunnable::run(), setCreatorFunction(), DtFederateMgr::testReadFedFile(), DtRtiExecFederateMgr::testReadFomModules(), DtObjectMgr::uniqueHandle(), DtRtiExecFederateMgr::waitForCreateResponse(), and DtRtiExecFederateMgr::waitForJoinResponse().
|
static |
|
static |
returns whether popups are disabled
References thePopupsDisabled.
Referenced by DtRtiExec::DtRtiExec(), and setPopupsDisabled().
|
static |
Tells the popup helper to queue up popup messages, but not to send them yet.
Messages will be sent when DtAssistantPopupHelper::sendAllPopups is called. This is useful if you want to delay the sending of popup messages to the assistant until some point in the future without losing the messages.
References theMutex, and theQueuePopups.
|
static |
Remove reference to assistant printer.
References thePrinter.
Referenced by DtAssistantPrinter::~DtAssistantPrinter().
|
static |
Removes reference to DtRtiAssistantClient.
Resets creator Function.
References DtPopupHelper::popupAssistantMessage(), and setCreatorFunction().
|
static |
Tells the popup helper to send all queued popup messages.
This also disables popup message queuing. If sleep time is greater than 0, this call will sleep before returning
References DtAssistantPopupHelper(), theMutex, thePopupQueue, and theQueuePopups.
|
protectedvirtual |
Packages the data into a message and sends to the RTI Assistant to be displayed as a popup dialog.
References DtRtiAssistantClient::sendDialogBoxMsg(), and theClient.
Referenced by DtAssistantPopupHelper().
|
static |
Store a pointer to the printer used to send notifications to the assistant.
References thePrinter.
Referenced by DtAssistantPrinter::DtAssistantPrinter().
|
static |
sets the base creator to use the assitantPopupWindow and associates
DtAssistantPopupHelper::popupAssistantMessage with a particular assistantClient. Only intended to be used by the implementation of DtRtiAssistantClient
References popupAssistantMessage().
Referenced by DtRtiAssistantClient::DtRtiAssistantClient(), and removeClientReference().
|
static |
Ignore calls to popupAssistantMsg if popupsDisabled is set.
Popups are enabled by default.
References popupsDisabled(), and thePopupsDisabled.
Referenced by DtRtiExec::DtRtiExec().
|
staticprotected |
The Assistant client connection through which messages are sent.
Referenced by sendPopupMessage().
|
staticprotected |
The mutex protecting thePopupQueue.
Referenced by queuePopups(), and sendAllPopups().
|
staticprotected |
The queue of messages which need to be sent to the Assistant.
Only used when queuing is turned on.
Referenced by sendAllPopups().
|
staticprotected |
Are popups disabled?
Referenced by popupsDisabled(), and setPopupsDisabled().
|
staticprotected |
The printer that sends notifications to the assistant.
Referenced by removeAssistantPrinter(), and setAssistantPrinter().
|
staticprotected |
Indicates whether or not popup message queuing is enabled.
Referenced by queuePopups(), and sendAllPopups().