IAlgorithmContext Class Referenceabstract
Exectution context for algorithm objects. More...
Inheritance diagram for IAlgorithmContext:
Public Member Functions | |
virtual OpenViBE::Kernel::IConfigurationManager & | getConfigurationManager (void) const =0 |
Gets a reference on the current configuration manager. More... | |
virtual OpenViBE::Kernel::IAlgorithmManager & | getAlgorithmManager (void) const =0 |
Gets a reference on the current algorithm manager. More... | |
virtual OpenViBE::Kernel::ILogManager & | getLogManager (void) const =0 |
Gets a reference on the current log manager. More... | |
virtual OpenViBE::Kernel::IErrorManager & | getErrorManager (void) const =0 |
Gets a reference on the current error manager. More... | |
virtual OpenViBE::Kernel::ITypeManager & | getTypeManager (void) const =0 |
Gets a reference on the current type manager. More... | |
Input parameters | |
virtual OpenViBE::CIdentifier | getNextInputParameterIdentifier (const OpenViBE::CIdentifier &rPreviousInputParameterIdentifier) const =0 |
Gets next input parameter identifier given the previous input parameter. More... | |
virtual OpenViBE::Kernel::IParameter * | getInputParameter (const OpenViBE::CIdentifier &rInputParameterIdentifier)=0 |
Gets the parameter details of a specific input parameter. More... | |
Output parameters | |
virtual OpenViBE::CIdentifier | getNextOutputParameterIdentifier (const OpenViBE::CIdentifier &rPreviousOutputParameterIdentifier) const =0 |
Gets next output parameter identifier given the previous output parameter. More... | |
virtual OpenViBE::Kernel::IParameter * | getOutputParameter (const OpenViBE::CIdentifier &rOutputParameterIdentifier)=0 |
Gets the parameter details of a specific output parameter. More... | |
Trigger management | |
virtual OpenViBE::boolean | isInputTriggerActive (const OpenViBE::CIdentifier &rInputTriggerIdentifier) const =0 |
Tests whether an input trigger is activated or not. More... | |
virtual OpenViBE::boolean | activateOutputTrigger (const OpenViBE::CIdentifier &rOutputTriggerIdentifier, const OpenViBE::boolean bTriggerState)=0 |
Activates an output trigger before calling the processing function. More... | |
Public Member Functions inherited from IObject | |
virtual OpenViBE::CIdentifier | getClassIdentifier (void) const =0 |
Returns the final class identifier of the concrete class. More... | |
virtual OpenViBE::boolean | isDerivedFromClass (const OpenViBE::CIdentifier &rClassIdentifier) const |
Checks if this object is compatible with a class identifier. More... | |
virtual OpenViBE::boolean | acceptVisitor (OpenViBE::IObjectVisitor &rObjectVisitor) |
Requests this object to accept a visitor. More... | |
Detailed Description
Member Function Documentation
|
pure virtual |
Gets a reference on the current configuration manager.
- Returns
- a reference on the configuration manager
- Warning
- The algorithm should not use this reference after it has finished its work, it could be deprecated.
|
pure virtual |
Gets a reference on the current algorithm manager.
- Returns
- a reference on the algorithm manager
- Warning
- The algorithm should not use this reference after it has finished its work, it could be deprecated.
|
pure virtual |
Gets a reference on the current log manager.
- Returns
- a reference on the current log manager
- Warning
- The algorithm should not use this reference after it has finished its work, it could be deprecated.
|
pure virtual |
Gets a reference on the current error manager.
- Returns
- a reference on the current error manager
- Warning
- The algorithm should not use this reference after it has finished its work, it could be deprecated.
|
pure virtual |
Gets a reference on the current type manager.
- Returns
- a reference on the current type manager
|
pure virtual |
Gets next input parameter identifier given the previous input parameter.
- Parameters
-
rPreviousInputParameterIdentifier [in] : the previous input parameter
- Returns
- the next input parameter identifier if existing.
-
OV_UndefinedIdentifier
if the previous was the last input parameter identifier.
- Note
- Passing
OV_UndefinedIdentifier
asrPreviousInputParameterIdentifier
will cause this function to return the firs input parameter identifier.
|
pure virtual |
Gets the parameter details of a specific input parameter.
- Parameters
-
rInputParameterIdentifier [in] : the identifier of the parameter which details should be returned
- Returns
- the parameter pointer that corresponds to the provided identifier.
-
NULL
in case of error.
|
pure virtual |
Gets next output parameter identifier given the previous output parameter.
- Parameters
-
rPreviousOutputParameterIdentifier [in] : the previous output parameter
- Returns
- the next output parameter identifier if existing.
-
OV_UndefinedIdentifier
if the previous was the last output parameter identifier.
- Note
- Passing
OV_UndefinedIdentifier
asrPreviousOutputParameterIdentifier
will cause this function to return the firs output parameter identifier.
|
pure virtual |
Gets the parameter details of a specific output parameter.
- Parameters
-
rOutputParameterIdentifier [in] : the identifier of the parameter which details should be returned
- Returns
- the parameter pointer that corresponds to the provided identifier.
-
NULL
in case of error.
|
pure virtual |
Tests whether an input trigger is activated or not.
- Parameters
-
rInputTriggerIdentifier [in] : the identifier of the input trigger which activation status should be returned
- Returns
- true if the provided trigger is currently active.
- false if the provided trigger is not currently active or does not exist.
|
pure virtual |
Activates an output trigger before calling the processing function.
- Parameters
-
rOutputTriggerIdentifier [in] : the identifier of the output to activate bTriggerState [in]: the new trigger state this output trigger should take (true for active, false for inactive)
- Returns
- true in case the state was correctly changed.
- false in case the state was not changed or the provided trigger identifier does not exist.
Generated on Tue Jun 26 2012 15:25:54 for Documentation by 1.7.4