![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Inheritance diagram for DtFederateXML:
Collaboration diagram for DtFederateXML:Public Member Functions | |
| DtFederateXML (DtEhsHttpConnectionMgr &parent, const DtWebSpyUtils::ConnectionIdentifier &connInfo) | |
| virtual | ~DtFederateXML () |
Protected Types | |
| typedef std::pair< unsigned long, DtWebSpyUtils::StateComponentType > | ComponentIdStateTypePair |
Protected Member Functions | |
| virtual ResponseCode | HandleNonFileRequest (HttpRequest *ipoHttpRequest, HttpResponse *ipoHttpResponse) |
| void | initializePage () |
| virtual void | requestStateUpdate () |
| std::auto_ptr< DtString > | handleStateRequest (unsigned long connId, DtWwwRequestXmlBlockSP requestSP, std::auto_ptr< DtString > requestString) |
| std::auto_ptr< DtString > | handleLogRequest (unsigned long connId, DtWwwRequestXmlBlockSP requestSP, std::auto_ptr< DtString > requestString) |
| std::auto_ptr< DtString > | handleRTICommand (unsigned long connId, DtWwwRequestXmlBlockSP requestSP, std::auto_ptr< DtString > requestString) |
Protected Attributes | |
| DtEhsHttpConnectionMgr & | myParent |
| DtWebSpyUtils::ConnectionIdentifier | myConnInfo |
| std::map < ComponentIdStateTypePair, DtTime > | myPendingRequests |
| std::map< unsigned long, DtTime > | myPendingLrcLogRequests |
Private Member Functions | |
| DtFederateXML (const DtFederateXML &) | |
| DtFederateXML & | operator= (const DtFederateXML &) |
typedef std::pair< unsigned long, DtWebSpyUtils::StateComponentType > DtFederateXML::ComponentIdStateTypePair [protected] |
| DtFederateXML::DtFederateXML | ( | const DtFederateXML & | ) | [private] |
| DtFederateXML::DtFederateXML | ( | DtEhsHttpConnectionMgr & | parent, |
| const DtWebSpyUtils::ConnectionIdentifier & | connInfo | ||
| ) |
References DtWebSpyUtils::DtChangeRidParamMsg, DtWebSpyUtils::DtLrcLogEventsMsg, DtWebSpyUtils::DtRequestStateUpdateMsg, DtWebSpyUtils::DtUndiscoverObjectMsg, handleLogRequest(), handleRTICommand(), handleStateRequest(), DtWebSpyUtils::ConnectionIdentifier::id(), initializePage(), DtBasicEhsDoc::registerRequestHandler(), and requestStateUpdate().
| DtFederateXML::~DtFederateXML | ( | ) | [virtual] |
| std::auto_ptr< DtString > DtFederateXML::handleLogRequest | ( | unsigned long | connId, |
| DtWwwRequestXmlBlockSP | requestSP, | ||
| std::auto_ptr< DtString > | requestString | ||
| ) | [protected] |
References DtBasicEhsDoc::getRequestParam(), DtWebSpyUtils::ConnectionIdentifier::id(), DtBasicEhsDoc::myClock, myConnInfo, DtBasicEhsDoc::myLrcLogs, myParent, myPendingLrcLogRequests, DtEhsHttpConnectionMgr::postCommand(), DtBasicEhsDoc::setRequestParam(), and DtSpyXmlDocument::toString().
Referenced by DtFederateXML().
| ResponseCode DtFederateXML::HandleNonFileRequest | ( | HttpRequest * | ipoHttpRequest, |
| HttpResponse * | ipoHttpResponse | ||
| ) | [protected, virtual] |
Reimplemented from DtBasicEhsDoc.
| std::auto_ptr< DtString > DtFederateXML::handleRTICommand | ( | unsigned long | connId, |
| DtWwwRequestXmlBlockSP | requestSP, | ||
| std::auto_ptr< DtString > | requestString | ||
| ) | [protected] |
| std::auto_ptr< DtString > DtFederateXML::handleStateRequest | ( | unsigned long | connId, |
| DtWwwRequestXmlBlockSP | requestSP, | ||
| std::auto_ptr< DtString > | requestString | ||
| ) | [protected] |
| void DtFederateXML::initializePage | ( | ) | [protected] |
References DtWebSpyUtils::getPathToHtmlRoot(), DtBasicEhsDoc::myPage, and DtWebSpyUtils::readTextFileIntoString().
Referenced by DtFederateXML().
| DtFederateXML& DtFederateXML::operator= | ( | const DtFederateXML & | ) | [private] |
| void DtFederateXML::requestStateUpdate | ( | ) | [protected, virtual] |
Referenced by handleLogRequest(), handleRTICommand(), handleStateRequest(), and requestStateUpdate().
DtEhsHttpConnectionMgr& DtFederateXML::myParent [protected] |
Referenced by handleLogRequest(), handleRTICommand(), handleStateRequest(), and requestStateUpdate().
std::map< unsigned long, DtTime > DtFederateXML::myPendingLrcLogRequests [protected] |
Referenced by handleLogRequest().
std::map< ComponentIdStateTypePair, DtTime > DtFederateXML::myPendingRequests [protected] |
Referenced by handleStateRequest().