IAlgorithmContext Class Referenceabstract
Exectution context for algorithm objects. More...
Inherits IKernelObject.
Public Member Functions | |
virtual OpenViBE::Kernel::IConfigurationManager & | getConfigurationManager (void)=0 |
Gets a reference on the current configuration manager. More... | |
virtual OpenViBE::Kernel::IAlgorithmManager & | getAlgorithmManager (void)=0 |
Gets a reference on the current algorithm manager. More... | |
virtual OpenViBE::Kernel::ILogManager & | getLogManager (void)=0 |
Gets a reference on the current log manager. More... | |
virtual OpenViBE::Kernel::ITypeManager & | getTypeManager (void)=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... | |
Detailed Description
Member Function Documentation
|
pure virtual |
Gets a reference on the current configuration manager.
- Returns
- a reference on the configuration manager
|
pure virtual |
Gets a reference on the current algorithm manager.
- Returns
- a reference on the algorithm manager
|
pure virtual |
Gets a reference on the current log manager.
- Returns
- a reference on the current log manager
|
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
