Default implementation for the IRuntimeBehaviour. More...
#include <runtime_behaviour.h>
Public Member Functions | |
tResult | GetRunners (ucom::ant::iobject_list< IRunner > &lstRunners) const |
copydoc IRuntimeBehaviour::GetRunners | |
tResult | FindRunner (const char *strName, ucom::ant::iobject_ptr< ucom::ant::IObject > &pRunner) const |
copydoc IRuntimeBehaviour::FindRunner | |
tResult | GetInnerPipes (ucom::ant::iobject_list< ITriggerPipe > &lstInnerpTriggerPipe) const |
copydoc IRuntimeBehaviour::GetInnerPipes | |
virtual tResult | RegisterRunner (const ucom::ant::iobject_ptr< IRunner > &pRunner) |
Registers and publishes a IRunner object to the IRuntimeBehaviour. | |
virtual tResult | RegisterRunner (const char *strName, base::ant::IRunnable &oRunnable) |
Create and Registers a IRunner object for your oRunnable with the name strName . | |
virtual tResult | UnregisterRunner (const ucom::ant::iobject_ptr< IRunner > &pRunner) |
Unregisters a Runner. | |
tResult | ReleaseRunners () |
Release every registered Runners. | |
virtual tResult | RegisterInnerPipe (const ucom::ant::iobject_ptr< ITriggerPipe > &pTriggerPipe) |
Registers and publishes an inner ITriggerPipe object to the IRuntimeBehaviour. | |
virtual tResult | UnregisterInnerPipe (const ucom::ant::iobject_ptr< ITriggerPipe > &pTriggerPipe) |
Unregisters an inner ITriggerPipe object. | |
tResult | ReleaseTriggerPipes () |
Release and unregister every registered TriggerPipes. | |
Protected Member Functions | |
cRuntimeBehaviour () | |
CTOR. | |
virtual | ~cRuntimeBehaviour () |
DTOR. | |
Private Member Functions | |
A_UTILS_D (cRuntimeBehaviour) | |
private _d-pointer | |
Default implementation for the IRuntimeBehaviour.
Definition at line 21 of file runtime_behaviour.h.
|
virtual |
Registers and publishes an inner ITriggerPipe object to the IRuntimeBehaviour.
pTriggerPipe | [in] The ITriggerPipe to register. |
Reimplemented in cSampleStreamingSink.
Referenced by cFilterBase::SetState(), and cSampleStreamingSink::StopStreaming().
|
virtual |
Create and Registers a IRunner object for your oRunnable
with the name strName
.
strName | [in] Name of the Runner to create and register. |
oRunnable | [in] The reference to the Runnable implemetation which will be called. |
oRunnable
lives as long the runner is registered.ERR_INVALID_ARG | A Runner with the same name is already registered. |
Reimplemented in cGraphObject, and cSampleStreamingSink.
|
virtual |
Registers and publishes a IRunner object to the IRuntimeBehaviour.
This makes sure the runner is only registered once. The Runner has to have a name already set. You can not register a Runner with the same name twice.
pRunner | [in] The object reference to the Runner which will be published. |
ERR_INVALID_ARG | A Runner with the same name is already registered. |
Reimplemented in cGraphObject, and cSampleStreamingSink.
Referenced by cFilterBase::SetState(), and cSampleStreamingSink::StopStreaming().
tResult ReleaseRunners | ( | ) |
Release every registered Runners.
tResult ReleaseTriggerPipes | ( | ) |
Release and unregister every registered TriggerPipes.
|
virtual |
Unregisters an inner ITriggerPipe object.
pTriggerPipe | [in] The ITriggerPipe to unregister. |
|
virtual |
Unregisters a Runner.
pRunner | [in] The object reference to the Runner which will be unregistered. |
ERR_INVALID_ARG | A Runner with the same name is already registered. |