ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
streaming_functions.h
Go to the documentation of this file.
1
7#pragma once
8
9namespace adtf
10{
11namespace streaming
12{
13namespace ant
14{
21 template <typename WRITER_TYPE>
22 WRITER_TYPE& flush(WRITER_TYPE& oWriter)
23 {
24 oWriter.Flush();
25 return oWriter;
26 }
27
34 template <typename WRITER_TYPE>
35 WRITER_TYPE& trigger(WRITER_TYPE& oWriter)
36 {
37 oWriter.ManualTrigger();
38 return oWriter;
39 }
40
41} //namespace ant
42
43using ant::flush;
44using ant::trigger;
45
46} //namespace streaming
47} //namespace adtf
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
WRITER_TYPE & flush(WRITER_TYPE &oWriter)
Global function template to flush a writer.
WRITER_TYPE & trigger(WRITER_TYPE &oWriter)
Global function template to trigger a writers sample stream manually.
Namespace for the ADTF Streaming SDK.
Namespace for entire ADTF SDK.