|
WSF
|
#include <WsfXIO_Extension.hpp>
Access to primary XIO objects created by the XIO extension. | |
Applications that use WSF_REGISTER_EXTENSION to request XIO services can use these methods to gain access to the XIO objects created by the extension. This is sometimes needed to force specific input values or to register new packet types. | |
| static WSF_EXPORT WsfXIO_InputData * | Find (const WsfScenario &aScenario) |
| Return a pointer to the WsfXIO_InputData object for a given scenario. | |
| static WSF_EXPORT WsfXIO_Interface * | Find (const WsfSimulation &aSimulation) |
| Return a pointer to the WsfXIO_Interface object for a given simulation. | |
Access to lower level objects. | |
These are typically used internally by the XIO simulation components. | |
| static WSF_EXPORT WsfXIO_Simulation * | FindSimulation (const WsfSimulation &aSimulation) |
| Return a pointer to the WsfXIO_Simulation object for a given simulation. | |
| static WSF_EXPORT WsfXIO_DisExtension * | FindDisExtension (const WsfSimulation &aSimulation) |
| Return a pointer to the WsfXIO_DisExtension object for a given simulation. | |
Register the XIO application extension in a WSF application. A WSF application registers the XIO interface by including the following in their code:
NOTE: You do not need to include this file to do the above.
This will register the scenario extension to process the 'xio_interface' block. If the scenario input includes a non-trivial 'xio_interface' block the extension will then register a simulation extension that provides all the XIO simulation services.
The static methods in this class simply provide access to the various low level components.
|
static |
Return a pointer to the WsfXIO_InputData object for a given scenario.
References WsfScenario::FindExtension().
Referenced by wsf::xio::EventPipe::EventPipe().
|
static |
Return a pointer to the WsfXIO_Interface object for a given simulation.
References WsfSimulation::FindExtension().
|
static |
Return a pointer to the WsfXIO_DisExtension object for a given simulation.
References WsfSimulation::FindExtension().
|
static |
Return a pointer to the WsfXIO_Simulation object for a given simulation.
References WsfSimulation::FindExtension().