areaDetector  3-5-0
EPICS areaDetector framework
Public Types | Public Member Functions | List of all members
grabberInterface Class Referenceabstract

Virtual class to represent any vendor frame grabber. More...

#include <grabberInterface.h>

Inheritance diagram for grabberInterface:
softwareGrabber

Public Types

enum  { gDALSA, gSISW, gSOFTWARE }
 

Public Member Functions

virtual int getGrabberType ()=0
 
virtual void GetSignalStatus ()=0
 
virtual bool CreateObjects ()=0
 
virtual bool DestroyObjects ()=0
 
virtual bool DestroyObjectsNoDelete ()=0
 
virtual bool initialize (int size_x, int size_y)=0
 
virtual bool initialize (int size_x, int size_y, bool is_force_size)=0
 
virtual void setConfigFileName (char *name)=0
 
virtual void setPin (char *pinstr, int val)=0
 
virtual void snap ()=0
 
virtual void grab ()=0
 
virtual void freeze ()=0
 
virtual void abort ()=0
 
virtual bool isFrameAvailable (void)=0
 
virtual bool getFrame (void *mem_ptr)=0
 
virtual bool getFrame (void *mem_ptr, unsigned int *grabberInterface_timestamp)=0
 
virtual bool getFrame (void *copy_memory, unsigned int *coreco_timestamp, int nbytes)=0
 
virtual bool isMissedFrame (void)=0
 
virtual void clearMissedFrames (void)=0
 
virtual long getTotalMissedFrames (void)=0
 
virtual long getRecentMissedFrames (void)=0
 
virtual void setNumBuffers (int b)=0
 
virtual void makeView (void)=0
 
virtual void setCamController (void *cc)=0
 
virtual int getWidth (void)=0
 
virtual int getHeight (void)=0
 
virtual void setDoubleWidth (int isdw)=0
 
virtual void resetBufferCount (void)=0
 
virtual int getNumFreeBuffers (void)=0
 
virtual int getNumBuffers (void)=0
 
virtual void incMissedFrames (void)=0
 

Detailed Description

Virtual class to represent any vendor frame grabber.

Inherit this class and use the subclass to call whatevery vendor api is there. Hide all vendor API calles in this interface. this allows use fo any grabber.

Author
Tim madden
Date
2009

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
gDALSA 
gSISW 
gSOFTWARE 

Member Function Documentation

◆ abort()

virtual void grabberInterface::abort ( )
pure virtual

Implemented in softwareGrabber.

◆ clearMissedFrames()

virtual void grabberInterface::clearMissedFrames ( void  )
pure virtual

Implemented in softwareGrabber.

◆ CreateObjects()

virtual bool grabberInterface::CreateObjects ( )
pure virtual

Implemented in softwareGrabber.

◆ DestroyObjects()

virtual bool grabberInterface::DestroyObjects ( )
pure virtual

Implemented in softwareGrabber.

◆ DestroyObjectsNoDelete()

virtual bool grabberInterface::DestroyObjectsNoDelete ( )
pure virtual

Implemented in softwareGrabber.

◆ freeze()

virtual void grabberInterface::freeze ( )
pure virtual

Implemented in softwareGrabber.

◆ getFrame() [1/3]

virtual bool grabberInterface::getFrame ( void *  mem_ptr)
pure virtual

Implemented in softwareGrabber.

◆ getFrame() [2/3]

virtual bool grabberInterface::getFrame ( void *  mem_ptr,
unsigned int *  grabberInterface_timestamp 
)
pure virtual

Implemented in softwareGrabber.

◆ getFrame() [3/3]

virtual bool grabberInterface::getFrame ( void *  copy_memory,
unsigned int *  coreco_timestamp,
int  nbytes 
)
pure virtual

Implemented in softwareGrabber.

◆ getGrabberType()

virtual int grabberInterface::getGrabberType ( )
pure virtual

Implemented in softwareGrabber.

◆ getHeight()

virtual int grabberInterface::getHeight ( void  )
pure virtual

Implemented in softwareGrabber.

◆ getNumBuffers()

virtual int grabberInterface::getNumBuffers ( void  )
pure virtual

Implemented in softwareGrabber.

◆ getNumFreeBuffers()

virtual int grabberInterface::getNumFreeBuffers ( void  )
pure virtual

Implemented in softwareGrabber.

◆ getRecentMissedFrames()

virtual long grabberInterface::getRecentMissedFrames ( void  )
pure virtual

Implemented in softwareGrabber.

◆ GetSignalStatus()

virtual void grabberInterface::GetSignalStatus ( )
pure virtual

Implemented in softwareGrabber.

◆ getTotalMissedFrames()

virtual long grabberInterface::getTotalMissedFrames ( void  )
pure virtual

Implemented in softwareGrabber.

◆ getWidth()

virtual int grabberInterface::getWidth ( void  )
pure virtual

Implemented in softwareGrabber.

◆ grab()

virtual void grabberInterface::grab ( )
pure virtual

Implemented in softwareGrabber.

◆ incMissedFrames()

virtual void grabberInterface::incMissedFrames ( void  )
pure virtual

Implemented in softwareGrabber.

◆ initialize() [1/2]

virtual bool grabberInterface::initialize ( int  size_x,
int  size_y 
)
pure virtual

Implemented in softwareGrabber.

◆ initialize() [2/2]

virtual bool grabberInterface::initialize ( int  size_x,
int  size_y,
bool  is_force_size 
)
pure virtual

Implemented in softwareGrabber.

◆ isFrameAvailable()

virtual bool grabberInterface::isFrameAvailable ( void  )
pure virtual

Implemented in softwareGrabber.

◆ isMissedFrame()

virtual bool grabberInterface::isMissedFrame ( void  )
pure virtual

Implemented in softwareGrabber.

◆ makeView()

virtual void grabberInterface::makeView ( void  )
pure virtual

Implemented in softwareGrabber.

◆ resetBufferCount()

virtual void grabberInterface::resetBufferCount ( void  )
pure virtual

Implemented in softwareGrabber.

◆ setCamController()

virtual void grabberInterface::setCamController ( void *  cc)
pure virtual

Implemented in softwareGrabber.

◆ setConfigFileName()

virtual void grabberInterface::setConfigFileName ( char *  name)
pure virtual

Implemented in softwareGrabber.

◆ setDoubleWidth()

virtual void grabberInterface::setDoubleWidth ( int  isdw)
pure virtual

Implemented in softwareGrabber.

◆ setNumBuffers()

virtual void grabberInterface::setNumBuffers ( int  b)
pure virtual

Implemented in softwareGrabber.

◆ setPin()

virtual void grabberInterface::setPin ( char *  pinstr,
int  val 
)
pure virtual

Implemented in softwareGrabber.

◆ snap()

virtual void grabberInterface::snap ( )
pure virtual

Implemented in softwareGrabber.


The documentation for this class was generated from the following file: