Low Level API: Interface for camera objects. More...
#include <pylon/Device.h>
Public Member Functions | |
virtual uint32_t | GetNumStreamGrabberChannels () const =0 |
Returns the number of stream grabbers the camera object provides. | |
virtual IStreamGrabber * | GetStreamGrabber (uint32_t index)=0 |
Returns a pointer to a stream grabber. More... | |
virtual IEventGrabber * | GetEventGrabber ()=0 |
Returns a pointer to an event grabber. More... | |
virtual GenApi::INodeMap * | GetNodeMap ()=0 |
Returns the set of camera parameters. More... | |
virtual GenApi::INodeMap * | GetTLNodeMap ()=0 |
Returns the set of camera related transport layer parameters. More... | |
virtual Pylon::IChunkParser * | CreateChunkParser ()=0 |
Creates a chunk parser used to update those camera object members reflecting the content of additional data chunks appended to the image data. More... | |
virtual void | DestroyChunkParser (Pylon::IChunkParser *pChunkParser)=0 |
Deletes a chunk parser. More... | |
virtual IEventAdapter * | CreateEventAdapter ()=0 |
Creates an Event adapter. | |
virtual void | DestroyEventAdapter (IEventAdapter *)=0 |
Deletes an Event adapter. | |
virtual ISelfReliantChunkParser * | CreateSelfReliantChunkParser ()=0 |
Creates a a self-reliant chunk parser, returns NULL if not supported. | |
virtual void | DestroySelfReliantChunkParser (ISelfReliantChunkParser *)=0 |
Deletes a self-reliant chunk parser. | |
virtual DeviceCallbackHandle | RegisterRemovalCallback (DeviceCallback &d)=0 |
Registers a surprise removal callback object. More... | |
virtual bool | DeregisterRemovalCallback (DeviceCallbackHandle h)=0 |
Deregisters a surprise removal callback object. More... | |
virtual void | Open (AccessModeSet mode=(Stream|Control|Event))=0 |
Opens a device. More... | |
virtual void | Close ()=0 |
Closes a device. More... | |
virtual bool | IsOpen () const =0 |
Checks if a device already is opened. More... | |
virtual AccessModeSet | AccessMode (void) const =0 |
Returns the access mode used to open the device. | |
virtual const CDeviceInfo & | GetDeviceInfo () const =0 |
Returns the device info object storing information like the device's name. More... | |
Low Level API: Interface for camera objects.
|
pure virtualinherited |
Closes a device.
The close method closes all involved drivers and an existing connection to the device will be released. Other applications now can access the device.
|
pure virtual |
Creates a chunk parser used to update those camera object members reflecting the content of additional data chunks appended to the image data.
|
pure virtual |
Deregisters a surprise removal callback object.
h | Handle of the callback to be removed |
|
pure virtual |
Deletes a chunk parser.
pChunkParser | Pointer to the chunk parser to be deleted |
|
pure virtualinherited |
Returns the device info object storing information like the device's name.
|
pure virtual |
Returns a pointer to an event grabber.
Event grabbers are used to handle events sent from a camera device.
|
pure virtual |
Returns the set of camera parameters.
|
pure virtual |
Returns a pointer to a stream grabber.
Stream grabbers (IStreamGrabber) are the objects used to grab images from a camera device. A camera device might be able to send image data over more than one logical channel called stream. A stream grabber grabs data from one single stream.
index | The number of the grabber to return |
|
pure virtual |
Returns the set of camera related transport layer parameters.
|
pure virtualinherited |
Checks if a device already is opened.
|
pure virtualinherited |
Opens a device.
The open method initializes all involved drivers and establishes a connection to the device.
A device may support different access modes, e.g. EDeviceAccessMode::Exclusive providing an exclusive access to the device.
mode | The desired device access mode |
|
pure virtual |
Registers a surprise removal callback object.
d | reference to a device callback object |
Example how to register a C function
Example how to register a class member function