ADTF  3.18.2
cTriggerFunction
Inheritance diagram for cTriggerFunction:
[legend]

Public Member Functions

 cTriggerFunction (const char *strName)
 
void SetName (const char *strName)
 
tResult GetName (base::ant::IString &&strName) const
 
tResult Register (streaming::flash::ISampleReader &oReader)
 
tResult Register (streaming::flash::ISampleReader &oReader, const char *strName, const char *strDDLStruct)
 
tResult Register (streaming::flash::ISampleReader &oReader, const char *strName, const ucom::ant::iobject_ptr< const adtf::streaming::ant::IStreamType > &poStreamType)
 
tResult Register (streaming::flash::ISampleReader &oReader, const char *strName, const adtf::streaming::ant::IStreamType &oStreamType)
 
tResult Register (streaming::flash::ISampleWriter &oWriter)
 
tResult Register (streaming::flash::ISampleWriter &oWriter, const char *strName, const char *strDDLStruct)
 
tResult Register (streaming::flash::ISampleWriter &oWriter, const char *strName, const ucom::ant::iobject_ptr< const adtf::streaming::ant::IStreamType > &poStreamType)
 
tResult Register (streaming::flash::ISampleWriter &oWriter, const char *strName, const streaming::ant::IStreamType &oStreamType)
 
virtual tResult SetFilter (cFilter &oFilter)
 
virtual tResult ConnectReadersAndWriters (cFilter &oFilter)
 
virtual tResult Configure ()
 
virtual tResult ProcessInputs (tTimeStamp tmTime)
 
virtual tResult Process (tTimeStamp tmTime)
 
virtual tResult ProcessOutputs (tTimeStamp tmTime)
 
virtual tResult ProcessInputs (base::flash::tNanoSeconds tmTime)
 
virtual tResult Process (base::flash::tNanoSeconds tmTime)
 
virtual tResult ProcessOutputs (base::flash::tNanoSeconds tmTime)
 
tResult Run (base::flash::tNanoSeconds tmTimeofActivation, base::ant::IRunnable::tActivationType ui32ActivationType, const void *pvUserData, size_t nUserDataSize) override
 The Run method to set the component in running state. More...
 
- Public Member Functions inherited from configuration< Interface >
 configuration ()
 CTOR.
 
virtual ~configuration ()=default
 DTOR.
 
tResult GetProperties (adtf::ucom::ant::iobject_ptr< const IProperties > &pProperties) const override
 Gets the configuration with only read access. More...
 
tResult GetProperties (adtf::ucom::ant::iobject_ptr< IProperties > &pProperties) override
 Gets the properties of configuration with only read/write access. More...
 
tResult AttachConfiguration (const char *strName, IConfiguration &pAttachedConfiguration) override
 
tResult DetachConfiguration (const char *strName) override
 
tResult RegisterPropertyVariable (const char *strName, cPropertyVariable &oPropertyVariable)
 
tResult UnregisterPropertyVariable (cPropertyVariable &oPropertyVariable)
 
- Public Member Functions inherited from object< IConfiguration, IConfiguration >
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object. More...
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying. More...
 
void Destroy () const override
 Destruct and deallocate instantiations of type IObject. More...
 
- Public Member Functions inherited from IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 Marks the IObject to be castable with the ucom_cast() More...
 
- Public Member Functions inherited from IRunnable
 ADTF_IID (IRunnable, "runnable.flash.base.adtf.iid")
 defintion of interface id
 

Private Attributes

std::unique_ptr< cImplementation > m_pImplementation
 

Additional Inherited Members

- Public Types inherited from IRunnable
typedef std::function< tResult(tNanoSeconds)> tRunFunction
 Type defintion of the function used to implement Run.
 
typedef ant::IRunnable::tActivationType tActivationType
 
- Protected Member Functions inherited from IObject
 ~IObject ()=default
 Protected destructor --> Use implemented Destroy() instead of delete!
 
- Protected Member Functions inherited from IRunnable
 ~IRunnable ()=default
 not destructable
 
- Protected Attributes inherited from configuration< Interface >
adtf::ucom::object_ptr< spider::cPropertiesm_pProperties = nullptr
 the current runtiem property set
 

Detailed Description

Definition at line 181 of file triggerfunction_base.h.

Member Function Documentation

◆ Run()

tResult Run ( base::flash::tNanoSeconds  tmTimeofActivation,
base::ant::IRunnable::tActivationType  ui32ActivationType,
const void *  pvUserData,
size_t  nUserDataSize 
)
overridevirtual

The Run method to set the component in running state.

This method will be called to activate the component by a given activation type.

Parameters
[in]tmTimeofActivationTime of activation. Usually this is the StreamTime.
[in]ui32ActivationTypeThe activation type for running.
[in]pvUserDatapointer to a activation structure depending on the activation type.
[in]nUserDataSizeSize of the activation structure. (in byte)
Returns
Standard result code.
Return values
ERR_CANCELEDDepending on the caller (timer, cyclic thread) it will break cyclic running.

Implements IRunnable.