ADTF  3.13.2
stream_meta_type_plain

Use this Stream Meta Type if your sample data will be any of this type: tBool, tUInt8, tInt8, tUInt16, tInt16, tUInt32, tInt32, tUInt64, tInt64, tFloat32 or tFloat64. More...

Static Public Member Functions

static tVoid SetProperties (const adtf::ucom::iobject_ptr< adtf::base::IProperties > &pProperties)
 Property setter for plaintype.
 
static tResult IsCompatible (const adtf::streaming::IStreamType &oTypeToCheck, const adtf::streaming::IStreamType &oTypeExpected)
 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/plaintype"
 StreamMetaTypeName for plaintype.
 
static constexpr const tChar *const PlainTypeProperty = "c-type"
 c-type Property for plaintype Stream Meta Type More...
 

Detailed Description

Use this Stream Meta Type if your sample data will be any of this type: tBool, tUInt8, tInt8, tUInt16, tInt16, tUInt32, tInt32, tUInt64, tInt64, tFloat32 or tFloat64.

Concept template to create the "adtf/plaintype" Stream Meta Type for the generator template stream_meta_type.

See also
Stream Meta Type

Definition at line 27 of file streammetatypeplain.h.

Member Function Documentation

◆ IsCompatible()

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

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

Compatible to all other stream types of any Stream Meta Type, where the following conditions are met:

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.
Parameters
[in]oTypeToCheckThe incoming type to check.
[in]oTypeExpectedThe expected type which values are more significant.
Return values
ERR_NOERRORtypes are compatible
See also
Default Stream Meta Types in ADTF, AcceptType and IsCompatible implementations.

Definition at line 72 of file streammetatypeplain.h.

References IStreamType::GetConfig(), stream_meta_type_plain::PlainTypeProperty, RETURN_ERROR_DESC, RETURN_IF_FAILED, and RETURN_NOERROR.

Member Data Documentation

◆ PlainTypeProperty

constexpr const tChar* const PlainTypeProperty = "c-type"
static

c-type Property for plaintype Stream Meta Type

Valid values for this "c-type" property are:

Definition at line 47 of file streammetatypeplain.h.

Referenced by stream_meta_type_plain::IsCompatible(), and stream_meta_type_plain::SetProperties().


Copyright © Audi Electronics Venture GmbH. All rights reserved. (Generated on Tue Nov 16 2021 by doxygen 1.8.14)