|
WSF
|
#include <WsfXIO_InputData.hpp>


Classes | |
| struct | UDP_Target |
| class | InputCallbackList |
| An input processing callback list. More... | |
Public Types | |
| enum | UDP_Type { cBROADCAST , cMULTICAST , cUNICAST } |
Public Member Functions | |
| WsfXIO_InputData () | |
| bool | ProcessInput (UtInput &aInput) |
| void | AddConnectType (int aApplicationType) |
| Specifies that applications of a certain type will be automatically connected to. | |
Public Attributes | |
| InputCallbackList | ProcessInputEvent |
| XIO extenders can subscribe to this to add additional input into the 'xio_interface' block. | |
| WsfStringId | mApplicationName |
| The current application's name. | |
| int | mTCP_Port |
| Socket port used to receive TCP connections. | |
| int | mMulticastTimeToLive |
| Time to live for multicast connections. | |
| bool | mMulticastLoopback |
| Determines if sent multicast can be received on the local machine. | |
| double | mHeartbeatInterval |
| ut::optional< double > | mFallingBehindThreshold |
| std::set< int > | mApplicationTypeFilter |
| Set of application types to connect with automatically. | |
| std::vector< UDP_Target > | mUDP_Targets |
| Contains user input UDP target information. | |
| std::vector< WsfXIO_EntityId > | mRegularApplications |
| std::vector< WsfXIO_EntityId > | mAutoMappedApplications |
| bool | mAutoMappingDefault |
| int | mPublisherDebugLevel |
| bool | mDebugEnabled |
| bool | mShowConnections |
| bool | mShowTransferRate |
| bool | mPauseForConnection |
| bool | mInterfaceRequested |
| true if user has requested the XIO interface | |
| bool | mAuxDataUpdates = true |
Contains the 'xio_interface' input data. This class is derived from by both the scenario extension (WsfXIO_Extension) and the simulation extension (WsfXIO_Interface). The data is filled by the scenario extension and simply copied to the simulation extension.
| WsfXIO_InputData::WsfXIO_InputData | ( | ) |
References mApplicationName, mAutoMappingDefault, mDebugEnabled, mHeartbeatInterval, mInterfaceRequested, mMulticastLoopback, mMulticastTimeToLive, mPauseForConnection, mPublisherDebugLevel, mShowConnections, mShowTransferRate, and mTCP_Port.
Referenced by WsfXIO_Interface::WsfXIO_Interface(), and WsfXIO_Interface::WsfXIO_Interface().
| void WsfXIO_InputData::AddConnectType | ( | int | aApplicationType | ) |
Specifies that applications of a certain type will be automatically connected to.
References mApplicationTypeFilter.
Referenced by ProcessInput().
| bool WsfXIO_InputData::ProcessInput | ( | UtInput & | aInput | ) |
References AddConnectType(), wsf::xio::cAPP_SIMULATION, cBROADCAST, cMULTICAST, cUNICAST, WsfXIO_InputData::UDP_Target::mAddress, mApplicationName, mAutoMappedApplications, mAutoMappingDefault, mAuxDataUpdates, mDebugEnabled, mFallingBehindThreshold, mHeartbeatInterval, WsfXIO_InputData::UDP_Target::mInterface, mInterfaceRequested, mMulticastLoopback, mMulticastTimeToLive, mPauseForConnection, mPublisherDebugLevel, WsfXIO_InputData::UDP_Target::mRecvPort, mRegularApplications, WsfXIO_InputData::UDP_Target::mSendPort, mShowConnections, mShowTransferRate, WsfXIO_InputData::UDP_Target::mType, mUDP_Targets, and ProcessInputEvent.
| WsfStringId WsfXIO_InputData::mApplicationName |
The current application's name.
Referenced by WsfXIO_Interface::GetApplicationName(), ProcessInput(), WsfXIO_Interface::SetApplicationName(), and WsfXIO_InputData().
| std::set<int> WsfXIO_InputData::mApplicationTypeFilter |
Set of application types to connect with automatically.
Referenced by AddConnectType().
| std::vector<WsfXIO_EntityId> WsfXIO_InputData::mAutoMappedApplications |
Referenced by WsfXIO_DisExtension::Initialize(), and ProcessInput().
| bool WsfXIO_InputData::mAutoMappingDefault |
Referenced by WsfXIO_DisExtension::Initialize(), ProcessInput(), and WsfXIO_InputData().
| bool WsfXIO_InputData::mAuxDataUpdates = true |
Referenced by ProcessInput().
| bool WsfXIO_InputData::mDebugEnabled |
| ut::optional<double> WsfXIO_InputData::mFallingBehindThreshold |
Referenced by ProcessInput().
| double WsfXIO_InputData::mHeartbeatInterval |
Referenced by WsfXIO_Interface::AdvanceTime(), ProcessInput(), and WsfXIO_InputData().
| bool WsfXIO_InputData::mInterfaceRequested |
true if user has requested the XIO interface
Referenced by WsfXIO_Interface::AddUDP_Target(), WsfXIO_Interface::Initialize(), WsfXIO_Interface::IsXIO_Requested(), ProcessInput(), WsfXIO_Interface::SetXIO_Requested(), and WsfXIO_InputData().
| bool WsfXIO_InputData::mMulticastLoopback |
Determines if sent multicast can be received on the local machine.
Referenced by ProcessInput(), and WsfXIO_InputData().
| int WsfXIO_InputData::mMulticastTimeToLive |
Time to live for multicast connections.
Referenced by ProcessInput(), and WsfXIO_InputData().
| bool WsfXIO_InputData::mPauseForConnection |
Referenced by ProcessInput(), and WsfXIO_InputData().
| int WsfXIO_InputData::mPublisherDebugLevel |
Referenced by ProcessInput(), WsfXIO_InputData(), and WsfXIO_Interface::WsfXIO_Interface().
| std::vector<WsfXIO_EntityId> WsfXIO_InputData::mRegularApplications |
Referenced by ProcessInput().
| bool WsfXIO_InputData::mShowConnections |
| bool WsfXIO_InputData::mShowTransferRate |
Referenced by WsfXIO_Interface::AdvanceTime(), ProcessInput(), and WsfXIO_InputData().
| int WsfXIO_InputData::mTCP_Port |
Socket port used to receive TCP connections.
Referenced by WsfXIO_Interface::Initialize(), and WsfXIO_InputData().
| std::vector<UDP_Target> WsfXIO_InputData::mUDP_Targets |
Contains user input UDP target information.
Referenced by WsfXIO_Interface::AddUDP_Target(), WsfXIO_Interface::GetUDP_Targets(), WsfXIO_Interface::Initialize(), ProcessInput(), and WsfXIO_Interface::RemoveUDP_Target().
| InputCallbackList WsfXIO_InputData::ProcessInputEvent |
XIO extenders can subscribe to this to add additional input into the 'xio_interface' block.
Referenced by ProcessInput().