the Transport Layer Factory More...
#include <pylon/TlFactory.h>
Public Member Functions | |
int | EnumerateTls (TlInfoList_t &) |
Retrieve a list of available transport layers. | |
ITransportLayer * | CreateTl (const CTlInfo &) |
Create a transport layer object from a TlInfo object. | |
ITransportLayer * | CreateTl (const String_t &DeviceClass) |
Create a transport layer object specified by the transport layer's device class identifier. | |
void | ReleaseTl (const ITransportLayer *) |
Destroys a transport layer object. | |
virtual int | EnumerateDevices (DeviceInfoList_t &, bool addToList=false) |
returns a list of available devices, see IDeviceFactory for more information | |
virtual int | EnumerateDevices (DeviceInfoList_t &list, const DeviceInfoList_t &filter, bool addToList=false) |
returns a list of available devices that match the filter, see IDeviceFactory for more information | |
virtual IPylonDevice * | CreateDevice (const CDeviceInfo &di) |
creates a device from a device info object, see IDeviceFactory for more information | |
virtual IPylonDevice * | CreateFirstDevice (const CDeviceInfo &di=CDeviceInfo()) |
creates first found device from a device info object, see IDeviceFactory for more information | |
virtual IPylonDevice * | CreateDevice (const CDeviceInfo &di, const StringList_t &InjectedXmlStrings) |
creates a device from a device info object, injecting additional GenICam XML definition strings | |
virtual IPylonDevice * | CreateFirstDevice (const CDeviceInfo &di, const StringList_t &InjectedXmlStrings) |
creates first found device from a device info object, injecting additional GenICam XML definition strings | |
virtual IPylonDevice * | CreateDevice (const String_t &) |
virtual void | DestroyDevice (IPylonDevice *) |
destroys a device | |
virtual bool | IsDeviceAccessible (const CDeviceInfo &deviceInfo, AccessModeSet mode=Control, EDeviceAccessiblityInfo *pAccessibilityInfo=NULL) |
This method can be used to check if a camera device can be created and opened. More... | |
Static Public Member Functions | |
static CTlFactory & | GetInstance () |
the Transport Layer Factory
Creates, Destroys and Enumerates transport layers as well as their devices.
|
virtual |
This method is deprecated. Use CreateDevice receiving a CDeviceInfo object containing the full name as property. example: IPylonDevice* device = TlFactory.CreateDevice( CDeviceInfo().SetFullName( fullname)); creates a device by its unique name (i.e. fullname)
Implements Pylon::IDeviceFactory.
|
static |
Retrieve the transport layer factory singleton. Throws an exception when Pylon::PylonInitialize() has not been called before.
|
virtual |
This method can be used to check if a camera device can be created and opened.
This method accepts either a device info object from a device enumeration or a user-provided device info object. User-provided device info objects can be preset with properties required for a device, e.g. the user-provided name or the serial number. The implementation tries to find a matching camera by using device enumeration. When the device class property is set, the search is limited to the required transport layer.
[in] | deviceInfo | Properties of the camera device. |
[in] | mode | Used for defining how a device is accessed. The use of the mode information is transport layer-specific. For IIDC 1394 devices the mode information is ignored. For GigE devices the Exclusive and Control flags are used for defining how a device is accessed. |
[in] | pAccessibilityInfo | Optionally provides more information about why a device is not accessible. |
deviceInfo
object properties specify exactly one device. This is the case when the device info object has been obtained using device enumeration.Implements Pylon::IDeviceFactory.