28 #ifndef ADDINGRABBER_H
29 #define ADDINGRABBER_H
31 #include "addInInterface.h"
33 #include "../DataObject/dataobj.h"
34 #include "sharedStructuresQt.h"
35 #include "sharedStructures.h"
37 #if !defined(Q_MOC_RUN) || defined(ITOMCOMMONQT_MOC) //only moc this file in itomCommonQtLib but not in other libraries or executables linking against this itomCommonQtLib
41 class AddInGrabberPrivate;
60 void timerEvent (QTimerEvent *event);
89 inline void incGrabberStarted()
94 runStatusChanged(
true);
99 inline void decGrabberStarted()
104 runStatusChanged(
false);
109 inline void setGrabberStarted(
int value)
112 runStatusChanged( value > 0 );
124 #endif //#if !defined(Q_MOC_RUN) || defined(ITOMCOMMONQT_MOC)
dataObject contains a n-dimensional matrix
Definition: dataobj.h:511
Class for managing status values (like errors or warning)
Definition: retVal.h:54
base class for all dataIO plugin classes
Definition: addInInterface.h:661
Definition: apiFunctionsGraph.cpp:39
int m_started
counter indicating how many times startDevice has been called
Definition: addInGrabber.h:55
int grabberStartedCount()
Definition: addInGrabber.h:86
Inherit from AddInGrabber if you write a camera/grabber plugin. Please call the constructor of AddInG...
Definition: addInGrabber.h:43
Definition: addInGrabber.cpp:35