template<typename DATA, typename SIM_EXTENSION>
class wsf::event::output::ScenarioExtension< DATA, SIM_EXTENSION >
A base class template for scenario extensions that process "event output" configuration and register a corresponding simulation extension.
- Template Parameters
-
| DATA | specifies the data type that stores the configuration, which must derive from Data and can provide a ProcessInput function to read input. |
| SIM_EXTENSION | specifies the simulation extension that is registered, which must derive from SimulationExtension and whose constructor must take a single argument of type DATA. |
template<typename DATA, typename SIM_EXTENSION>
Process potential input for the extension. This method examines the current input command to determine if it is one that is recognized by the extension. If it is one recognized by the extension then it processes the command and returns 'true', otherwise it returns 'false'.
- Parameters
-
| aInput | a reference to a UtInput object. |
- Returns
- 'true' if the command was one recognized by the extension or 'false' if not.
- Exceptions
-
| UtInput::ExceptionBase | (or an object derived from it) if the command was recognized but contains some sort of error. |
Reimplemented from WsfScenarioExtension.
References WsfExtension::GetExtensionName().