ADTF  3.18.2
stream_type_default< T >

Generator template to create an instance of the stream_meta_type_default. More...

Inheritance diagram for stream_type_default< T >:
[legend]

Public Member Functions

 stream_type_default ()
 CTOR. More...
 
 stream_type_default (ddl::DataRepresentation eDataRep)
 CTOR. More...
 
- Public Member Functions inherited from cStreamTypeDefaultBase
 cStreamTypeDefaultBase (std::string_view strMDStructName, std::string_view strMDDescription, ddl::DataRepresentation eMDDataRepresentation, size_t szFixArraySize, bool bValidate=false)
 
 cStreamTypeDefaultBase (std::string_view strMDStructName, ddl::DataRepresentation eMDDataRepresentation, size_t szFixArraySize)
 
- Public Member Functions inherited from cStreamType
 cStreamType ()
 Default CTOR.
 
template<typename MetaType >
 cStreamType (const MetaType &)
 Convenience CTOR will create an Instance of given Stream Meta Type oTypeDefintion and sets the default properties. More...
 
 cStreamType (const IStreamType &pType)
 Copy CTOR will create fully deep copy of given pType. More...
 
virtual ~cStreamType ()
 DTOR.
 
tTimeStamp GetTime () const
 
tResult SetTime (tTimeStamp oTimeStamp)
 
tResult GetMetaTypeName (base::ant::IString &&strTypeName) const override
 Get the meta type name of this instance. More...
 
adtf::util::tVersion GetVersion () const override
 Get version of this instance of the StreamMetaType. More...
 
tResult GetConfig (adtf::ucom::iobject_ptr< base::ant::IProperties > &pProperties) override
 Get all properties of a Stream Type (read/write) More...
 
tResult GetConfig (adtf::ucom::iobject_ptr< const base::ant::IProperties > &pProperties) const override
 Get all properties of a Stream Type (read/write) More...
 
tResult GetMetaType (adtf::ucom::iobject_ptr< const IStreamMetaType > &pMetaType) const override
 Get the Stream Meta Type definition of the Stream Type. More...
 
- Public Member Functions inherited from object< IStreamType >
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...
 

Additional Inherited Members

- Protected Member Functions inherited from cStreamType
 cStreamType (const cStreamType &oType)=delete
 hide copy CTOR
 
cStreamTypeoperator= (const cStreamType &oType)=delete
 hide copy operator
 
 cStreamType (cStreamType &&oType)=delete
 hide move CTOR
 
cStreamTypeoperator= (cStreamType &&oType)=delete
 hide move operator
 
- Protected Member Functions inherited from IObject
 ~IObject ()=default
 Protected destructor --> Use implemented Destroy() instead of delete!
 

Detailed Description

template<typename T = void>
class adtf::mediadescription::quiet::stream_type_default< T >

Generator template to create an instance of the stream_meta_type_default.

See Structured data types for usage of this stream type.

Template Parameters
TStructured data. std::is_trivially_copyable<T>::value must evaluate to true!
See also
Stream Meta Type "adtf/default" and how to use for Structured data

Definition at line 155 of file stream_type_default.h.

Constructor & Destructor Documentation

◆ stream_type_default() [1/2]

stream_type_default ( )
inline

CTOR.

Creates an instance of the stream_meta_type_default. This ctor expects a generated osborn::description for the given type!

Parameters
eDataRepThe repesentation to set.
See also
MD Generator Tool how to generate the description<T>
Remarks
Currently, it is assumed that ddl::DataRepresentation::deserialized is used as default, this might be deprecated in future to asure concrete representation.

Definition at line 178 of file stream_type_default.h.

◆ stream_type_default() [2/2]

CTOR.

Creates an instance of the stream_meta_type_default. This ctor expects a generated osborn::description for the given type!

Parameters
eDataRepThe repesentation to set.
See also
MD Generator Tool how to generate the description<T>

Definition at line 187 of file stream_type_default.h.