ADTF
|
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0. More...
Namespaces | |
detail | |
Namespace for internal functionality. | |
imageformat_definition | |
Namespace to sort pixelformat descriptions. | |
Classes | |
class | cBindingProxyOutPort |
The Default implementation of the IBindingProxy interface. More... | |
class | IBindingProxyInPort |
A Filter Graph will expect any stream from the outside world. More... | |
class | IBindingProxyOutPort |
A Filter Graph will send any stream to the outside world. More... | |
class | cDataBinding |
The cFilter class implements a basic filter that supports the IFilter and IPinEventSink interfaces. More... | |
class | data_binding |
Template class for the default implementation of IDataBinding. More... | |
class | IDataBinding |
The IDataBinding interfaces provides methods for retrive information of the Pins published. More... | |
class | IDynamicDataBinding |
This interface extends the IDatabinding Interface to provide dynamic pin creation while connection are established within Streaming Graph and Filter Graph. More... | |
class | IFilter |
The IFilter interfaces provides methods for controlling a filter. More... | |
class | cFilterLevelmachine |
The Default Filter Level State Machine. More... | |
class | cFilterBase |
The cFilterBase class implements a basic filter that supports the ant::IFilter interfaces. More... | |
class | cFilterGraph |
Default implementation for the IFilterGraph interface. More... | |
class | IFilterGraph |
Defines the Interface used to connect Filters to each other. More... | |
class | IFilterGraphConnection |
Interface to describe a connection within the IFilterGraph. More... | |
class | cFilterGraphDataInPort |
The Default implementation of the DataInPort. More... | |
class | cFilterGraphDataOutPort |
The Default implementation of the IFilterGraphDataOutPort. More... | |
class | cFilterGraphServerPort |
Default implementation of a ServerPort . More... | |
class | cFilterGraphClientPort |
Default implementation of a ClientPort. More... | |
class | cFilterGraphRunnerPort |
Default implementation of a RunnerPort. More... | |
class | IFilterGraphPort |
Common interface for a FilterGraph Port that allows to connect to a IFilterGraph. More... | |
class | IFilterGraphRunnerPort |
Interface for a Filtergraph Runner Port that provides a IRunner as connectable item. More... | |
class | IFilterGraphDataPort |
Common interface for a FilterGraph Port that allows to connect to a IFilterGraph with SampleStreams. More... | |
class | IFilterGraphDataInPort |
Interface for a Filtergraph Data In Port that provides a IInPin as connectable item. More... | |
class | IFilterGraphDataOutPort |
Interface for a Filtergraph Data Out Port that provides a IOutPin as connectable item. More... | |
class | IFilterGraphInterfacePort |
Common interface for a FilterGraph Port that allows to connect to a IFilterGraph with BindingObjects. More... | |
class | IFilterGraphInterfaceClientPort |
Interface for a Filtergraph Client Port that provides a IBindingClient as connectable item. More... | |
class | IFilterGraphInterfaceServerPort |
Interface for a Filtergraph Server Port that provides a IBindingServer as connectable item. More... | |
class | cGraph |
Default implementation for the IFilterGraph interface. More... | |
class | graph |
Generator Template to create a graph implementation. More... | |
class | graph_connection |
class | IGraphConnection |
Interface to describe a connection within the IGraph. More... | |
class | IGraph |
Defines the Interface used to connect Items to each other. More... | |
class | IInPin |
Type Interface for an InPin of the IDataBinding. More... | |
class | cInterfaceBinding |
Default IInterfaceBinding implementation. More... | |
class | interface_binding |
Template class for the default implementation of IInterfaceBinding. More... | |
class | IBindingClient |
This interface defines a dynamic binding object. More... | |
class | IInterfaceBinding |
The IInterfaceBinding provides an interface to implement and access a common dynamic binding object registry. More... | |
class | IDynamicInterfaceBinding |
This interface extends the IInterfaceBinding Interface to provide dynamic binding object creation while connection are established within Streaming Graph and Filter Graph. More... | |
class | cBindingServer |
Default Implementation of IBindingServer for a BindingObject that is able to connect to a IBindingProxy. More... | |
class | cBindingClient |
Default Implementation of adtf::IDynamicBindingObject for one binding object that is able to connect to exactly one server object. More... | |
class | IBindingObject |
This interface defines a dynamic binding object. More... | |
class | binding_proxy |
This default class implementation will halp to define a Default InterfaceBindingProxy. More... | |
class | cDefaultBindingProxy |
The Default implementation of the IBindingProxy interface. More... | |
class | IBindingProxy |
This interface defines a dynamic binding object. More... | |
class | IBindingServer |
This interface defines a dynamic binding object. More... | |
class | cBindingType |
The BindingType default implementation. More... | |
class | binding_type |
Binding type generation template to initialize a BindingType with the information of the INTERFACE type. More... | |
class | IBindingType |
The Dynamic Binding type is to describe the IBindingType. More... | |
class | named_graph_object |
Default convenient implementation for INamedGraphObject. More... | |
class | INamedGraphObject |
Interface for a NamedGraphObject which can be added to the FilterGraph. More... | |
class | IOutPin |
Type Interface for an OutPin of the IDataBinding. More... | |
class | cInPin |
The cInputPin class implements basic functionality specified by the IInPin interface. More... | |
class | cOutPin |
The cOutPin class implements basic functionality specified by the IOutPin interface. More... | |
class | cConfigurableInPin |
The class provides a input Pin implemenation that offers an adtf::base::ant::IConfiguration interface. More... | |
class | cConfigurableOutPin |
The class provides a output Pin implemenation that offers an adtf::base::ant::IConfiguration interface. More... | |
class | IPin |
Pin Interface for the IDataBinding. More... | |
class | cRunner |
Default and simple Runner implementation. More... | |
class | IRunner |
The Interface defines a runnable item of the GraphObjects providing a IRuntimeBehaviour. More... | |
class | IActiveRunner |
The Interface defines an Active Runner Intem which can be part of the IFilterGraph. More... | |
class | cRuntimeBehaviour |
Default implementation for the IRuntimeBehaviour. More... | |
class | runtime_behaviour |
Default Class Template for a Runtime Behaviour implementation. More... | |
class | IRuntimeBehaviour |
The RuntimeBehaviour interface is to clearly define a filters running entry points (IRunner) and their interconnection to each other (ITriggerPipe). More... | |
class | cSample |
The cSample class implements a basic sample which contains streaming data. More... | |
class | cReferenceSample |
Sample that uses samples buffers that do not copy the data, but only keep a reference to it. More... | |
class | cLastSamplesCollector |
A class that collects the last samples from multiple sample readers. More... | |
class | cSampleSetCollector |
A class that collects the sample sets from multiple sample readers. More... | |
class | cTimeBasedSampleSetCollector |
A class that collects the sample sets from multiple sample readers. More... | |
class | sample_data |
Sample Data getter for an easy use of samples with samplebuffer set to the type T. More... | |
class | ISample |
The ISample interface sets and retrieves properties on samples . More... | |
class | ISampleSerialization |
Interface for serializing samples. More... | |
class | ISampleBuffer |
The SampleBuffer is the memory block object for the data of a ISample. More... | |
class | ISampleBufferFactory |
The SampleBuffer factory manages and can create SampleBuffers. More... | |
class | ISampleInfo |
Interface for additional sample information on a Additional Sample Information. More... | |
class | ISampleInStream |
The ISampleInStream interface is return by the ISampleStream::Open call which allows to read from a corresponding reader of the opened ISampleStream instance. More... | |
class | ISampleLog |
The ISampleLog interface defines an interface to trace and store Sample data- and timing flow. More... | |
class | cSampleLogEntry |
Helper Wrapper Class to handle a Sample Log Entry. More... | |
class | cSampleLogEntryTransmitReceiveStateBuffer |
Helper Wrapper Class to handle the additional Data entry of the Log Event ISampleLog::MSLEE_TransmitReceiveState . More... | |
class | cSampleLogEntryList |
Helper class to serialize and handle an ISampleLog. More... | |
class | ISampleOutStream |
The ISampleOutStream interface is return by the ISampleStream::Open call which allows to write into a corresponding writers queue of the opened ISampleStream instance. More... | |
struct | cSampleQueueCompareByTime |
Defines the structure for the SampleQueue Insert Compare. More... | |
class | cSampleQueue |
A simple Sample Queue that hold Samples in a sorted way by time. More... | |
class | ISampleQueueEventSink |
The ISampleQueueEventSink provides methods to act upon sample queue events emitted by a sample queue. More... | |
class | ISampleQueue |
The ISampleQueue Interface provides methods for manipulating a queue of samples. More... | |
class | sample_streamer |
Helper template can be used to implement ISampleStreamer. More... | |
class | cSampleReader |
The default Sample Reader will read the incomung Stream of a IInPin. More... | |
class | cExternalQueueSampleReader |
Sample reader which allows the registration of external queue. More... | |
class | cLastSampleReader |
Sample reader which always provides the last successful received sample. More... | |
class | cDynamicSampleReaderQueue |
Implementation of a adtf::streaming::ant::ISampleReaderQueue with dynamic growing sample queue. More... | |
class | cLimitedSampleReaderQueue |
class | size_limited_sample_reader_queue |
class | time_limited_sample_reader_queue |
class | sample_reader |
A Possible Sample Reader of a Trigger Function! Sample reader with a internal queue, used for ISampleStreamAccess::PushRead! Make sure the trigger function empties the queue!! More... | |
class | cExternelQueueSampleReader |
Sample reader which allows the registration of external queue. More... | |
class | sample_stream |
Helper template to implement a ISampleStream or a ISampleStream derived interface. More... | |
class | cSampleStream |
The Default implementation of the ISampleStream interface. More... | |
class | ISampleStream |
Interface of the SampleStream. More... | |
class | ISampleStreamAccess |
Access definiton for the ISampleStream::Open. More... | |
class | ISampleStreamer |
Local Sample Streamer Interface. More... | |
class | ISampleReader |
Sample Reader interface is to opens a Sample Stream for reading. More... | |
class | ISampleWriter |
Sample Wiriter interface is to opens a Sample Stream for writing. More... | |
class | ISampleReaderQueue |
Interface to create a sample reader buffer. More... | |
class | cSampleStreamInPort |
The Default implementation of the ISampleStream interface. More... | |
class | cSampleStreamOutPort |
The Default implementation of the ISampleStream interface. More... | |
class | ISampleStreamInPort |
A Filter Graph will expect any stream from the outside world. More... | |
class | ISampleStreamOutPort |
A Filter Graph will send any stream to the outside world. More... | |
class | cSampleWriter |
This base implementation of a sample writer is able to write to one Sample Stream which is connected to ONE cOutPin. More... | |
class | sample_writer |
Specialized Sample Writer to write DATA of type DATA_TYPE . More... | |
struct | tStreamImageFormat |
Simple Stream Type and Stream Meta Type definition for video frames or an image sequence as a convenience stucture. More... | |
class | cStreamingGraph |
class | IStreamingPort |
Streaming Ports are alias defintion for system borders. More... | |
class | IStreamingInPort |
Streaming In Ports classifies a system border for incoming connections. More... | |
class | IStreamingOutPort |
Streaming Out Ports classifies a system border for outgoing connections. More... | |
class | IStreamingGraph |
Interface defintion for a Streaming Graph. More... | |
class | cSampleStreamingSink |
Basic implementation for a Streaming Sink. More... | |
class | IStreamingSink |
The Interface classifies a IStreamingService as Sink. More... | |
class | ISampleStreamingSink |
Interface for Streaming Sink. More... | |
class | streaming_level_machine |
The Streaming Service Level Machine implementation. More... | |
class | cSampleStreamingSource |
Basic implementation for a Streaming Source. More... | |
class | IStreamingService |
Basic sec_streaming_service interface to set the state of an IStreamingService. More... | |
class | IStreamingSource |
The Interface classifies a IStreamingService as Source. More... | |
class | ISampleStreamingSource |
Interface for Streaming Source. More... | |
class | IStreamItem |
The IStreamItem interface is the base type for all object which are passed through a stream. More... | |
class | cStreamItem |
Default implementation of an StreamItem as container of the Sample Stream s Queue. More... | |
struct | stream_meta_type_anonymous |
Use this Stream Meta Type only if no property should be set and you do not share and record these data. More... | |
struct | stream_meta_type_audio |
Use this Stream Meta Type for describing a audio stream with samples and sample rate. More... | |
struct | stream_meta_type_image |
Use this Stream Meta Type for describing a video stream with single frames and there format and set the values with set_stream_type_image_format. More... | |
struct | stream_meta_type_plain |
Use this Stream Meta Type if your sample data will be any of this type: bool, uint8_t, int8_t, uint16_t, int16_t, uint32_t, int32_t, uint64_t, int64_t, float or double. More... | |
class | stream_type_plain |
Generator template to create an instance of a ant::IStreamType class for ant::stream_meta_type_plain ("adtf/plaintype"). More... | |
class | cStreamMetaType |
Implements the default adtf::streaming::ant::IStreamMetaType interface. More... | |
class | stream_meta_type |
Generator template stream_meta_type to create a StreamMetaType Class for the Type T. More... | |
class | cStreamType |
Default StreamType implementation. More... | |
class | IStreamMetaType |
Defines access methods for a Stream Meta Type - see also Stream Type and Stream Meta Type for more information. More... | |
class | IStreamType |
Defines access methods for the interface of a Stream Type - see also Stream Type and Stream Meta Type for more information. More... | |
class | trigger_pipe_source |
Default implementation class template for a ITriggerPipeSource. More... | |
class | trigger_pipe_item |
Default implementation class template for a ITriggerPipeItem. More... | |
class | ITriggerPipeSource |
Interface that defines a TriggerPipeSource, which is able to send a Run (RUN::TIrgger) call to the registered TriggerPipeItems. More... | |
class | ITriggerPipeItem |
Interface for objects which can participate a ITriggerPipe. More... | |
class | ITriggerPipe |
Interface a Trigger Pipe. More... | |
Typedefs | |
using | cDynamicSampleReader = sample_reader< cDynamicSampleReaderQueue > |
The cDynamicSampleReader will create a sample reader which will create a internal sample queue with unlimited size. More... | |
template<tTimeStamp TIME_RANGE, bool STORELASTSAMPLE = true> | |
using | time_limited_sample_reader = sample_reader< time_limited_sample_reader_queue< TIME_RANGE >, STORELASTSAMPLE > |
The time_limited_sample_reader will create a sample reader which will create a internal sample queue that is time limited by the given TimeRange . More... | |
template<size_t MAX_SIZE, bool STORELASTSAMPLE = true> | |
using | size_limited_sample_reader = sample_reader< size_limited_sample_reader_queue< MAX_SIZE >, STORELASTSAMPLE > |
The size_limited_sample_reader will create a sample reader which will create a internal sample queue that is sample count item limited by the given TimeRange . More... | |
using | cSingleSampleReader = size_limited_sample_reader< 1 > |
The cSingleSampleReader will create a sample reader which will create a internal sample queue with only one sample which holds the last received sample always. | |
typedef adtf_util::stack_string_base< ADTF_STREAMING_DEFAULT_SIZE_OF_STREAM_IMAGE_FORMATNAME, adtf_util::assert_out_of_range > | cStreamFormatStorageType |
formatname storage type (max byte size defined by ADTF_STREAMING_DEFAULT_SIZE_OF_STREAM_IMAGE_FORMATNAME) | |
typedef adtf_util::string_base< cStreamFormatStorageType > | tStreamImageFormatName |
formatname type as stack string (max byte size defined by ADTF_STREAMING_DEFAULT_SIZE_OF_STREAM_IMAGE_FORMATNAME) | |
Functions | |
template<typename DATABINDING_BEHAVIOUR_CLASS > | |
tResult | create_inner_pipe (DATABINDING_BEHAVIOUR_CLASS &oComponent, adtf_util::cStringList lstItems) |
Creates a Trigger Pipe and registers it at the given oFilter instance. More... | |
template<typename DATABINDING_BEHAVIOUR_CLASS > | |
tResult | create_inner_pipe (DATABINDING_BEHAVIOUR_CLASS &oComponent, const adtf_util::cString &strNameOfRunner, const adtf_util::cString &strSource, base::ant::runnable< base::ant::IRunnable::RUN_TRIGGER >::tRunFunction oRunFunc) |
Creates a Trigger Pipe and registers it at the given oFilter instance. More... | |
template<typename INTERFACE > | |
tResult | create_server (cFilterBase &oFilter, const char *strServerName, const adtf::ucom::iobject_ptr< INTERFACE > &pServerInterface) |
Creates a binding server object for the given INTERFACE type and register it on the cFilterBase instance. More... | |
template<typename INTERFACE > | |
tResult | create_client (cFilterBase &oFilter, const char *strClientName) |
Creates a binding client object for the given INTERFACE type and register it on the cFilterBase instance. More... | |
tResult | create_runner (cFilterBase &oFilter, const char *strNameOfRunner, adtf::base::ant::IRunnable &oRunnable) |
Creates a runner on the given cFilterBase and connect it to the given Runnable You only need to implement a Runnable. More... | |
tResult | add_piped_connections (IFilterGraph &oGraph, adtf_util::cStringList lstObjectNames, bool bSync=true) |
This is a helper function to create piped connections on the given FilterGraph instance oGraph . More... | |
tResult | add_paired_connections (IFilterGraph &oGraph, adtf_util::cStringList lstObjectNames, bool bSync=true) |
This is a helper function to create paired connections on the given FilterGraph instance oGraph . More... | |
tResult | get_filter_graph_object (const IFilterGraph &oGraph, ucom::ant::iobject_ptr< ucom::ant::IObject > &pObject) |
Retrieve the first item of the Filter Graph where the iobject_ptr::Reset returns ERR_NO_ERROR If pObject is used with adtf::ucom::object_ptr this method will return the first object of given INTERFACE of adtf::ucom::object_ptr<INTERFACE>. More... | |
tResult | get_filter_graph_objects (const IFilterGraph &oGraph, ucom::ant::iobject_enum< ucom::ant::IObject > &lstObjects) |
Iterates the named graph objects of the Filter Graph and calls iobject_enum::PushObject to the lstObjects . More... | |
tResult | get_named_graph_object_from_graph (IGraph &oGraph, const char *strName, ucom::ant::iobject_ptr< ucom::ant::IObject > &pObjectFound) |
Helper function to retrieve a graph object from a graph with fully qualified unique name of an object. More... | |
adtf_util::cString | get_named_graph_object_full_name (const INamedGraphObject &oGraphObject) |
Helper function to retrieve a full qualified unique name of an object registered in IFilterGraph. More... | |
adtf_util::cString | get_named_graph_object_full_name (const INamedGraphObject &oGraphObject, const char *strSeperator) |
Helper function to retrieve a full qualified unique name of an object registered in IFilterGraph. More... | |
template<typename DATA_BINDING_IMPL_TYPE > | |
tResult | create_pin (DATA_BINDING_IMPL_TYPE &oDataBindingImpl, cSampleWriter &oWriter, const char *strNameOfWriterAndPin, const ucom::iobject_ptr< const IStreamType > &pStreamType, ucom::iobject_ptr< IOutPin > &pPinCreated) |
Creates a cOutPin and registers it at the given oDataBindingImpl instance. More... | |
template<typename DATA_BINDING_IMPL_TYPE > | |
tResult | create_pin (DATA_BINDING_IMPL_TYPE &oDataBindingImpl, cSampleWriter &oWriter, const char *strNameOfWriterAndPin, const adtf::ucom::iobject_ptr< const IStreamType > &pStreamType) |
Creates a cOutPin and registers it at the given oDataBindingImpl instance. More... | |
template<typename DATA_BINDING_IMPL_TYPE > | |
tResult | create_pin (DATA_BINDING_IMPL_TYPE &oDataBindingImpl, cSampleWriter &oWriter, const char *strNameOfWriterAndPin, const adtf::ucom::iobject_ptr< IStreamType > &pStreamType) |
Creates a cOutPin and registers it at the given oDataBindingImpl instance. More... | |
template<typename DATA_BINDING_IMPL_TYPE > | |
tResult | create_pin (DATA_BINDING_IMPL_TYPE &oDataBindingImpl, cSampleReader &oReader, const char *strNameOfReaderAndPin, const ucom::iobject_ptr< const IStreamType > &pStreamType, ucom::iobject_ptr< IInPin > &pPinCreated) |
Creates a cInPin and registers it at the given oDataBindingImpl instance. More... | |
template<typename DATA_BINDING_IMPL_TYPE > | |
tResult | create_pin (DATA_BINDING_IMPL_TYPE &oDataBindingImpl, cSampleReader &oReader, const char *strNameOfReaderAndPin, const ucom::iobject_ptr< const IStreamType > &pStreamType) |
Creates a cInPin and registers it at the given oDataBindingImpl instance. More... | |
template<typename DATA_BINDING_IMPL_TYPE > | |
tResult | create_pin (DATA_BINDING_IMPL_TYPE &oDataBindingImpl, cSampleReader &oReader, const char *strNameOfReaderAndPin, const adtf::ucom::iobject_ptr< IStreamType > &pStreamType) |
Creates a cInPin and registers it at the given oDataBindingImpl instance. More... | |
tResult | alloc_sample (ucom::ant::iobject_ptr< ucom::ant::IObject > &pSampleObject, const char *strSampleCID) |
Helper Function to get a Sample Instance through the adtf::ucom::ant::IRuntime. More... | |
tResult | alloc_sample (ucom::ant::iobject_ptr< ucom::ant::IObject > &pSample, const char *strSampleCID, tTimeStamp nTimeStamp) |
Helper Function to get a Sample Instance through the adtf::ucom::ant::IRuntime. More... | |
tResult | alloc_sample (ucom::ant::iobject_ptr< ISample > &pSample) |
Helper Function to get a ISample Instance through the adtf::ucom::ant::IRuntime. More... | |
tResult | alloc_sample (ucom::ant::iobject_ptr< ISample > &pSample, tTimeStamp nTimeStamp) |
Helper Function to get a ISample Instance through the adtf::ucom::ant::IRuntime. More... | |
template<typename T > | |
tResult | read_from_sample (const ISample &oSample, T &oValue) |
Helper to read the value oValue from the sample oSample . More... | |
template<typename T > | |
tResult | write_to_sample (ISample &oSample, const T &oValue) |
Helper to write the value oValue to the sample oSample . More... | |
tResult | get_default_buffer_factory (adtf::ucom::iobject_ptr< ISampleBufferFactory > &pFactory) |
Creates and gets the default buffer factory (ISampleBufferFactory) based on new/delete. More... | |
tResult | get_reference_buffer_factory (adtf::ucom::iobject_ptr< ISampleBufferFactory > &pFactory) |
Creates and gets the a buffer factory that creates sample buffers that do not copy the data, but only keep a reference to it. More... | |
adtf::util::cVariant | get_sample_info (const ISampleInfo &oSampleInfo, const ISampleInfo::tHashKey &oHash, const adtf::util::cVariant oDefault) |
Retrieves a variant value for the hash key oHash out of the sample information oSampleInfo . More... | |
adtf::util::cVariant | get_sample_info (const ISampleInfo &oSampleInfo, const ISampleInfo::tHashKey &oHash) |
Retrieves a variant value for the hash key oHash out of the sample information oSampleInfo . More... | |
adtf::util::cVariant | get_sample_info (const ISample &oSample, const ISampleInfo::tHashKey &oHash, const adtf::util::cVariant oDefault) |
Retrieves a variant value for the hash key oHash out of the samples (oSample ) sample information. More... | |
adtf::util::cVariant | get_sample_info (const ISample &oSample, const ISampleInfo::tHashKey &oHash) |
Retrieves a variant value for the hash key oHash out of the samples (oSample ) sample information. More... | |
tResult | set_sample_info (ISampleInfo &oSampleInfo, const ISampleInfo::tHashKey &oHash, const adtf::util::cVariant oValue) |
Sets a variant value for the hash key oHash into the sample information oSampleInfo . More... | |
tResult | set_sample_info (ISample &oSample, const ISampleInfo::tHashKey &oHash, const adtf::util::cVariant oValue) |
Sets a variant value for the hash key oHash into the sample oSample sample information. More... | |
ISampleInfo::tHashKey | create_sample_info_hash_key (const char *strToHash) |
Generation of unambigious hash key for a string. More... | |
const ISampleInStream & | operator>> (const ISampleInStream &oStreamReader, IStreamItem &oItem) |
Streaming Operator>> to read a sample from the readers queue. More... | |
ISampleOutStream & | operator<< (ISampleOutStream &oStreamWriter, const adtf::ucom::ant::iobject_ptr< const ISample > &pSample) |
Streaming Operator<< to write a sample to a writers queue of the ISampleStream. More... | |
ISampleOutStream & | operator<< (ISampleOutStream &oStreamWriter, const adtf::ucom::ant::iobject_ptr< const IStreamType > &pStreamType) |
Streaming Operator<< to write a stream type to a writers queue of the ISampleStream. More... | |
ISampleOutStream & | operator<< (ISampleOutStream &oStreamWriter, const adtf::ucom::ant::iobject_ptr< IStreamType > &pStreamType) |
Streaming Operator<< to write an stream type to a writers queue of the ISampleStream. More... | |
ISampleOutStream & | operator<< (ISampleOutStream &oStreamWriter, ISampleOutStream &(*pStreamfunc)(ISampleOutStream &)) |
Streaming Operator<< to call a certain streaming function (manipulator), use i.e. More... | |
ISampleOutStream & | operator<< (ISampleOutStream &oStreamWriter, const tResult &oErr) |
Streaming Operator<< to write an Error to the ISampleStream. More... | |
cSampleReader & | operator>> (cSampleReader &oSampleReader, ucom::ant::iobject_ptr< const ISample > &pSample) |
::* Streaming Operator>> to get the next sample from the cSampleReader More... | |
template<typename DATATYPE > | |
cSampleReader & | operator>> (cSampleReader &oSampleReader, sample_data< DATATYPE > &oSampleData) |
Streaming Operator>> to get the next sample from the cSampleReader. More... | |
cSampleReader & | operator>> (cSampleReader &oSampleReader, ucom::ant::iobject_ptr< const IStreamType > &pType) |
Streaming Operator>> to write/change a StreamType to the cSampleReader. More... | |
cSampleReader & | operator>> (cSampleReader &oSampleReader, cSampleReader &(*pStreamfunc)(cSampleReader &)) |
Streaming Operator>> to clear the cSampleReaders Queue. More... | |
tResult | make_sample_reader (cSampleReader &oReader, const char *strNameOfReader, const ucom::iobject_ptr< const IStreamType > &pStreamType) |
Initializes a cSampleReader with given name and StreamType param[in] oReader Reader to intialize param[in] strName Name to set param[in] pStreamType Stream Type to set. More... | |
cSampleWriter & | operator<< (cSampleWriter &oSampleWriter, const ucom::ant::iobject_ptr< const ISample > &pSample) |
Streaming Operator<< to write/transmit a sample to the cSampleWriter. More... | |
cSampleWriter & | operator<< (cSampleWriter &oSampleWriter, const ucom::ant::iobject_ptr< ISample > &pSample) |
Streaming Operator<< to write/transmit a sample to the cSampleWriter. More... | |
cSampleWriter & | operator<< (cSampleWriter &oSampleWriter, const ucom::ant::iobject_ptr< const IStreamType > &pType) |
Streaming Operator<< to write/change a StreamType to the cSampleWriter. More... | |
cSampleWriter & | operator<< (cSampleWriter &oSampleWriter, cSampleWriter &(*pStreamfunc)(cSampleWriter &)) |
Streaming Operator<< to flush or to write the cSampleWriter. More... | |
cSampleWriter & | operator<< (cSampleWriter &oSampleWriter, const tResult &oError) |
Streaming Operator<< to write/set a error to the cSampleWriter. More... | |
template<typename DATA_TYPE > | |
sample_writer< DATA_TYPE > & | operator<< (sample_writer< DATA_TYPE > &oSampleWriter, const DATA_TYPE &oSampleData) |
Streaming Operator<< to write/transmit a sample to the cSampleWriter. More... | |
cSampleReader & | operator>> (cSampleReader &oSampleReader, cSampleWriter &oSampleWriter) |
Streaming Operator>> to transmit all samples from the oSampleReader to the oSampleWriter . More... | |
tResult | make_sample_writer (cSampleWriter &oWriter, const char *strNameOfWriter, const ucom::ant::iobject_ptr< const IStreamType > &pStreamType) |
bool | operator!= (const tStreamImageFormat &sLeft, const tStreamImageFormat &sRight) |
is not equal operator to compare tStreamImageFormat More... | |
bool | operator== (const tStreamImageFormat &sLeft, const tStreamImageFormat &sRight) |
is equal operator to compare tStreamImageFormat More... | |
ADTF_DEFINE_STREAM_IMAGE_FORMAT (RGB_8, "R(3)G(3)B(2)") ADTF_DEFINE_STREAM_IMAGE_FORMAT(RGB_555 | |
BYTE ORDER FORMAT DESCRIPTION Format definition. More... | |
R (5) G(5) B(5)(1)") ADTF_DEFINE_STREAM_IMAGE_FORMAT(RGB_565 | |
Format definition. | |
R (8) G(8) B(8)") ADTF_DEFINE_STREAM_IMAGE_FORMAT(BGR_24 | |
Format definition. More... | |
B (8) G(8) R(8)") ADTF_DEFINE_STREAM_IMAGE_FORMAT(RGB_32 | |
Format definition this description means always first in lowest bit of lowest byte. | |
A (8) B(8) G(8) R(8)") ADTF_DEFINE_STREAM_IMAGE_FORMAT(ARGB_32 | |
Format definition this description means always first in lowest bit of lowest byte. | |
A (8) R(8) G(8) B(8)") bool stream_image_format_is_generic_greyscale( const tStreamImageFormat & strFormat) | |
Format definition. More... | |
bool | stream_image_format_is_generic_rgb (const tStreamImageFormat &strFormat) |
Check if R, G and B components are available in Generic Pixel Format. More... | |
bool | stream_image_format_is_generic (const tStreamImageFormat &strFormat) |
Check if all bits are well defined and at least one component is available in Generic Pixel Format. More... | |
unsigned int | stream_image_format_get_generic_pixel_size (const tStreamImageFormat &strFormat) |
Retrieves the pixelsize by a Generic Pixel Format. More... | |
uint32_t | stream_image_format_get_generic_mask (const char *strChannel, const tStreamImageFormat &strFormat) |
Retrieves the pixelsize by a Generic Pixel Format. More... | |
template<typename WRITER_TYPE > | |
WRITER_TYPE & | flush (WRITER_TYPE &oWriter) |
Global function template to flush a writer. More... | |
template<typename WRITER_TYPE > | |
WRITER_TYPE & | trigger (WRITER_TYPE &oWriter) |
Global function template to trigger a writers sample stream manually. More... | |
tResult | get_streaming_graph_object (const IStreamingGraph &oGraph, ucom::ant::iobject_ptr< ucom::ant::IObject > &pObject) |
Retrieve the first item of the Streaming Graph where the iobject_ptr::Reset returns ERR_NOERROR If pObject is used with adtf::ucom::object_ptr this method will return the first object of given INTERFACE of adtf::ucom::object_ptr<INTERFACE>. More... | |
tResult | get_streaming_graph_objects (const IStreamingGraph &oGraph, ucom::ant::iobject_enum< ucom::ant::IObject > &lstObjects) |
Retrieve all items of the Streaming Graph where the iobject_ptr::Reset returns ERR_NOERROR. More... | |
tResult | set_stream_type_image_format (IStreamType &oType, const tStreamImageFormat &oFormat) |
Helper function to set the properties of a IStreamType for a stream_meta_type_image. More... | |
tResult | get_stream_type_image_format (tStreamImageFormat &oFormat, const IStreamType &oType) |
Helper function to retrieve the oFormat (tStreamImageFormat) out of the of a IStreamType for a stream_meta_type_image. More... | |
ADTF_DEFINE_STREAM_TYPE_PLAIN_FOR (tBool, "BOOL") | |
defines a stream_type_plain for the c-type bool | |
ADTF_DEFINE_STREAM_TYPE_PLAIN_FOR (tInt8, "INT8") | |
defines a stream_type_plain for the c-type int8_t | |
ADTF_DEFINE_STREAM_TYPE_PLAIN_FOR (tUInt8, "UINT8") | |
defines a stream_type_plain for the ctype uint8_t | |
ADTF_DEFINE_STREAM_TYPE_PLAIN_FOR (tInt16, "INT16") | |
defines a stream_type_plain for the c-type int16_t | |
ADTF_DEFINE_STREAM_TYPE_PLAIN_FOR (tUInt16, "UINT16") | |
defines a stream_type_plain for the c-type uint16_t | |
ADTF_DEFINE_STREAM_TYPE_PLAIN_FOR (tInt32, "INT32") | |
defines a stream_type_plain for the c-type int32_t | |
ADTF_DEFINE_STREAM_TYPE_PLAIN_FOR (tUInt32, "UINT32") | |
defines a stream_type_plain for the c-type uint32_t | |
ADTF_DEFINE_STREAM_TYPE_PLAIN_FOR (tInt64, "INT64") | |
defines a stream_type_plain for the c-type int64_t | |
ADTF_DEFINE_STREAM_TYPE_PLAIN_FOR (tUInt64, "UINT64") | |
defines a stream_type_plain for the c-type uint64_t | |
ADTF_DEFINE_STREAM_TYPE_PLAIN_FOR (tFloat32, "FLOAT32") | |
defines a stream_type_plain for the c-type float | |
ADTF_DEFINE_STREAM_TYPE_PLAIN_FOR (tFloat64, "FLOAT64") | |
defines a stream_type_plain for the c-type double | |
template<typename T > | |
bool | operator== (const IStreamType &oStreamType, T) |
The equality operator returns true only if the given oStreamType is an instance of the stream_meta_type in T . More... | |
template<typename T > | |
bool | operator!= (const IStreamType &oStreamType, T oValue) |
The not-equality operator returns false only if the given oStreamType is not an instance of the stream_meta_type in T . More... | |
bool | operator== (const IStreamType &oStreamTypeLeft, const IStreamType &oStreamTypeRight) |
The equality operator returns true only if the given oStreamTypeLeft has the exact same properties and property values as oStreamTypeRight . More... | |
bool | operator!= (const IStreamType &oStreamTypeLeft, const IStreamType &oStreamTypeRight) |
The not-equality operator returns false only if the given oStreamTypeLeft has the exact same properties and property values as oStreamTypeRight . More... | |
template<typename VALUETYPE > | |
tResult | set_property (IStreamType &oStreamType, const char *strNameOfValue, VALUETYPE oValue) |
Sets the property of the given oStreamType to the value oValue . More... | |
tResult | set_property (IStreamType &oStreamType, const char *strNameOfValue, const char *poValue) |
Sets the property of the given oStreamType to the cString value poValue . More... | |
template<typename VALUETYPE > | |
VALUETYPE | get_property (const IStreamType &oStreamType, const char *strNameOfValue, VALUETYPE oDefaultValue) |
Gets the property of the given oStreamType . More... | |
template<typename VALUETYPE > | |
VALUETYPE | get_property (const IStreamType &oStreamType, const char *strNameOfValue) |
Gets the property of the given oStreamType . More... | |
template<typename T , typename std::enable_if_t< flash::is_stream_meta_type< T >::value, int > = 0> | |
bool | operator== (const ucom::ant::iobject_ptr< const IStreamType > &pStreamType, const T &oValue) |
The equality operator returns true only if the given pStreamType is an instance of the stream_meta_type in T . More... | |
template<typename T , typename std::enable_if_t< flash::is_stream_meta_type< T >::value, int > = 0> | |
bool | operator!= (const ucom::ant::iobject_ptr< const IStreamType > &pStreamType, const T &oValue) |
The equality operator returns true only if the given pStreamType is an instance of the stream_meta_type in T . More... | |
tResult | create_trigger_pipe (const char *strNameOfPipe, adtf::ucom::ant::iobject_ptr< ITriggerPipe > &pTriggerPipe, adtf::ucom::ant::object_list< ITriggerPipeItem > lstNextItems) |
Creates a Trigger Pipe with given items in lstNextItems . More... | |
tResult | check_loop_call_in_trigger_pipe (const adtf::streaming::ant::ITriggerPipeSource &pItem) |
Checks a loop call in Trigger Pipe can be created with pItem and all registered subitems. More... | |
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
The cDynamicSampleReader will create a sample reader which will create a internal sample queue with unlimited size.
This implementation uses the cDynamicSampleReaderQueue as dynamic sample queue implementation.
Definition at line 813 of file samplereader.h.
using size_limited_sample_reader = sample_reader<size_limited_sample_reader_queue<MAX_SIZE>, STORELASTSAMPLE> |
The size_limited_sample_reader will create a sample reader which will create a internal sample queue that is sample count item limited by the given TimeRange
.
MAX_SIZE | The count in amount of samples (has to be set while compile time!). |
STORELASTSAMPLE | Option if the last sample received will be hold.
|
Definition at line 835 of file samplereader.h.
using time_limited_sample_reader = sample_reader<time_limited_sample_reader_queue<TIME_RANGE>, STORELASTSAMPLE> |
The time_limited_sample_reader will create a sample reader which will create a internal sample queue that is time limited by the given TimeRange
.
TIME_RANGE | The timerange in micro seconds (has to be set while compile time!). |
STORELASTSAMPLE | Option if the last sample received will be hold.
|
Definition at line 824 of file samplereader.h.
adtf::streaming::ant::A | ( | 8 | ) | const & |
Format definition.
Format definition this description means always first in lowest bit of lowest byte Check if GREY component is available Generic Pixel Format.
strFormat | a generic stream image format. |
tResult adtf::streaming::ant::add_paired_connections | ( | IFilterGraph & | oGraph, |
adtf_util::cStringList | lstObjectNames, | ||
bool | bSync = true |
||
) |
This is a helper function to create paired connections on the given FilterGraph instance oGraph
.
For each item
[N] of lstObjectNames
a cFilterGraph::AddConnection call is created with the source item
[N] and the destination item
[N+1]. N
is a multiple of 2
.
The names within lstObjectNames
must be named graph objects of the FilterGraph oGraph
.
[in] | oGraph | Graph instance where to add the connections to. |
[in] | lstObjectNames | The names of the named graph objects to connect. |
[in] | bSync | Determines if the connections will be synchronous or asynchronous. |
ERR_NOT_FOUND | There is a name in lstObjectNames which is not a object of oGraph. |
tResult adtf::streaming::ant::add_piped_connections | ( | IFilterGraph & | oGraph, |
adtf_util::cStringList | lstObjectNames, | ||
bool | bSync = true |
||
) |
This is a helper function to create piped connections on the given FilterGraph instance oGraph
.
For each item
[N] of lstObjectNames
a cFilterGraph::AddConnection call is created with the source item
[N] and the destination item
[N+1]. The names within lstObjectNames
must be named graph objects of the FilterGraph oGraph
.
[in] | oGraph | Graph instance where to add the connections to. |
[in] | lstObjectNames | The names of the named graph objects to connect. |
[in] | bSync | Determines if the connections will be synchronous or asynchronous. |
ERR_NOT_FOUND | There is a name in lstObjectNames which is not a object of oGraph. |
adtf::streaming::ant::ADTF_DEFINE_STREAM_IMAGE_FORMAT | ( | RGB_8 | , |
"R(3)G(3)B(2)" | |||
) |
BYTE ORDER FORMAT DESCRIPTION Format definition.
Format definition Format definition Format definition Format definition Format definition
tResult adtf::streaming::ant::alloc_sample | ( | ucom::ant::iobject_ptr< ISample > & | pSample | ) |
Helper Function to get a ISample Instance through the adtf::ucom::ant::IRuntime.
pSample | [in, out] object_ptr to a ISample if succeeded. The default CID will be the get_class_id<cSample>(). |
tResult adtf::streaming::ant::alloc_sample | ( | ucom::ant::iobject_ptr< ISample > & | pSample, |
tTimeStamp | nTimeStamp | ||
) |
Helper Function to get a ISample Instance through the adtf::ucom::ant::IRuntime.
pSample | [in, out] object_ptr to a ISample if succeeded. The default CID will be the get_class_id<cSample>(). |
nTimeStamp | [in] The timestamp of the sample. |
tResult adtf::streaming::ant::alloc_sample | ( | ucom::ant::iobject_ptr< ucom::ant::IObject > & | pSample, |
const char * | strSampleCID, | ||
tTimeStamp | nTimeStamp | ||
) |
Helper Function to get a Sample Instance through the adtf::ucom::ant::IRuntime.
pSample | [in, out] object_ptr to of Sample if succeeded. Due to the unknown interface you want receive it is provided as object_ptr<IObject>. |
strSampleCID | [in] Sample object identifier (class id) of the sample class. If strSampleOID is empty then the get_class_id<cSample>() will be used. |
nTimeStamp | [in] The timestamp of the sample. |
tResult adtf::streaming::ant::alloc_sample | ( | ucom::ant::iobject_ptr< ucom::ant::IObject > & | pSampleObject, |
const char * | strSampleCID | ||
) |
Helper Function to get a Sample Instance through the adtf::ucom::ant::IRuntime.
pSampleObject | [in, out] object_ptr to of Sample if succeeded. Due to the unknown interface you want receive it is provided as object_ptr<IObject>. |
strSampleCID | [in] Sample object identifier (class id) of the sample class. If strSampleOID is empty then the get_class_id<cSample>() will be used. |
Referenced by output_sample_data< T >::output_sample_data(), encoding_sample_writer< WriterImplementation >::MakeSample(), and cTestWriter::WriteSubStream().
tResult adtf::streaming::ant::check_loop_call_in_trigger_pipe | ( | const adtf::streaming::ant::ITriggerPipeSource & | pItem | ) |
Checks a loop call in Trigger Pipe can be created with pItem and all registered subitems.
[in] | pItem | beginning source item of the pipe. |
ERR_NOERROR | No loop found. Everything is fine. |
ERR_OUT_OF_RANGE | Endless Recursion found, there is a item which will call itself as child (also in depth > 1)! |
Referenced by trigger_pipe_source< INTERFACE >::RegisterSubItem().
tResult adtf::streaming::ant::create_client | ( | cFilterBase & | oFilter, |
const char * | strClientName | ||
) |
Creates a binding client object for the given INTERFACE type and register it on the cFilterBase instance.
INTERFACE | The IObject interface you want to register the binding client object for |
[in] | oFilter | filter instance to register the client object to |
[in] | strClientName | name of the object to register |
Definition at line 232 of file filterbase.h.
References adtf::ucom::ant::make_object_ptr(), RETURN_IF_FAILED, and RETURN_NOERROR.
|
inline |
Creates a Trigger Pipe and registers it at the given oFilter
instance.
You can use an initializer list for the lstItems
as follow:
This function will create a pipe where the "my_fancy_runner" will be called from "in_pin_1" if some a synchronous DataTrigger is received. "my_fanc_runner" will read data from "in_pin_1" by its Readers (or do something else) and writes data to the "out_pin_1". If the "my_fancy_runner" returns it will forward a synchronous DataTrigger to "out_pin_1".
[in] | oComponent | databinding and runtime behavior instance where to register the Trigger Pipe. |
[in] | lstItems | list of items of the Trigger Pipe. These items can be a registered Pin of the oFilter or a Runner of oFilter . |
ERR_NOT_FOUND | A given name is not a Pin (InPin or OutPin) or a Runner registered on oFilter . |
Definition at line 133 of file filterbase.h.
tResult adtf::streaming::ant::create_inner_pipe | ( | DATABINDING_BEHAVIOUR_CLASS & | oComponent, |
const adtf_util::cString & | strNameOfRunner, | ||
const adtf_util::cString & | strSource, | ||
base::ant::runnable< base::ant::IRunnable::RUN_TRIGGER >::tRunFunction | oRunFunc | ||
) |
Creates a Trigger Pipe and registers it at the given oFilter
instance.
You can call this function like this:
This function will create a pipe where the "my_fancy_runner" will be called from "in_pin_1" if some synchronous DataTrigger is received. "my_fancy_runner" will then trigger the Read functor to handle that event (e.g. read in the data sample).
[in] | oComponent | databinding and runtime behavior instance where to register the Trigger Pipe. |
[in] | strNameOfRunner | name of the runner |
[in] | strSource | name of the source where the trigger is receive from |
[in] | oRunFunc | function to call if trigger is received |
ERR_NOT_FOUND | A given name is not a Pin (InPin or OutPin) or a Runner registered on oFilter . |
Definition at line 176 of file filterbase.h.
References create_trigger_pipe(), IS_FAILED, RETURN_ERROR, and RETURN_IF_FAILED.
tResult adtf::streaming::ant::create_pin | ( | DATA_BINDING_IMPL_TYPE & | oDataBindingImpl, |
cSampleReader & | oReader, | ||
const char * | strNameOfReaderAndPin, | ||
const adtf::ucom::iobject_ptr< IStreamType > & | pStreamType | ||
) |
Creates a cInPin and registers it at the given oDataBindingImpl
instance.
DATA_BINDING_IMPL_TYPE | concrete type of a IDataBinding implementation. |
[in] | oDataBindingImpl | FileBase instance where to register the InPin. |
[in] | oReader | SampleReader which will be registerd at the cInpin as ISampleStreamer |
[in] | strNameOfReaderAndPin | The Pin Name to set on the InPin. Also the SampleReaders Name will be changed. |
[in] | pStreamType | Type initially set to the Reader. A deep copy is made. |
Definition at line 162 of file pin_creation.h.
tResult adtf::streaming::ant::create_pin | ( | DATA_BINDING_IMPL_TYPE & | oDataBindingImpl, |
cSampleReader & | oReader, | ||
const char * | strNameOfReaderAndPin, | ||
const ucom::iobject_ptr< const IStreamType > & | pStreamType | ||
) |
Creates a cInPin and registers it at the given oDataBindingImpl
instance.
DATA_BINDING_IMPL_TYPE | concrete type of a IDataBinding implementation |
[in] | oDataBindingImpl | databinding instance where to register the InPin. |
[in] | oReader | SampleReader which will be registerd at the cInpin as ISampleStreamer |
[in] | strNameOfReaderAndPin | The Pin Name to set on the InPin. Also the SampleReaders Name will be changed. |
[in] | pStreamType | Type initially set to the Reader. A deep copy is made. |
Definition at line 141 of file pin_creation.h.
tResult adtf::streaming::ant::create_pin | ( | DATA_BINDING_IMPL_TYPE & | oDataBindingImpl, |
cSampleReader & | oReader, | ||
const char * | strNameOfReaderAndPin, | ||
const ucom::iobject_ptr< const IStreamType > & | pStreamType, | ||
ucom::iobject_ptr< IInPin > & | pPinCreated | ||
) |
Creates a cInPin and registers it at the given oDataBindingImpl
instance.
DATA_BINDING_IMPL_TYPE | concrete type of a IDataBinding implementation |
[in] | oDataBindingImpl | databinding implementation instance where to register the InPin. |
[in] | oReader | SampleReader which will be registerd at the cInpin as ISampleStreamer |
[in] | strNameOfReaderAndPin | The Pin Name to set on the InPin. Also the SampleReaders Name will be changed. |
[in] | pStreamType | Type initially set to the Reader. A deep copy is made. |
[in,out] | pPinCreated | Pin created will be returned |
Definition at line 113 of file pin_creation.h.
tResult adtf::streaming::ant::create_pin | ( | DATA_BINDING_IMPL_TYPE & | oDataBindingImpl, |
cSampleWriter & | oWriter, | ||
const char * | strNameOfWriterAndPin, | ||
const adtf::ucom::iobject_ptr< const IStreamType > & | pStreamType | ||
) |
Creates a cOutPin and registers it at the given oDataBindingImpl
instance.
DATA_BINDING_IMPL_TYPE | implementation type of a data_binding to register pins to Following adtf default types support this:
|
[in] | oDataBindingImpl | data_binding instance where to register the OutPin. |
[in] | oWriter | SampleWriter which will be registered at the cOutpin as ISampleWriter |
[in] | strNameOfWriterAndPin | The Pin name to set on the OutPin. Also the SampleWriters name will be changed. |
[in] | pStreamType | Type initially set to the writer. A deep copy is made. |
Definition at line 69 of file pin_creation.h.
tResult adtf::streaming::ant::create_pin | ( | DATA_BINDING_IMPL_TYPE & | oDataBindingImpl, |
cSampleWriter & | oWriter, | ||
const char * | strNameOfWriterAndPin, | ||
const adtf::ucom::iobject_ptr< IStreamType > & | pStreamType | ||
) |
Creates a cOutPin and registers it at the given oDataBindingImpl
instance.
DATA_BINDING_IMPL_TYPE | implementation type of a data_binding to register pins to Following adtf default types support this:
|
[in] | oDataBindingImpl | data_binding instance where to register the OutPin. |
[in] | oWriter | SampleWriter which will be registered at the cOutpin as ISampleWriter |
[in] | strNameOfWriterAndPin | The Pin name to set on the OutPin. Also the SampleWriters name will be changed. |
[in] | pStreamType | Type initially set to the writer. A deep copy is made. |
Definition at line 93 of file pin_creation.h.
tResult adtf::streaming::ant::create_pin | ( | DATA_BINDING_IMPL_TYPE & | oDataBindingImpl, |
cSampleWriter & | oWriter, | ||
const char * | strNameOfWriterAndPin, | ||
const ucom::iobject_ptr< const IStreamType > & | pStreamType, | ||
ucom::iobject_ptr< IOutPin > & | pPinCreated | ||
) |
Creates a cOutPin and registers it at the given oDataBindingImpl
instance.
DATA_BINDING_IMPL_TYPE | implementation type of a data_binding to register pins to Following adtf default types support this:
|
[in] | oDataBindingImpl | data_binding instance where to register the OutPin. |
[in] | oWriter | SampleWriter which will be registered at the cOutpin as ISampleWriter |
[in] | strNameOfWriterAndPin | The Pin name to set on the OutPin. Also the SampleWriters name will be changed. |
[in] | pStreamType | Type initially set to the writer. A deep copy is made. |
[in,out] | pPinCreated | Pin created will be returned |
Definition at line 37 of file pin_creation.h.
|
inline |
Creates a runner on the given cFilterBase and connect it to the given Runnable You only need to implement a Runnable.
Definition at line 249 of file filterbase.h.
ISampleInfo::tHashKey adtf::streaming::ant::create_sample_info_hash_key | ( | const char * | strToHash | ) |
Generation of unambigious hash key for a string.
This generation is independent to process and platform.
[in] | strToHash | null terminated string to generate a hash key for. |
strToHash
. tResult adtf::streaming::ant::create_server | ( | cFilterBase & | oFilter, |
const char * | strServerName, | ||
const adtf::ucom::iobject_ptr< INTERFACE > & | pServerInterface | ||
) |
Creates a binding server object for the given INTERFACE type and register it on the cFilterBase instance.
INTERFACE | The IObject interface you want to register the binding server object for. Used to create a IBindingType. |
[in] | oFilter | filter instance to register the server object to |
[in] | strServerName | name of the object to register |
[in] | pServerInterface | INTERFACE implementation instance. This will be the Server Object retrieved by IBindingClient::GetServerObject and IBindingProxy::GetServerObject |
Definition at line 212 of file filterbase.h.
References adtf::ucom::ant::make_object_ptr(), RETURN_IF_FAILED, and RETURN_NOERROR.
tResult adtf::streaming::ant::create_trigger_pipe | ( | const char * | strNameOfPipe, |
adtf::ucom::ant::iobject_ptr< ITriggerPipe > & | pTriggerPipe, | ||
adtf::ucom::ant::object_list< ITriggerPipeItem > | lstNextItems | ||
) |
Creates a Trigger Pipe with given items in lstNextItems
.
[in] | strNameOfPipe | Name of pipe. |
[out] | pTriggerPipe | reference to the pipe if created. (you need to hold the reference, otherwise the pipe is closed!) |
[in] | lstNextItems | Items which will be connected to each other as pipe. Each Item[N+1] is registered as subitem of Item[N] by calling ITriggerPipeSource::RegisterSubItem. |
ERR_NOERROR | No loop found. Everything is fine. |
ERR_OUT_OF_RANGE | Endless Recursion found, there is a item which will call itself as child (also in depth > 1)! |
Referenced by create_inner_pipe().
WRITER_TYPE& adtf::streaming::ant::flush | ( | WRITER_TYPE & | oWriter | ) |
Global function template to flush a writer.
WRITER_TYPE | Type or sub class of cSampleWriter |
Definition at line 22 of file streaming_functions.h.
tResult adtf::streaming::ant::get_default_buffer_factory | ( | adtf::ucom::iobject_ptr< ISampleBufferFactory > & | pFactory | ) |
Creates and gets the default buffer factory (ISampleBufferFactory) based on new/delete.
The ISampleBuffer returned by the ISampleBufferFactory::GetBuffer will use new / delete on each ISampleBufferFactory::Resize call.
[out] | pFactory | The factory returned |
ERR_POINTER | The factory could not be created due memory allocation error. |
ERR_INVALID_INTERFACE | The given pFactory did not accept the adtf::ucom::iobject_ptr::Reset call. |
tResult adtf::streaming::ant::get_filter_graph_object | ( | const IFilterGraph & | oGraph, |
ucom::ant::iobject_ptr< ucom::ant::IObject > & | pObject | ||
) |
Retrieve the first item of the Filter Graph where the iobject_ptr::Reset returns ERR_NO_ERROR If pObject
is used with adtf::ucom::object_ptr this method will return the first object of given INTERFACE of adtf::ucom::object_ptr<INTERFACE>.
Sub Graphs are considered.
[in] | oGraph | Graph to retrieve the object from. |
[in,out] | pObject | The object reference to return the value. |
ERR_NOT_FOUND | iobject_ptr::Reset never returned ERR_NOERROR |
ERR_NOERRROR | iobject_ptr::Reset returned ERR_NOERROR, consider pObject |
tResult adtf::streaming::ant::get_filter_graph_objects | ( | const IFilterGraph & | oGraph, |
ucom::ant::iobject_enum< ucom::ant::IObject > & | lstObjects | ||
) |
Iterates the named graph objects of the Filter Graph and calls iobject_enum::PushObject to the lstObjects
.
If lstObjects
is used with adtf::ucom::ant::object_list this method will return all object of given INTERFACE of adtf::ucom::ant::object_list<INTERFACE>. Sub Graphs are considered.
[in] | oGraph | Graph to retrieve the objects from. |
[in,out] | lstObjects | The object list to push the values to. |
ERR_NOT_FOUND | iobject_enum::Reset never returned ERR_NOERROR |
ERR_NOERRROR | iobject_enum::Reset returned ERR_NOERROR, consider pObject |
Referenced by adtf::services::ant::get_recorders().
tResult adtf::streaming::ant::get_named_graph_object_from_graph | ( | IGraph & | oGraph, |
const char * | strName, | ||
ucom::ant::iobject_ptr< ucom::ant::IObject > & | pObjectFound | ||
) |
Helper function to retrieve a graph object from a graph with fully qualified unique name of an object.
[in] | oGraph | The graph instance to get the object from. |
[in] | strName | The fully qualified named with dots (i.e. "streaminggraph.myfiltergraph.mysubgraph.myfilter") |
[in,out] | pObjectFound | The object to retrieve |
adtf_util::cString adtf::streaming::ant::get_named_graph_object_full_name | ( | const INamedGraphObject & | oGraphObject | ) |
Helper function to retrieve a full qualified unique name of an object registered in IFilterGraph.
[in] | oGraphObject | The object to retrieve the fullname for. |
Referenced by port_router< T, U >::ConnectRouting(), qt_ui_filter< FILTERBASECLASS, QTWINDOWBASECLASS >::GetStateIdentifier(), qt_ui_filter< FILTERBASECLASS >::GetStateIdentifier(), qt_ui_filter< FILTERBASECLASS >::Init(), qt_ui_filter< FILTERBASECLASS, QTWINDOWBASECLASS >::Init(), named_graph_object< INTERFACE >::LogNamedMessage(), and trigger_pipe_source< INTERFACE >::RegisterSubItem().
adtf_util::cString adtf::streaming::ant::get_named_graph_object_full_name | ( | const INamedGraphObject & | oGraphObject, |
const char * | strSeperator | ||
) |
Helper function to retrieve a full qualified unique name of an object registered in IFilterGraph.
[in] | oGraphObject | The object to retrieve the fullname for. |
[in] | strSeperator | The seperator to use between the parent object names. |
VALUETYPE adtf::streaming::ant::get_property | ( | const IStreamType & | oStreamType, |
const char * | strNameOfValue | ||
) |
Gets the property of the given oStreamType
.
VALUETYPE | Type of value returned |
[in] | oStreamType | StreamType where to get the property |
[in] | strNameOfValue | name of the property |
Definition at line 314 of file streamtype_intf.h.
VALUETYPE adtf::streaming::ant::get_property | ( | const IStreamType & | oStreamType, |
const char * | strNameOfValue, | ||
VALUETYPE | oDefaultValue | ||
) |
Gets the property of the given oStreamType
.
VALUETYPE | Type of value returned and oDefaultValue |
[in] | oStreamType | StreamType where to get the property |
[in] | strNameOfValue | name of the property |
[in] | oDefaultValue | default value of property if not found. |
Definition at line 294 of file streamtype_intf.h.
References IStreamType::GetConfig(), and IS_OK.
tResult adtf::streaming::ant::get_reference_buffer_factory | ( | adtf::ucom::iobject_ptr< ISampleBufferFactory > & | pFactory | ) |
Creates and gets the a buffer factory that creates sample buffers that do not copy the data, but only keep a reference to it.
Use this with EXTREME care!! Keep samples that use these buffers in a adtf::ucom::ant::weak_object_ptr in order to be able to check if they no longer exist before you manipulate the data again.
[out] | pFactory | The factory returned |
ERR_POINTER | The factory could not be created due memory allocation error. |
ERR_INVALID_INTERFACE | The given pFactory did not accept the adtf::ucom::iobject_ptr::Reset call. |
adtf::util::cVariant adtf::streaming::ant::get_sample_info | ( | const ISample & | oSample, |
const ISampleInfo::tHashKey & | oHash | ||
) |
Retrieves a variant value for the hash key oHash
out of the samples (oSample
) sample information.
If the value does not exists the return value content is undefined.
[in] | oSample | The sample to retrieve the value from its sample information. |
[in] | oHash | The hash key of the value. |
adtf::util::cVariant adtf::streaming::ant::get_sample_info | ( | const ISample & | oSample, |
const ISampleInfo::tHashKey & | oHash, | ||
const adtf::util::cVariant | oDefault | ||
) |
Retrieves a variant value for the hash key oHash
out of the samples (oSample
) sample information.
If the value does not exists the return value is the given defaultoDefault
.
[in] | oSample | The sample to retrieve the value from its sample information. |
[in] | oHash | The hash key of the value. |
[in] | oDefault | default value if value does not exist. |
adtf::util::cVariant adtf::streaming::ant::get_sample_info | ( | const ISampleInfo & | oSampleInfo, |
const ISampleInfo::tHashKey & | oHash | ||
) |
Retrieves a variant value for the hash key oHash
out of the sample information oSampleInfo
.
If the value does not exists the return value content is undefined.
[in] | oSampleInfo | The sample information to retrieve the value from. |
[in] | oHash | The hash key of the value. |
adtf::util::cVariant adtf::streaming::ant::get_sample_info | ( | const ISampleInfo & | oSampleInfo, |
const ISampleInfo::tHashKey & | oHash, | ||
const adtf::util::cVariant | oDefault | ||
) |
Retrieves a variant value for the hash key oHash
out of the sample information oSampleInfo
.
If the value does not exists the return value is the given defaultoDefault
.
[in] | oSampleInfo | The sample information to retrieve the value from. |
[in] | oHash | The hash key of the value. |
[in] | oDefault | default value if value does not exist. |
Referenced by sample_data< T >::GetSampleInfo(), and sample_data< T, Enable >::GetSampleInfo().
tResult adtf::streaming::ant::get_stream_type_image_format | ( | tStreamImageFormat & | oFormat, |
const IStreamType & | oType | ||
) |
Helper function to retrieve the oFormat
(tStreamImageFormat) out of the of a IStreamType for a stream_meta_type_image.
oType | Stream Type where to get the properties from |
oFormat | Format to set the properties content to. |
tResult adtf::streaming::ant::get_streaming_graph_object | ( | const IStreamingGraph & | oGraph, |
ucom::ant::iobject_ptr< ucom::ant::IObject > & | pObject | ||
) |
Retrieve the first item of the Streaming Graph where the iobject_ptr::Reset returns ERR_NOERROR If pObject
is used with adtf::ucom::object_ptr this method will return the first object of given INTERFACE of adtf::ucom::object_ptr<INTERFACE>.
The embedded Filter Graph is not considered.
[in] | oGraph | Graph to retrieve the object from. |
[in,out] | pObject | The object reference to return the value. |
ERR_NOT_FOUND | iobject_ptr::Reset never returned ERR_NOERROR |
ERR_NOERRROR | iobject_ptr::Reset returned ERR_NOERROR, consider pObject |
tResult adtf::streaming::ant::get_streaming_graph_objects | ( | const IStreamingGraph & | oGraph, |
ucom::ant::iobject_enum< ucom::ant::IObject > & | lstObjects | ||
) |
Retrieve all items of the Streaming Graph where the iobject_ptr::Reset returns ERR_NOERROR.
[in] | oGraph | Graph to retrieve the object from. |
[in,out] | lstObjects | The object list reference to return the values to. |
Referenced by adtf::services::ant::get_recorders().
|
inline |
Initializes a cSampleReader with given name and StreamType param[in] oReader Reader to intialize param[in] strName Name to set param[in] pStreamType Stream Type to set.
A deep copy will be created.
Definition at line 914 of file samplereader.h.
Referenced by adtf::mediadescription::ant::make_sample_reader(), and adtf::mediadescription::osborn::make_sample_reader().
|
inline |
oWriter
with name and type. [in] | oWriter | writer to initializes |
[in] | strNameOfWriter | name sets to the writer |
[in] | pStreamType | stream for the writer (deep copy is created) |
Definition at line 340 of file samplewriter.h.
Referenced by adtf::mediadescription::osborn::make_sample_writer(), and adtf::mediadescription::ant::make_sample_writer().
bool adtf::streaming::ant::operator!= | ( | const IStreamType & | oStreamType, |
T | oValue | ||
) |
The not-equality operator returns false only if the given oStreamType
is not an instance of the stream_meta_type in T
.
It will compare the unique meta type name.
T | A class definition that fulfil the concept of defining the unique meta type name in a variable MetaTypeName (see stream_meta_type) |
oStreamType | The Stream Type instance to check the unique meta type name. |
oValue | the Stream Meta Type to expected |
true | meta type name is not equal |
false | meta type name is equal |
Definition at line 224 of file streamtype_intf.h.
|
inline |
The not-equality operator returns false only if the given oStreamTypeLeft
has the exact same properties and property values as oStreamTypeRight
.
This works in both ways.
oStreamTypeLeft | The left Stream Type instance for comparison |
oStreamTypeRight | The Stream Type instance to compare with |
true | types are not equal |
false | types are equal |
Definition at line 250 of file streamtype_intf.h.
bool adtf::streaming::ant::operator!= | ( | const tStreamImageFormat & | sLeft, |
const tStreamImageFormat & | sRight | ||
) |
is not equal operator to compare tStreamImageFormat
sLeft | [in] left value |
sRight | [in] right value |
true | is not equal |
false | is equal |
bool adtf::streaming::ant::operator!= | ( | const ucom::ant::iobject_ptr< const IStreamType > & | pStreamType, |
const T & | oValue | ||
) |
The equality operator returns true only if the given pStreamType
is an instance of the stream_meta_type in T
.
It will compare the unique meta type name.
T | A class definition that fulfil the concept of defining the unique meta type name in a variable MetaTypeName (see stream_meta_type) |
pStreamType | The Stream Type instance to check the unique meta type name. |
oValue | the Stream Meta Type (not) expected |
true | meta type name is not equal |
false | meta type name is equal |
Definition at line 433 of file streamtype_intf.h.
|
inline |
Streaming Operator<< to write/set a error to the cSampleWriter.
oSampleWriter | [in] The Writer to set the error reference. |
oError | [in] The error reference which will be set on oSampleWriter |
Definition at line 236 of file samplewriter.h.
|
inline |
Streaming Operator<< to write/transmit a sample to the cSampleWriter.
oSampleWriter | [in] The Writer to transmit the sample reference to. |
pSample | [in] The Sample reference which will be transmitted on oSampleWriter |
Definition at line 184 of file samplewriter.h.
|
inline |
Streaming Operator<< to write/change a StreamType to the cSampleWriter.
oSampleWriter | [in] The Writer to change the StreamType reference. |
pType | [in] The StreamType reference which will be change and write on oSampleWriter |
Definition at line 211 of file samplewriter.h.
|
inline |
Streaming Operator<< to write/transmit a sample to the cSampleWriter.
oSampleWriter | [in] The Writer to transmit the sample reference to. |
pSample | [in] The Sample reference which will be transmitted on oSampleWriter |
Definition at line 198 of file samplewriter.h.
|
inline |
Streaming Operator<< to flush or to write the cSampleWriter.
oSampleWriter | [in] The Writer to execute the function to. |
pStreamfunc | [in] the streamfunction to execute with the layout: cSampleWriter&(cSampleWriter&) |
Definition at line 224 of file samplewriter.h.
|
inline |
Streaming Operator<< to write a sample to a writers queue of the ISampleStream.
oStreamWriter | [in] The Writer to write to. |
pSample | [in] The Sample which will be written to queue. |
Definition at line 97 of file sampleoutstream_intf.h.
References ISampleOutStream::Write().
|
inline |
Streaming Operator<< to write a stream type to a writers queue of the ISampleStream.
oStreamWriter | [in] The Writer to write to. |
pStreamType | [in] The StreamType which will be written to queue. |
Definition at line 111 of file sampleoutstream_intf.h.
|
inline |
Streaming Operator<< to write an stream type to a writers queue of the ISampleStream.
oStreamWriter | [in] The Writer to write to. |
pStreamType | [in] The StreamType which will be written to queue. |
Definition at line 125 of file sampleoutstream_intf.h.
|
inline |
Streaming Operator<< to write an Error to the ISampleStream.
oStreamWriter | [in] The Writer to write to. |
oErr | [in] The Error which will be written to queue. |
Definition at line 157 of file sampleoutstream_intf.h.
References ISampleOutStream::SetStreamError().
|
inline |
Streaming Operator<< to call a certain streaming function (manipulator), use i.e.
to flush the queue:
[in] | oStreamWriter | The Writer to call the streaming function to. |
[in] | pStreamfunc | streaming function to execute with layout: ISampleOutStream&(ISampleOutStream&) |
Definition at line 144 of file sampleoutstream_intf.h.
sample_writer<DATA_TYPE>& adtf::streaming::ant::operator<< | ( | sample_writer< DATA_TYPE > & | oSampleWriter, |
const DATA_TYPE & | oSampleData | ||
) |
Streaming Operator<< to write/transmit a sample to the cSampleWriter.
oSampleWriter | [in] The Writer to transmit the sample reference to. |
oSampleData | [in] the data to write |
Definition at line 236 of file samplewriter.h.
bool adtf::streaming::ant::operator== | ( | const IStreamType & | oStreamType, |
T | |||
) |
The equality operator returns true only if the given oStreamType
is an instance of the stream_meta_type in T
.
It will compare the unique meta type name.
T | A class definition that fulfil the concept of defining the unique meta type name in a variable MetaTypeName (see stream_meta_type) |
oStreamType | The Stream Type instance to check the unique meta type name. |
true | meta type name is equal |
false | meta type name is not equal |
Definition at line 207 of file streamtype_intf.h.
References adtf_string_intf, IStreamType::GetMetaTypeName(), and cResult::IsEqual().
|
inline |
The equality operator returns true only if the given oStreamTypeLeft
has the exact same properties and property values as oStreamTypeRight
.
This works in both ways.
oStreamTypeLeft | The left Stream Type instance for comparison |
oStreamTypeRight | The Stream Type instance to compare with |
true | types are equal |
false | type are not equal |
Definition at line 237 of file streamtype_intf.h.
References adtf::streaming::spider::is_equal(), and IS_OK.
bool adtf::streaming::ant::operator== | ( | const tStreamImageFormat & | sLeft, |
const tStreamImageFormat & | sRight | ||
) |
is equal operator to compare tStreamImageFormat
sLeft | [in] left value |
sRight | [in] right value |
true | is equal |
false | is not equal |
bool adtf::streaming::ant::operator== | ( | const ucom::ant::iobject_ptr< const IStreamType > & | pStreamType, |
const T & | oValue | ||
) |
The equality operator returns true only if the given pStreamType
is an instance of the stream_meta_type in T
.
It will compare the unique meta type name.
T | A class definition that fulfil the concept of defining the unique meta type name in a variable MetaTypeName (see stream_meta_type) |
pStreamType | The Stream Type instance to check the unique meta type name. |
oValue | the Stream Meta Type expected |
true | meta type name is equal |
false | meta type name is not equal |
Definition at line 412 of file streamtype_intf.h.
|
inline |
Streaming Operator>> to read a sample from the readers queue.
oItem
with tReadingEvent::RE_Nothing to react on empty queues! oStreamReader | [in] The Reader to read from. |
oItem | [in] The item implemenation to read to (see IStreamItem for default implementation). |
Definition at line 80 of file sampleinstream_intf.h.
References ISampleInStream::Read().
|
inline |
Streaming Operator>> to clear the cSampleReaders Queue.
[in] | oSampleReader | The Reader to execute he function to. |
[in] | pStreamfunc | the streamfunction to execute with the layout: cSampleReader& (cSampleReader&) |
Definition at line 902 of file samplereader.h.
|
inline |
Streaming Operator>> to transmit all samples from the oSampleReader
to the oSampleWriter
.
oSampleReader | [in] The Reader to read the streamdata. |
oSampleWriter | [in] The writer to write teh streamdata to. |
Definition at line 324 of file samplewriter.h.
cSampleReader& adtf::streaming::ant::operator>> | ( | cSampleReader & | oSampleReader, |
sample_data< DATATYPE > & | oSampleData | ||
) |
Streaming Operator>> to get the next sample from the cSampleReader.
oSampleReader | [in] The Reader to get the next sample from queue. |
oSampleData | [in] The Sample data to read the |
Definition at line 868 of file samplereader.h.
|
inline |
::* Streaming Operator>> to get the next sample from the cSampleReader
oSampleReader | [in] The Reader to get the next sample from queue. |
pSample | [in] The Sample reference to store the next sample from oSampleReader |
Definition at line 851 of file samplereader.h.
References cSampleReader::GetNextSample(), and iobject_ptr_base< T >::Reset().
|
inline |
Streaming Operator>> to write/change a StreamType to the cSampleReader.
oSampleReader | [in] The Reader to get StreamType reference. |
pType | [in] The StreamType reference to store the stream type |
Definition at line 889 of file samplereader.h.
References cSampleReader::GetLastType().
R | ( | 8 | ) |
Format definition.
Format definition this description means always first in lowest bit of lowest byte.
Helper to read the value oValue
from the sample oSample
.
This will Locks the Sample and copy the memory from the SampleBuffer to the memory of oSample.
[in] | oSample | The Sample to read from. |
T | The Type of oValue |
[in] | oValue | The value to read. |
Definition at line 256 of file sample_intf.h.
References ISample::Lock(), and RETURN_IF_FAILED.
|
inline |
Sets the property of the given oStreamType
to the cString value poValue
.
[in] | oStreamType | StreamType where to set the property |
[in] | strNameOfValue | name of the property |
[in] | poValue | string value of property to set. |
Definition at line 278 of file streamtype_intf.h.
References IStreamType::GetConfig(), and RETURN_IF_FAILED.
tResult adtf::streaming::ant::set_property | ( | IStreamType & | oStreamType, |
const char * | strNameOfValue, | ||
VALUETYPE | oValue | ||
) |
Sets the property of the given oStreamType
to the value oValue
.
VALUETYPE | Type of oValue |
[in] | oStreamType | StreamType where to set the property |
[in] | strNameOfValue | name of the property |
[in] | oValue | value of property to set. |
Definition at line 264 of file streamtype_intf.h.
References IStreamType::GetConfig(), and RETURN_IF_FAILED.
tResult adtf::streaming::ant::set_sample_info | ( | ISample & | oSample, |
const ISampleInfo::tHashKey & | oHash, | ||
const adtf::util::cVariant | oValue | ||
) |
Sets a variant value for the hash key oHash
into the sample oSample
sample information.
[in] | oSample | The sample to set the value to its sample information. |
[in] | oHash | The hash key of the value. |
[in] | oValue | value to set. |
ERR_NOERROR | value is set |
ERR_INVALID_TYPE | Type is not supported. See base::ant::IHashValueMapValue::tType |
tResult adtf::streaming::ant::set_sample_info | ( | ISampleInfo & | oSampleInfo, |
const ISampleInfo::tHashKey & | oHash, | ||
const adtf::util::cVariant | oValue | ||
) |
Sets a variant value for the hash key oHash
into the sample information oSampleInfo
.
[in] | oSampleInfo | The sample information to set the value to. |
[in] | oHash | The hash key of the value. |
[in] | oValue | value to set. |
ERR_NOERROR | value is set |
ERR_INVALID_TYPE | Type is not supported. See base::ant::IHashValueMapValue::tType |
Referenced by output_sample_data< T >::SetSampleInfo().
tResult adtf::streaming::ant::set_stream_type_image_format | ( | IStreamType & | oType, |
const tStreamImageFormat & | oFormat | ||
) |
Helper function to set the properties of a IStreamType for a stream_meta_type_image.
oType | Stream Type where to set the properties representing the content of sFormat tStreamImageFormat |
oFormat | Format to set the properties from. |
Referenced by adtf::streaming::lucky::create_adtf_image_stream_type().
uint32_t adtf::streaming::ant::stream_image_format_get_generic_mask | ( | const char * | strChannel, |
const tStreamImageFormat & | strFormat | ||
) |
Retrieves the pixelsize by a Generic Pixel Format.
strChannel | [in] channel to look for. |
strFormat | [in] a generic stream image format. |
unsigned int adtf::streaming::ant::stream_image_format_get_generic_pixel_size | ( | const tStreamImageFormat & | strFormat | ) |
Retrieves the pixelsize by a Generic Pixel Format.
strFormat | [in] a generic stream image format. |
bool adtf::streaming::ant::stream_image_format_is_generic | ( | const tStreamImageFormat & | strFormat | ) |
Check if all bits are well defined and at least one component is available in Generic Pixel Format.
strFormat | [in] a generic stream image format. |
bool adtf::streaming::ant::stream_image_format_is_generic_rgb | ( | const tStreamImageFormat & | strFormat | ) |
Check if R, G and B components are available in Generic Pixel Format.
[in] | strFormat | a generic stream image format. |
WRITER_TYPE& adtf::streaming::ant::trigger | ( | WRITER_TYPE & | oWriter | ) |
Global function template to trigger a writers sample stream manually.
WRITER_TYPE | Type or sub class of cSampleWriter |
Definition at line 35 of file streaming_functions.h.
Referenced by MappingConfigurationToXMLFactory< DomNodeType >::createNode(), and MappingConfigurationToXMLFactory10< DomNodeType >::createNode().
Helper to write the value oValue
to the sample oSample
.
This will WriteLock the Sample and copy the memory to the SampleBuffer of Sample.
[in] | oSample | The Sample to write to. (mind you must set a still a timestamp to the sample, see ISample::SetTime) |
T | The Type of oValue |
[in] | oValue | The value to write. |
Definition at line 278 of file sample_intf.h.
References RETURN_IF_FAILED, and ISample::WriteLock().