ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
streammetatypeanonymous.h
Go to the documentation of this file.
1
7#pragma once
8#include "streamtype.h"
9#include <type_traits>
10
11namespace adtf
12{
13namespace streaming
14{
15namespace ant
16{
23{
25 static constexpr const tChar *const MetaTypeName = "adtf/anonymous";
30 {
31 }
32
45 static tResult IsCompatible(const adtf::streaming::IStreamType& /* oTypeToCheck */,
46 const adtf::streaming::IStreamType& /* oTypeExpected */)
47 {
48 //always return ERR_NOERROR
49 //this meta type compatible implemenation accept every thing!
51 }
52};
53
54}
55
56namespace penguin
57{
63template<typename T = void>
64class stream_type_anonymous : public ant::cStreamType
65{
66public:
67 stream_type_anonymous():
69 {
70 }
71};
72} // namespace penguin
73
77
78} //namespace streaming
79} //namespace adtf
char tChar
The tChar defines the type for platform character set (platform and compiler dependent type).
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
#define RETURN_NOERROR
Return status ERR_NOERROR, which requires the calling function's return type to be tResult.
Defines access methods for the interface of a Stream Type - see also Stream Type and Stream Meta Type...
Default StreamType implementation.
Definition streamtype.h:282
Generator template to create an instance of a IStreamType class for stream_meta_type_anonymous ("adtf...
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Namespace for the ADTF Streaming SDK.
ant::iobject_ptr< T > iobject_ptr
Alias always bringing the latest version of ant::iobject_ptr into scope.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.
Use this Stream Meta Type only if no property should be set and you do not share and record these dat...
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 ...
static constexpr const tChar *const MetaTypeName
StreamMetaTypeName for anonymous.
static void SetProperties(const adtf::ucom::iobject_ptr< adtf::base::IProperties > &)
Property setter for anonymous Stream Type.