ADTF  3.18.2
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...

Static Public Member Functions

static void SetProperties (const adtf::ucom::iobject_ptr< adtf::base::IProperties > &)
 Property setter for anonymous Stream Type.
 
static tResult IsCompatible (const adtf::streaming::IStreamType &, const adtf::streaming::IStreamType &)
 Compares the oTypeExpected Stream Type with the oTypeToCheck - see Default Stream Meta Types in ADTF for a summary of implementations. More...
 

Static Public Attributes

static constexpr const tChar *const MetaTypeName = "adtf/anonymous"
 StreamMetaTypeName for anonymous.
 

Detailed Description

Use this Stream Meta Type only if no property should be set and you do not share and record these data.

Anonymous can be any kind of data.

Concept template to create the "adtf/anonymous" StreamMetaType with generator template stream_meta_type.

See also
Stream Meta Type

Definition at line 22 of file streammetatypeanonymous.h.

Member Function Documentation

◆ IsCompatible()

static tResult IsCompatible ( const adtf::streaming::IStreamType ,
const adtf::streaming::IStreamType  
)
inlinestatic

Compares the oTypeExpected Stream Type with the oTypeToCheck - see Default Stream Meta Types in ADTF for a summary of implementations.

This implementation of IsCompatible will always return ERR_NOERROR and accept all other meta type names.

Remarks
: For a complete definition of the delivered default types and the information of which Stream Type is compatible to another one then see Default Stream Meta Types in ADTF.
Return values
ERR_NOERRORtypes are always compatible
See also
Default Stream Meta Types in ADTF, AcceptType and IsCompatible implementations.

Definition at line 45 of file streammetatypeanonymous.h.

References RETURN_NOERROR.