|
WSF
|
#include <WsfMessageProcessor.hpp>
Public Types | |
| enum | { cCOMMANDER = 1 , cPEER = 2 , cSUBORDINATE = 4 , cSELF = 8 } |
Public Member Functions | |
| Selector () | |
| bool | Initialize (double aSimTime, WsfMessageProcessor *aProcessorPtr) |
| bool | ProcessInput (UtInput &aInput, WsfMessageProcessor *aProcessorPtr, const std::string &aNamespace, int aSelectorIndex) |
| bool | Matches (double aSimTime, const WsfMessage &aMessage, WsfMessageProcessor *aProcessorPtr) const |
| Determines if the message meets the current selectors criteria. | |
| WsfMessageProcessor::Selector::Selector | ( | ) |
References mMessageSubTypeId, mMessageTypeId, mScriptNameId, mScriptPtr, mSenderMask, mSensorModeId, mSensorNameId, mSensorTypeId, and mSystemNameId.
| bool WsfMessageProcessor::Selector::Initialize | ( | double | aSimTime, |
| WsfMessageProcessor * | aProcessorPtr ) |
| bool WsfMessageProcessor::Selector::Matches | ( | double | aSimTime, |
| const WsfMessage & | aMessage, | ||
| WsfMessageProcessor * | aProcessorPtr ) const |
Determines if the message meets the current selectors criteria.
References cCOMMANDER, cPEER, cSELF, cSUBORDINATE, WsfScriptContext::ExecuteScript(), wsf::comm::NetworkManager::GetComm(), WsfCommandChain::GetCommanderNameId(), WsfSimulation::GetCommNetworkManager(), WsfComponentList::GetComponent(), WsfMessage::GetComponentModeId(), WsfMessage::GetComponentNameId(), WsfMessage::GetComponentTypeId(), WsfCommandChain::GetDefaultNameId(), WsfObject::GetNameId(), WsfCommandChain::GetPeers(), WsfPlatformPart::GetPlatform(), WsfPlatformPart::GetSimulation(), WsfMessage::GetSrcAddr(), WsfCommandChain::GetSubordinates(), WsfMessage::GetSubType(), WsfStatusMessage::GetSystemNameId(), WsfMessage::GetType(), WsfStatusMessage::GetTypeId(), WsfScriptProcessor::mContextPtr, mMessageSubTypeId, mMessageTypeId, mScriptPtr, mSenderMask, mSensorModeId, mSensorNameId, mSensorTypeId, mSystemNameId, platformPtr, and WsfMessageProcessor::WsfMessageProcessor().
| bool WsfMessageProcessor::Selector::ProcessInput | ( | UtInput & | aInput, |
| WsfMessageProcessor * | aProcessorPtr, | ||
| const std::string & | aNamespace, | ||
| int | aSelectorIndex ) |
References cCOMMANDER, WsfScriptContext::Compile(), cPEER, cSELF, cSUBORDINATE, WsfScriptProcessor::mContextPtr, mMessageSubTypeId, mMessageTypeId, mScriptNameId, mSenderMask, mSensorModeId, mSensorNameId, mSensorTypeId, mSystemNameId, and WsfMessageProcessor::WsfMessageProcessor().
Referenced by WsfMessageProcessor::Process::ProcessInput().
| WsfStringId WsfMessageProcessor::Selector::mMessageSubTypeId |
Referenced by Matches(), ProcessInput(), and Selector().
| WsfStringId WsfMessageProcessor::Selector::mMessageTypeId |
Referenced by Matches(), ProcessInput(), and Selector().
| WsfStringId WsfMessageProcessor::Selector::mScriptNameId |
Referenced by Initialize(), ProcessInput(), and Selector().
| UtScript* WsfMessageProcessor::Selector::mScriptPtr |
Referenced by Initialize(), Matches(), and Selector().
| int WsfMessageProcessor::Selector::mSenderMask |
Referenced by Matches(), ProcessInput(), and Selector().
| WsfStringId WsfMessageProcessor::Selector::mSensorModeId |
Referenced by Matches(), ProcessInput(), and Selector().
| WsfStringId WsfMessageProcessor::Selector::mSensorNameId |
Referenced by Matches(), ProcessInput(), and Selector().
| WsfStringId WsfMessageProcessor::Selector::mSensorTypeId |
Referenced by Matches(), ProcessInput(), and Selector().
| WsfStringId WsfMessageProcessor::Selector::mSystemNameId |
Referenced by Matches(), ProcessInput(), and Selector().