|
|
|
virtual GENAPI_NAMESPACE::EAccessMode | GetAccessMode () const |
| | Get the access mode of the node.
|
| |
|
virtual void | Read (void *pBuffer, int64_t Address, int64_t Length) |
| | Reads a chunk of bytes from the port.
|
| |
|
virtual void | Write (const void *pBuffer, int64_t Address, int64_t Length) |
| | Writes a chunk of bytes to the port.
|
| |
|
virtual GENAPI_NAMESPACE::EInterfaceType | GetPrinicipalInterfaceType () const |
| | We are an IPort interface.
|
| |
| CLINT32 | GetEvent (void *buffer, CLUINT32 *bufferSize) |
| | We can get event data.
|
| |
|
| virtual CLINT32 CLPROTOCOL | clSerialRead (CLINT8 *buffer, CLUINT32 *bufferSize, CLUINT32 serialTimeOut) |
| | calls clSerialRead as defined by the camera link standard
|
| |
| virtual CLINT32 CLPROTOCOL | clSerialWrite (CLINT8 *buffer, CLUINT32 *bufferSize, CLUINT32 serialTimeOut) |
| | calls clSerialWrite as defined by the camera link standard
|
| |
| virtual CLINT32 CLPROTOCOL | clGetSupportedBaudRates (CLUINT32 *baudRates) |
| | returns the valid baud rates of the current interface.
|
| |
|
| static void | GetPortIDs (GENAPI_NAMESPACE::StringList_t &PortIDs) |
| | Retrieves a list of PortIDs which can be used to create a corresponding port object.
|
| |
| static ISerialAdapter * | GetPort (const GENICAM_NAMESPACE::gcstring &PortID) |
| | Gets a SerialAdapter port.
|
| |
| static void | GetDeviceIDTemplates (GENICAM_NAMESPACE::gcstring_vector &DeviceIDTemplates) |
| | Retrieves a list of DeviceID templates.
|
| |
| static GENICAM_NAMESPACE::gcstring | ProbeDevice (const GENICAM_NAMESPACE::gcstring &PortID, const GENICAM_NAMESPACE::gcstring &strDeviceIDTemplate, const CLUINT32 SerialTimeout=500) |
| | Connects a camera and retrieves all information required for the DeviceID.
|
| |
|
static void | StopProbing (CLUINT32 toStop) |
| | Stop all running ProbeDevice.
|
| |
| static GENICAM_NAMESPACE::gcstring | RegisterSerial (const GENICAM_NAMESPACE::gcstring &PortName, ISerialAdapter *pSerialAdapter) |
| | Register a custom serial port.
|
| |
|
static void | UnRegisterSerials () |
| | Unregister all resource related to serial port.
|
| |
|
static void | Terminate () |
| | Cleans up static variables.
|
| |
| static void | UnRegisterSerial (const GENICAM_NAMESPACE::gcstring &PortID) |
| | Unregister serial serial port.
|
| |
| void | Connect (const GENICAM_NAMESPACE::gcstring &PortID, const GENICAM_NAMESPACE::gcstring &strDeviceID) |
| | Creates a port object for a given PortID and DeviceID.
|
| |
| bool | Connect (const GENICAM_NAMESPACE::gcstring &PortID) |
| | Creates a port object for a given PortID taking the DeviceID from a internal cache.
|
| |
| void | GetXMLIDs (GENICAM_NAMESPACE::gcstring_vector &XMLIDs) |
| | Retrieves a list of XMLID strings.
|
| |
| GENICAM_NAMESPACE::gcstring | GetXML (GENICAM_NAMESPACE::gcstring XMLID, const bool UseMaxBaudrate=true) |
| | Retrieves an GenApi XML description either from the DLL or the file system.
|
| |
| void | DeleteXMLDownload (GENICAM_NAMESPACE::gcstring XMLID) |
| | Delete the device xml file from the download folder if the file was downloaded for the camera.
|
| |
| GENICAM_NAMESPACE::gcstring | GetXML (const bool UseMaxBaudrate=true) |
| | Retrieves the best matching GenApi XML description either from the DLL or the file system.
|
| |
| GENICAM_NAMESPACE::gcstring | MakeURLfromXMLID (GENICAM_NAMESPACE::gcstring &XMLID) |
| | Creates a file URL for a given XML ID.
|
| |
|
|
static void | SetDefaultLogLevel (const CLP_LOG_LEVEL_VALUE logLever) |
| | Set log level that is assigned to the device protocol when the dll is loaded.
|
| |
|
static void | StorePortIDDeviceIDPairs (GENICAM_NAMESPACE::gcstring_vector &PortIDs, GENICAM_NAMESPACE::gcstring_vector &DeviceIDs) |
| | Stores a PortID/DeviceID pair.
|
| |
|
static void | RetrievePortIDDeviceIDPairs (GENICAM_NAMESPACE::gcstring_vector &PortIDs, GENICAM_NAMESPACE::gcstring_vector &DeviceIDs) |
| | Retrieves a PortID/DeviceID pair.
|
| |
|
| CCLPort () |
| | Public constructor.
|
| |
|
virtual | ~CCLPort () |
| | Public destructor.
|
| |
| void | SetSerialTimeOut (const CLUINT32 Timeout) |
| | Sets the timeout for operations on the serial port.
|
| |
|
CLUINT32 | GetSerialTimeOut () const |
| | Gets the timeout for operations on the serial port.
|
| |
|
GENICAM_NAMESPACE::gcstring | GetDeviceID () const |
| | Returns the Device ID the object has been created with.
|
| |
|
void | SetProtocolLogLevel (const CLP_LOG_LEVEL_VALUE logLever) |
| | Set device protocol log lever.
|
| |
|
void | SetDeviceBauderate (const CLUINT32 baudrate) |
| | Set device bauderate using one of the CL_BAUDRATE_XXXX value.
|
| |
|
CLUINT32 | GetDeviceBauderate () |
| | Returns the current device bauderate, using one of the CL_BAUDRATE_XXXX value.
|
| |
|
CLUINT32 | SupportedBaudrates () |
| | Sed supported bauderates of the combined device and host interface.
|
| |
The class dynamically loads a protocol driver DLL and binds it to a given port. It implements the IPort and the ISerial interface.
The class can enumerate
- the PortIDs of all frame grabbers installed in the system
- the DeviceID templates of all CLProtocol drivers installed in the system The class can probe a port and retrieve the DeviceID of the attached camera. The class can retrieve the GenApi XML file for a camera.
| void GetXMLIDs |
( |
GENICAM_NAMESPACE::gcstring_vector & | XMLIDs | ) |
|
Retrieves a list of XML IDs from the file system and the CLProtocol.dll which in turn may ask the camera, e.g. by reading a Manifest register
The list contains only XML ID which would match the DeviceID and whose schema version can be interpreted by the current GenICam version.
The XML ID are order best matching first.
- Parameters
-
| [out] | XMLIDs | A list of XML IDs templates |