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
{
22
struct
stream_meta_type_anonymous
23
{
25
static
constexpr
const
tChar
*
const
MetaTypeName
=
"adtf/anonymous"
;
29
static
void
SetProperties
(
const
adtf::ucom::iobject_ptr<adtf::base::IProperties>
&
/* pProperties */
)
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!
50
RETURN_NOERROR
;
51
}
52
};
53
54
}
55
56
namespace
penguin
57
{
63
template
<
typename
T =
void
>
64
class
stream_type_anonymous
:
public
ant::cStreamType
65
{
66
public
:
67
stream_type_anonymous
():
68
ant::cStreamType
(
ant::stream_meta_type_anonymous
())
69
{
70
}
71
};
72
}
// namespace penguin
73
75
using
ant::stream_meta_type_anonymous
;
76
using
penguin::stream_type_anonymous
;
77
78
}
//namespace streaming
79
}
//namespace adtf
tChar
char tChar
The tChar defines the type for platform character set (platform and compiler dependent type).
Definition:
builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/base/types.h:54
RETURN_NOERROR
#define RETURN_NOERROR
Return status ERR_NOERROR, which requires the calling function's return type to be tResult.
Definition:
builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/base/error.h:27
A_UTILS_NS::cResult
A common result class usable as return value throughout.
Definition:
builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/core/result.h:18
adtf::streaming::ant::IStreamType
Defines access methods for the interface of a Stream Type - see also Stream Type and Stream Meta Type...
Definition:
streamtype_intf.h:103
adtf::streaming::ant::cStreamType
Default StreamType implementation.
Definition:
streamtype.h:282
adtf::streaming::penguin::stream_type_anonymous
Generator template to create an instance of a ant::IStreamType class for ant::stream_meta_type_anonym...
Definition:
streammetatypeanonymous.h:65
adtf::ucom::ant::iobject_ptr
Base object pointer to realize binary compatible reference counting in interface methods.
Definition:
object_ptr_intf.h:74
adtf
Namespace for entire ADTF SDK.
Definition:
ddl_specification_legacy.dox:2
streamtype.h
Copyright © Audi Electronics Venture GmbH.
adtf::streaming::ant::stream_meta_type_anonymous
Use this Stream Meta Type only if no property should be set and you do not share and record these dat...
Definition:
streammetatypeanonymous.h:23
adtf::streaming::ant::stream_meta_type_anonymous::IsCompatible
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 ...
Definition:
streammetatypeanonymous.h:45
adtf::streaming::ant::stream_meta_type_anonymous::MetaTypeName
static constexpr const tChar *const MetaTypeName
StreamMetaTypeName for anonymous.
Definition:
streammetatypeanonymous.h:25
adtf::streaming::ant::stream_meta_type_anonymous::SetProperties
static void SetProperties(const adtf::ucom::iobject_ptr< adtf::base::IProperties > &)
Property setter for anonymous Stream Type.
Definition:
streammetatypeanonymous.h:29
Copyright © VW Group. All rights reserved. (Generated on Thu Mar 14 2024 by doxygen 1.9.1)