ADTF
streaming_functions.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace adtf
10 {
11 namespace streaming
12 {
13 namespace 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 
43 using ant::flush;
44 using ant::trigger;
45 
46 } //namespace streaming
47 } //namespace adtf
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 entire ADTF SDK.