Low Level API: The camera class for pylon GigE Vision camera devices. More...
#include <pylon/gige/PylonGigECamera.h>
Public Types | |
typedef Pylon::CBaslerGigEDeviceInfo | DeviceInfo_t |
Implementation of the GiGE specific device info object. | |
typedef Pylon::CPylonGigETLParams | TlParams_t |
Low Level API: Class for pylon GigE Vision cameras providing access to transport layer related parameters. | |
typedef Pylon::CPylonGigEStreamGrabber | StreamGrabber_t |
Low Level API: Class for pylon GigE Vision cameras providing access to stream grabber related methods and parameters. | |
typedef Pylon::CPylonGigEEventGrabber | EventGrabber_t |
Low Level API: Class for pylon GigE Vision cameras providing access to event grabber related methods and parameters. | |
Public Member Functions | |
Construction | |
CPylonGigECameraT () | |
Creates a camera object that is not attached to an pylon device. Use the Attach() method to attach the device. More... | |
CPylonGigECameraT (IPylonDevice *pDevice, bool takeOwnership=true) | |
Creates a camera object and attaches a camera object to a pylon device that takes the ownership over an pylon device. More... | |
Some smart pointer functionality | |
virtual void | Attach (IPylonDevice *, bool takeOwnership=true) |
Attach the camera object to a pylon device. More... | |
virtual bool | IsAttached () const |
Checks if a pylon device is attached to the camera object. More... | |
Implementation of the IPylonGigEDevice interface. | |
See Pylon::IPylonGigEDevice for more details. | |
void | ChangeIpConfiguration (bool EnablePersistentIp, bool EnableDhcp) |
Enables/disables use of persistent IP address and DHCP usage. More... | |
void | GetPersistentIpAddress (String_t &IpAddress, String_t &SubnetMask, String_t &DefaultGateway) |
Reads the persistent IP address from the device. More... | |
void | SetPersistentIpAddress (const String_t &IpAddress, const String_t &SubnetMask, const String_t &DefaultGateway) |
Writes a persistent IP address to the device. More... | |
Some smart pointer functionality | |
virtual bool | HasOwnership () const |
Checks if the camera object has the ownership of the pylon device. | |
virtual IPylonDevice * | GetDevice () const |
Returns the pylon device interface pointer. | |
Implementation of the IPylonDevice interface. | |
See Pylon::IPylonDevice for more details. | |
void | Open (AccessModeSet mode=(Stream|Control|Event)) |
Opens a device. More... | |
void | Close (void) |
Closes a device. More... | |
bool | IsOpen (void) const |
Checks if a device already is opened. More... | |
AccessModeSet | AccessMode (void) const |
Returns the access mode used to open the device. More... | |
const CDeviceInfo & | GetDeviceInfo (void) const |
Returns the device info object storing information like the device's name. More... | |
uint32_t | GetNumStreamGrabberChannels (void) const |
Returns the number of stream grabbers the camera object provides. More... | |
IStreamGrabber * | GetStreamGrabber (uint32_t index) |
Returns a pointer to a stream grabber. More... | |
IEventGrabber * | GetEventGrabber (void) |
Returns a pointer to an event grabber. More... | |
GenApi::INodeMap * | GetNodeMap (void) |
Returns the set of camera parameters. More... | |
GenApi::INodeMap * | GetTLNodeMap (void) |
Returns the set of camera related transport layer parameters. More... | |
Pylon::IChunkParser * | CreateChunkParser (void) |
Creates a chunk parser used to update those camera object members reflecting the content of additional data chunks appended to the image data. More... | |
void | DestroyChunkParser (Pylon::IChunkParser *pChunkParser) |
Deletes a chunk parser. More... | |
IEventAdapter * | CreateEventAdapter (void) |
Creates an Event adapter. More... | |
void | DestroyEventAdapter (IEventAdapter *pAdapter) |
Deletes an Event adapter. More... | |
virtual ISelfReliantChunkParser * | CreateSelfReliantChunkParser () |
Creates a a self-reliant chunk parser, returns NULL if not supported. More... | |
virtual void | DestroySelfReliantChunkParser (ISelfReliantChunkParser *pChunkParser) |
Deletes a self-reliant chunk parser. More... | |
DeviceCallbackHandle | RegisterRemovalCallback (DeviceCallback &d) |
Registers a surprise removal callback object. More... | |
bool | DeregisterRemovalCallback (DeviceCallbackHandle h) |
Deregisters a surprise removal callback object. More... | |
Static Public Member Functions | |
static String_t | DeviceClass () |
The name of this device class, use this for enumeration. | |
Low Level API: The camera class for pylon GigE Vision camera devices.
This is the base class for pylon GigE Vision cameras providing access to camera parameters.
TCameraParams | The camera specific parameter class (auto generated from camera xml file) |
|
inline |
Creates a camera object that is not attached to an pylon device. Use the Attach() method to attach the device.
|
inline |
Creates a camera object and attaches a camera object to a pylon device that takes the ownership over an pylon device.
When having the ownership, the destructor of this camera object destroys the pylon device the camera object is attached to. Otherwise, the pylon device object remains valid when the camera object has been destroyed.
|
inlineinherited |
Returns the access mode used to open the device.
|
inlinevirtualinherited |
Attach the camera object to a pylon device.
It is not allowed to call Attach when the camera object is already attached!
When having the ownership, the destructor of this camera object destroys the pylon device the camera object is attached to. Otherwise, the pylon device object remains valid when the camera object has been destroyed.
Reimplemented from Pylon::CPylonDeviceProxyT< TCameraParams >.
|
inlineinherited |
Enables/disables use of persistent IP address and DHCP usage.
|
inlineinherited |
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.
|
inlineinherited |
Creates a chunk parser used to update those camera object members reflecting the content of additional data chunks appended to the image data.
|
inlineinherited |
Creates an Event adapter.
|
inlinevirtualinherited |
Creates a a self-reliant chunk parser, returns NULL if not supported.
|
inlineinherited |
Deregisters a surprise removal callback object.
h | Handle of the callback to be removed |
|
inlineinherited |
Deletes a chunk parser.
pChunkParser | Pointer to the chunk parser to be deleted |
|
inlineinherited |
Deletes an Event adapter.
|
inlinevirtualinherited |
Deletes a self-reliant chunk parser.
|
inlineinherited |
Returns the device info object storing information like the device's name.
|
inlineinherited |
Returns a pointer to an event grabber.
Event grabbers are used to handle events sent from a camera device.
|
inlineinherited |
Returns the set of camera parameters.
|
inlineinherited |
Returns the number of stream grabbers the camera object provides.
|
inlineinherited |
Reads the persistent IP address from the device.
|
inlineinherited |
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 |
|
inlineinherited |
Returns the set of camera related transport layer parameters.
|
inlinevirtualinherited |
Checks if a pylon device is attached to the camera object.
Reimplemented from Pylon::CPylonDeviceProxyT< TCameraParams >.
|
inlineinherited |
Checks if a device already is opened.
|
inlineinherited |
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 |
|
inlineinherited |
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
|
inlineinherited |
Writes a persistent IP address to the device.
Writing the persistent IP address does not change the IP configuration. Use the ChangeIpConfiguration() method to enable the usage of persistent IP addresses.