ADTF  3.18.2
streammetatypeanonymous.h
Go to the documentation of this file.
1 
7 #pragma once
8 #include "streamtype.h"
9 #include <type_traits>
10 
11 namespace adtf
12 {
13 namespace streaming
14 {
15 namespace 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 
56 namespace penguin
57 {
63 template<typename T = void>
65 {
66 public:
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).
#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 ant::IStreamType class for ant::stream_meta_type_anonym...
Base object pointer to realize binary compatible reference counting in interface methods.
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.