13 #include <type_traits>
33 using tVersion = ::adtf_util::tVersion;
109 template <
typename T>
116 template <
typename C>
static two test(...);
123 template <
typename T,
typename Enable =
void>
134 template <
typename T>
139 T::SetProperties(pProperties);
143 template <
typename T>
151 template <
typename C>
static two test(...);
158 template <
typename T,
typename Enable =
void>
164 static constexpr
bool HasIsCompatible()
176 template <
typename T>
179 static constexpr
bool HasIsCompatible()
187 return T::IsCompatible(oSourceType, oDestinationType);
232 template <
typename MetaTypeStruct>
302 template <
typename MetaType>
340 m_pTimeStamp = oTimeStamp;
374 template <
typename StreamMetaType>
390 using ant::cStreamMetaType;
393 using ant::cStreamType;
399 using flash::stream_type;
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
tInt64 tTimeStamp
type definition for a time value.
#define RETURN_NOERROR
Return status ERR_NOERROR, which requires the calling function's return type to be tResult.
#define RETURN_ERROR(code)
Return specific error code, which requires the calling function's return type to be tResult.
A common result class usable as return value throughout.
Defintion of a property set container interface.
The IString interface provides methods for getting and setting strings through abstract interfaces.
Defines access methods for the interface of a Stream Type - see also Stream Type and Stream Meta Type...
Default StreamType implementation.
cStreamType(cStreamType &&oType)=delete
hide move CTOR
cStreamType & operator=(const cStreamType &oType)=delete
hide copy operator
cStreamType(const MetaType &)
Convenience CTOR will create an Instance of given Stream Meta Type oTypeDefintion and sets the defaul...
cStreamType & operator=(cStreamType &&oType)=delete
hide move operator
tResult GetConfig(adtf::ucom::iobject_ptr< const base::ant::IProperties > &pProperties) const override
Get all properties of a Stream Type (read/write)
tResult GetMetaTypeName(base::ant::IString &&strTypeName) const override
Get the meta type name of this instance.
cStreamType(const IStreamType &pType)
Copy CTOR will create fully deep copy of given pType.
cStreamType(const cStreamType &oType)=delete
hide copy CTOR
virtual ~cStreamType()
DTOR.
tResult GetConfig(adtf::ucom::iobject_ptr< base::ant::IProperties > &pProperties) override
Get all properties of a Stream Type (read/write)
cStreamType()
Default CTOR.
adtf::ucom::object_ptr< const IStreamMetaType > m_pStreamMetaType
The StreamMetaType Definiton.
adtf::util::tVersion GetVersion() const override
Get version of this instance of the StreamMetaType.
tResult GetMetaType(adtf::ucom::iobject_ptr< const IStreamMetaType > &pMetaType) const override
Get the Stream Meta Type definition of the Stream Type.
adtf::ucom::object_ptr< base::ant::IProperties > m_pProperties
Properties of this instance.
Generator template to implement a ant::IStreamType based on a Stream Meta Type - see Stream Type and ...
stream_type()
Constructor that initializes the Stream Type with the given StreamMetaType class type.
Base object pointer to realize binary compatible reference counting in interface methods.
Object pointer implementation used for reference counting on objects of type IObject.
Use this template if you want to implement an ucom::ant::IObject based Interface and/or subclass an e...
string_base< cStackString > cString
cString implementation for a stack string which works on stack if string is lower than A_UTILS_DEFAUL...
Namespace for the ADTF uCOM3 SDK.
Namespace for entire ADTF SDK.
datamodel::StreamMetaType StreamMetaType
Reuse of datamodel streammetatype class - ddl::dd::datamodel::StreamMetaType.
@ stream_meta_type
the type is an stream meta type (StreamMetaType)
Copyright © Audi Electronics Venture GmbH.