ADTF  3.18.2
sampleinfo.h
Go to the documentation of this file.
1 
7 #pragma once
8 #include "sampleinfo_intf.h"
9 #include "sample_intf.h"
10 
11 namespace adtf
12 {
13 namespace streaming
14 {
15 namespace ant
16 {
17 
26 adtf::util::cVariant get_sample_info(const ISampleInfo& oSampleInfo, const ISampleInfo::tHashKey& oHash, const adtf::util::cVariant oDefault);
27 
35 adtf::util::cVariant get_sample_info(const ISampleInfo& oSampleInfo, const ISampleInfo::tHashKey& oHash);
36 
45 adtf::util::cVariant get_sample_info(const ISample& oSample, const ISampleInfo::tHashKey& oHash, const adtf::util::cVariant oDefault);
53 adtf::util::cVariant get_sample_info(const ISample& oSample, const ISampleInfo::tHashKey& oHash);
54 
64 tResult set_sample_info(ISampleInfo& oSampleInfo, const ISampleInfo::tHashKey& oHash, const adtf::util::cVariant oValue);
74 tResult set_sample_info(ISample& oSample, const ISampleInfo::tHashKey& oHash, const adtf::util::cVariant oValue);
75 
76 
85 
86 
87 } //namespace ant
91 } //namespace streaming
92 } //namespace adtf
adtf::util::cStringUtil::tHashKey32 tHashKey
Type for the HashKey of the Value.
The ISample interface sets and retrieves properties on samples .
Definition: sample_intf.h:35
Interface for additional sample information on a Additional Sample Information.
adtf::util::cVariant get_sample_info(const ISampleInfo &oSampleInfo, const ISampleInfo::tHashKey &oHash, const adtf::util::cVariant oDefault)
Retrieves a variant value for the hash key oHash out of the sample information oSampleInfo .
tResult set_sample_info(ISampleInfo &oSampleInfo, const ISampleInfo::tHashKey &oHash, const adtf::util::cVariant oValue)
Sets a variant value for the hash key oHash into the sample information oSampleInfo.
ISampleInfo::tHashKey create_sample_info_hash_key(const char *strToHash)
Generation of unambigious hash key for a string.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.