30
4. We reach the end of the block where the local variable
buf
has been created. It gets out of
scope and is destroyed: the
ScopedBuffer
destructor is called. This causes the GenTL buffer
contained in
buf
to be re-queued (given back) to the data stream of the grabber.
Example of program output:
event timestamp: 77185931621 us, buffer timestamp: 77185919807 us
event timestamp: 77185951618 us, buffer timestamp: 77185939809 us
event timestamp: 77185971625 us, buffer timestamp: 77185959810 us
event timestamp: 77185991611 us, buffer timestamp: 77185979812 us
event timestamp: 77186011605 us, buffer timestamp: 77185999808 us
event timestamp: 77186031622 us, buffer timestamp: 77186019809 us
event timestamp: 77186051614 us, buffer timestamp: 77186039810 us
event timestamp: 77186071611 us, buffer timestamp: 77186059811 us
event timestamp: 77186091602 us, buffer timestamp: 77186079812 us
event timestamp: 77186111607 us, buffer timestamp: 77186099814 us
5.7. Relevant files
include/EGrabber.h
Main header. Includes all the other headers except
include/RGBConverter.h
. Defines
Euresys::EGrabber
,
Euresys::Buffer
,
Euresys::ScopedBuffer
include/EGrabberTypes.h
Defines data types related to
Euresys::EGrabber
include/EGenTL.h
Defines
Euresys::EGenTL
include/GenTL_v1_5.h
Standard GenTL header. Defines standard types, functions and constants
include/GenTL_v1_5_EuresysCustom.h
Defines Coaxlink-specific constants
include/RGBConverter.h
Defines
Euresys::RGBConverter
helper class
Coaxlink
Programmer Guide
5. Euresys::EGrabber