102 T* tmp = (T*) buffer;
TsBuffer(size_t size)
Constructor allocates required memory.
Definition: PylonUtils.h:85
static ICLIO_API bool initPylonEnv()
Initializes the Pylon environment.
void setBufferHandle(Pylon::StreamBufferHandle hBuffer)
Definition: PylonUtils.h:68
int m_Read
The object currently read from.
Definition: PylonUtils.h:171
size_t m_Size
holdss the size of m_Buffer
Definition: PylonUtils.h:82
icl::core::ImgBase * m_Image
To this ImageBase the converted image is written.
Definition: PylonUtils.h:117
undocument this line if you encounter any issues!
Definition: Any.h:37
ICLIO_API ~AcquisitionInterruptor()
Starts acquisition if stopped before.
bool m_Avail
tells whether an actualized object was written.
Definition: PylonUtils.h:173
Ipp8u icl8u
8Bit unsigned integer type for the ICL
Definition: BasicTypes.h:64
ICLIO_API int channelFromArgs(std::string args)
Uses args to find out which BufferChannel to use.
icl8u * m_ImageBuff
Buffer für color conversion.
Definition: PylonUtils.h:119
ICLIO_API PylonAutoEnv()
Initializes Pylon environment if not already done.
ICLIO_API ConvBuffers()
Constructor sets all pointers to NULL.
utils::Mutex m_Mutex
the Mutex is used for concurrent reading and writing.
Definition: PylonUtils.h:165
T * m_Buffer
Buffer for image information.
Definition: PylonUtils.h:78
ICLIO_API void printHelp()
Prints help-information to std::cout.
virtual void acquisitionStop()=0
stops the acquisition
Buffer, registered to the Pylon-drivers StreamGrabber.
Definition: PylonUtils.h:47
ICLIO_API ConcGrabberBuffer()
Constructor creates and initializes resources.
~TsBuffer()
Frees allocated memory.
Definition: PylonUtils.h:91
ICLIO_API AcquisitionInterruptor(Interruptable *i, bool mock=false)
stops the acquisiton
virtual void grabbingStart()=0
starts grabbing
PylonGrabberBuffer(size_t size)
Definition: PylonUtils.h:53
A buffer holding image information and timestamp.
Definition: PylonUtils.h:75
uint64_t m_Timestamp
Buffer for image-timestamp.
Definition: PylonUtils.h:80
ICLIO_API ~GrabbingInterruptor()
Destructor calls grabbingStart().
ICLIO_API GrabbingInterruptor(Interruptable *i, bool mock=false)
Constructor calls grabbingStop().
ICLIO_API ConvBuffers * getNextWriteBuffer()
returns a pointer to the next write ConvBuffers.
ICLIO_API ~ConcGrabberBuffer()
Destructor frees allocated memory.
ICLIO_API Pylon::CDeviceInfo getDeviceFromArgs(std::string args)
Uses args to find demanded device.
icl16s * m_ImageBuff16
Buffer für 16 bit mono copy.
Definition: PylonUtils.h:121
ICLIO_API bool newAvailable()
tells whether a new ConvBuffers is available
Utility Structure.
Definition: PylonUtils.h:221
int m_Write
The object currently written to.
Definition: PylonUtils.h:167
T * m_pBuffer
Definition: PylonUtils.h:49
int m_Next
The write object currently not written to.
Definition: PylonUtils.h:169
This class holds all buffers needed for ColorConversion.
Definition: PylonUtils.h:108
#define ICLIO_API
Definition: CompatMacros.h:176
virtual void acquisitionStart()=0
starts the acquisition
virtual ~Interruptable()
Virtual destructor.
Definition: PylonUtils.h:204
Interruptable * m_Interu
A pointer to the PylonGrabberImpl that is to be stopped.
Definition: PylonUtils.h:224
ICLQt_API core::Img< T > filter(const core::Img< T > &image, const std::string &filter)
applies a filter operation on the source image (affinity for float)
Utility Structure.
Definition: PylonUtils.h:202
T * getBufferPointer(void)
Definition: PylonUtils.h:62
ICLIO_API void free()
deletes Objects pointed at, when pointer != NULL
ICLIO_API ~PylonAutoEnv()
Terminates Pylon environment when (calls to term) == (calls to init).
std::vector< icl16s * > * m_Channels16
Vector for 16bit mono-channel.
Definition: PylonUtils.h:127
ICLIO_API void setReset()
mark ConvBuffers to be reset on next write-access.
ICLIO_API ConvBuffers * getNextReadBuffer()
returns a pointer to the most recent actualized ConvBuffers.
Pylon::StreamBufferHandle m_hBuffer
Definition: PylonUtils.h:50
This is used for concurrent writing and reading of ConvBuffers.
Definition: PylonUtils.h:137
Interruptable * m_Interu
A pointer to the Interruptable that needs to be stopped.
Definition: PylonUtils.h:246
bool m_Reset
boolean showing whether this buffers need a reset
Definition: PylonUtils.h:129
ConvBuffers * m_Buffers[3]
current objects which alternately are read and written.
Definition: PylonUtils.h:163
~PylonGrabberBuffer()
Definition: PylonUtils.h:58
Base class for Exception handling in the ICL.
Definition: Exception.h:42
Pylon::StreamBufferHandle getBufferHandle(void)
Definition: PylonUtils.h:65
std::vector< icl8u * > * m_Channels
Vector for channels.
Definition: PylonUtils.h:125
void copy(const T *src, const T *srcEnd, T *dst)
moves data from source to destination array (no casting possible)
Definition: CoreFunctions.h:216
Ipp16s icl16s
16bit signed integer type for the ICL (range [-32767, 32768 ])
Definition: BasicTypes.h:61
static ICLIO_API bool termPylonEnv()
terminates the Pylon environment.
ICLIO_API ~ConvBuffers()
calls free
Utility Structure.
Definition: PylonUtils.h:183
Mutex class of the ICL.
Definition: Mutex.h:54
icl::core::Img8u * m_ImageRGBA
Buffer for interlieved-to-planar conversion.
Definition: PylonUtils.h:123
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131
ICLIO_API Pylon::DeviceInfoList_t getPylonDeviceList(Pylon::DeviceInfoList_t *filter=NULL)
Returns a list of available Pylon devices.
virtual void grabbingStop()=0
stops grabbing
void copy(void *buffer)
uses icl::io::pylon::TsBuffer::copy to write buffer-data to m_Buffer
Definition: PylonUtils.h:101
Utility Structure.
Definition: PylonUtils.h:243