ADTF
Loading...
Searching...
No Matches
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{
22{
24 static constexpr const tChar *const MetaTypeName = "adtf/anonymous";
29 {
30 }
31
38 static tResult IsCompatible(const adtf::streaming::IStreamType& /* oTypeToCheck */,
39 const adtf::streaming::IStreamType& /* oTypeExpected */)
40 {
41 //always return ERR_NOERROR
42 //this meta type compatible implemenation accept every thing!
44 }
45};
46
47}
48
49namespace penguin
50{
56template<typename T = void>
57class stream_type_anonymous : public ant::cStreamType
58{
59public:
60 stream_type_anonymous():
62 {
63 }
64};
65} // namespace penguin
66
70
71} //namespace streaming
72} //namespace adtf
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
#define RETURN_NOERROR
Return status ERR_NOERROR, which requires the calling function's return type to be tResult.
Definition result.h:29
Defines access methods for the interface of a Stream Type.
Definition streamtype_intf.h:96
Definition streamtype.h:276
Generator template to create an instance of a ant::IStreamType class for ant::stream_meta_type_anonym...
Definition streammetatypeanonymous.h:58
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Definition bindingproxyoutport.h:16
Namespace for the ADTF Streaming SDK.
Definition bindingproxyinport.h:14
ant::iobject_ptr< T > iobject_ptr
Alias always bringing the latest version of ant::iobject_ptr into scope.
Definition object_ptr_intf.h:437
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14
Use this Stream Meta Type only if no property should be set and you do not share and record these dat...
Definition streammetatypeanonymous.h:22
static tResult IsCompatible(const adtf::streaming::IStreamType &, const adtf::streaming::IStreamType &)
Compares the oTypeExpected Stream Type with the oTypeToCheck.
Definition streammetatypeanonymous.h:38
static constexpr const tChar *const MetaTypeName
StreamMetaTypeName for anonymous.
Definition streammetatypeanonymous.h:24
static void SetProperties(const adtf::ucom::iobject_ptr< adtf::base::IProperties > &)
Definition streammetatypeanonymous.h:28