![]() |
PointSpread® Vidu™ Software Development Kit
V1
Vidu SDK
|
GenICam Transport Layer Client Interface. More...
#include <stdint.h>#include <stddef.h>
Go to the source code of this file.
Data Structures | |
| struct | S_EVENT_NEW_BUFFER |
| struct | S_PORT_REGISTER_STACK_ENTRY |
| struct | S_SINGLE_CHUNK_DATA |
| struct | S_DS_BUFFER_INFO_STACKED |
| struct | S_DS_BUFFER_PART_INFO_STACKED |
Typedefs | |
| typedef uint8_t | bool8_t |
| typedef int32_t | GC_ERROR |
| typedef void * | TL_HANDLE |
| typedef void * | IF_HANDLE |
| typedef void * | DEV_HANDLE |
| typedef void * | DS_HANDLE |
| typedef void * | PORT_HANDLE |
| typedef void * | BUFFER_HANDLE |
| typedef void * | EVENTSRC_HANDLE |
| typedef void * | EVENT_HANDLE |
| typedef int32_t | INFO_DATATYPE |
| typedef int32_t | TL_CHAR_ENCODING |
| typedef int32_t | TL_INFO_CMD |
| typedef int32_t | INTERFACE_INFO_CMD |
| typedef int32_t | DEVICE_ACCESS_FLAGS |
| typedef int32_t | DEVICE_ACCESS_STATUS |
| typedef int32_t | DEVICE_INFO_CMD |
| typedef int32_t | ACQ_STOP_FLAGS |
| typedef int32_t | ACQ_START_FLAGS |
| typedef int32_t | ACQ_QUEUE_TYPE |
| typedef int32_t | STREAM_INFO_CMD |
| typedef int32_t | BUFFER_INFO_CMD |
| typedef int32_t | BUFFER_PART_INFO_CMD |
| typedef int32_t | PAYLOADTYPE_INFO_ID |
| typedef int32_t | PIXELFORMAT_NAMESPACE_ID |
| typedef int32_t | PIXELENDIANNESS_ID |
| typedef int32_t | PARTDATATYPE_ID |
| typedef int32_t | PORT_INFO_CMD |
| typedef int32_t | URL_SCHEME_ID |
| typedef int32_t | URL_INFO_CMD |
| typedef int32_t | EVENT_TYPE |
| typedef int32_t | EVENT_INFO_CMD |
| typedef int32_t | EVENT_DATA_INFO_CMD |
| typedef int32_t | FLOW_INFO_CMD |
| typedef int32_t | SEGMENT_INFO_CMD |
| typedef struct S_EVENT_NEW_BUFFER | EVENT_NEW_BUFFER_DATA |
| typedef struct S_PORT_REGISTER_STACK_ENTRY | PORT_REGISTER_STACK_ENTRY |
| typedef struct S_SINGLE_CHUNK_DATA | SINGLE_CHUNK_DATA |
| typedef struct S_DS_BUFFER_INFO_STACKED | DS_BUFFER_INFO_STACKED |
| typedef struct S_DS_BUFFER_PART_INFO_STACKED | DS_BUFFER_PART_INFO_STACKED |
Functions | |
| GC_API | GCGetInfo (TL_INFO_CMD iInfoCmd, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| Get an infomation of the GenTL system object. More... | |
| GC_API | GCGetLastError (GC_ERROR *piErrorCode, char *sErrText, size_t *piSize) |
| Get the last errcode and error message. More... | |
| GC_API | GCInitLib (void) |
| Init the dynamic lib. More... | |
| GC_API | GCCloseLib (void) |
| Close the dynamic lib, tear down the intern object. More... | |
| GC_API | GCReadPort (PORT_HANDLE hPort, uint64_t iAddress, void *pBuffer, size_t *piSize) |
| Read the register of the GenTL object. Notice that address of one GenTL object is independent coded. More... | |
| GC_API | GCWritePort (PORT_HANDLE hPort, uint64_t iAddress, const void *pBuffer, size_t *piSize) |
| Write the register of the GenTL object. Notice that address of one GenTL object is independent coded. More... | |
| GC_API | GCGetPortURL (PORT_HANDLE hPort, char *sURL, size_t *piSize) |
| Get the url of description file which describe the GenTL object. More... | |
| GC_API | GCGetPortInfo (PORT_HANDLE hPort, PORT_INFO_CMD iInfoCmd, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| Get the information of GenTL object. More... | |
| GC_API | GCRegisterEvent (EVENTSRC_HANDLE hEventSrc, EVENT_TYPE iEventID, EVENT_HANDLE *phEvent) |
| Enable event tigger func of a GenTL object. More... | |
| GC_API | GCUnregisterEvent (EVENTSRC_HANDLE hEventSrc, EVENT_TYPE iEventID) |
| Disable event tigger func of a GenTL object, cooperate with the GCRegisterEvent function. More... | |
| GC_API | EventGetData (EVENT_HANDLE hEvent, void *pBuffer, size_t *piSize, uint64_t iTimeout) |
| Get a triggered event and then save data. More... | |
| GC_API | EventGetDataInfo (EVENT_HANDLE hEvent, const void *pInBuffer, size_t iInSize, EVENT_DATA_INFO_CMD iInfoCmd, INFO_DATATYPE *piType, void *pOutBuffer, size_t *piOutSize) |
| Acquire specific information from the event data. More... | |
| GC_API | EventGetInfo (EVENT_HANDLE hEvent, EVENT_INFO_CMD iInfoCmd, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| Get the infomation from the event handle. More... | |
| GC_API | EventFlush (EVENT_HANDLE hEvent) |
| Clear the event triggered stete if triggered. More... | |
| GC_API | EventKill (EVENT_HANDLE hEvent) |
| Kill the event state polling process. More... | |
| GC_API | TLOpen (TL_HANDLE *phTL) |
| Open the GenTL system module. More... | |
| GC_API | TLClose (TL_HANDLE hTL) |
| Close the GenTL system module, which may invalid all interface handle. More... | |
| GC_API | TLGetInfo (TL_HANDLE hTL, TL_INFO_CMD iInfoCmd, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| Get some infomation of the system module. More... | |
| GC_API | TLGetNumInterfaces (TL_HANDLE hTL, uint32_t *piNumIfaces) |
| Get number of interface module. More... | |
| GC_API | TLGetInterfaceID (TL_HANDLE hTL, uint32_t iIndex, char *sID, size_t *piSize) |
| Get interface module ID by index. More... | |
| GC_API | TLGetInterfaceInfo (TL_HANDLE hTL, const char *sIfaceID, INTERFACE_INFO_CMD iInfoCmd, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| Get some information of the interface module. More... | |
| GC_API | TLOpenInterface (TL_HANDLE hTL, const char *sIfaceID, IF_HANDLE *phIface) |
| Open the interface module. More... | |
| GC_API | TLUpdateInterfaceList (TL_HANDLE hTL, bool8_t *pbChanged, uint64_t iTimeout) |
| re-Enumerate the Interface module More... | |
| GC_API | IFClose (IF_HANDLE hIface) |
| Close the interface, all device based on this interface module should be inaccessible. More... | |
| GC_API | IFGetInfo (IF_HANDLE hIface, INTERFACE_INFO_CMD iInfoCmd, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| Get some information of the Interface. More... | |
| GC_API | IFGetNumDevices (IF_HANDLE hIface, uint32_t *piNumDevices) |
| Get number of device module. More... | |
| GC_API | IFGetDeviceID (IF_HANDLE hIface, uint32_t iIndex, char *sIDeviceID, size_t *piSize) |
| get ID string of the device module More... | |
| GC_API | IFUpdateDeviceList (IF_HANDLE hIface, bool8_t *pbChanged, uint64_t iTimeout) |
| re-Enumerate the device module More... | |
| GC_API | IFGetDeviceInfo (IF_HANDLE hIface, const char *sDeviceID, DEVICE_INFO_CMD iInfoCmd, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| Get some information of the device module. More... | |
| GC_API | IFOpenDevice (IF_HANDLE hIface, const char *sDeviceID, DEVICE_ACCESS_FLAGS iOpenFlag, DEV_HANDLE *phDevice) |
| Open the device module. More... | |
| GC_API | DevGetPort (DEV_HANDLE hDevice, PORT_HANDLE *phRemoteDevice) |
| Get the remote device write/read node. More... | |
| GC_API | DevGetNumDataStreams (DEV_HANDLE hDevice, uint32_t *piNumDataStreams) |
| Get number of device module. More... | |
| GC_API | DevGetDataStreamID (DEV_HANDLE hDevice, uint32_t iIndex, char *sDataStreamID, size_t *piSize) |
| Get stream module ID by index. More... | |
| GC_API | DevOpenDataStream (DEV_HANDLE hDevice, const char *sDataStreamID, DS_HANDLE *phDataStream) |
| Open the stream module. More... | |
| GC_API | DevGetInfo (DEV_HANDLE hDevice, DEVICE_INFO_CMD iInfoCmd, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| Get some information of the device. More... | |
| GC_API | DevClose (DEV_HANDLE hDevice) |
| Close the device, all stream based on this device module should be inaccessible. More... | |
| GC_API | DSAnnounceBuffer (DS_HANDLE hDataStream, void *pBuffer, size_t iSize, void *pPrivate, BUFFER_HANDLE *phBuffer) |
| Notify the GenTL stream module to use the allocated buffer for grabing stream. More... | |
| GC_API | DSAllocAndAnnounceBuffer (DS_HANDLE hDataStream, size_t iSize, void *pPrivate, BUFFER_HANDLE *phBuffer) |
| Notift the GenTL stream module to allocate buffer for grabing stream. More... | |
| GC_API | DSFlushQueue (DS_HANDLE hDataStream, ACQ_QUEUE_TYPE iOperation) |
| Clear the buffer queue which wait to be filled stream (image) data. More... | |
| GC_API | DSStartAcquisition (DS_HANDLE hDataStream, ACQ_START_FLAGS iStartFlags, uint64_t iNumToAcquire) |
| Start stream acquistion. More... | |
| GC_API | DSStopAcquisition (DS_HANDLE hDataStream, ACQ_STOP_FLAGS iStopFlags) |
| Stop the stream acquisition. More... | |
| GC_API | DSGetInfo (DS_HANDLE hDataStream, STREAM_INFO_CMD iInfoCmd, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| Get some information of the stream. More... | |
| GC_API | DSGetBufferID (DS_HANDLE hDataStream, uint32_t iIndex, BUFFER_HANDLE *phBuffer) |
| Get buffer handle by Index. More... | |
| GC_API | DSClose (DS_HANDLE hDataStream) |
| Close the stream. More... | |
| GC_API | DSRevokeBuffer (DS_HANDLE hDataStream, BUFFER_HANDLE hBuffer, void **pBuffer, void **pPrivate) |
| revoke the buffer attach to the GenTL stream module More... | |
| GC_API | DSQueueBuffer (DS_HANDLE hDataStream, BUFFER_HANDLE hBuffer) |
| Let the stream-attached buffer ready for grabing stream data. More... | |
| GC_API | DSGetBufferInfo (DS_HANDLE hDataStream, BUFFER_HANDLE hBuffer, BUFFER_INFO_CMD iInfoCmd, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| Get some information of the buffer. More... | |
| GC_API | GCReadPortByName (PORT_HANDLE hPort, const char *varName, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| Read the var of the GenTL object with var name. More... | |
| GC_API | GCWritePortByName (PORT_HANDLE hPort, const char *varName, INFO_DATATYPE *piType, const void *pBuffer, size_t *piSize) |
| Write the var of the GenTL object with var name. More... | |
| GC_API | PDBufferGetInfo (BUFFER_HANDLE hBuffer, BUFFER_INFO_CMD iInfoCmd, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| Get some information of the buffer (Simplified version compared with the standard GenTL version: DSGetBufferInfo) More... | |
| GC_API | PDBufferGetMeta (BUFFER_HANDLE hBuffer, uint32_t index, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| Get stream metadata information of the buffer. More... | |
| GC_API | PDBufferGetMetaByName (BUFFER_HANDLE hBuffer, const char *varName, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| Get stream metadata information of the buffer. More... | |
| GC_API | PDBufferGetMetaDesc (BUFFER_HANDLE hBuffer, uint32_t index, const char **ppVarName, const char **ppDescName) |
| Get name and the describe information of the metadata item. More... | |
| GC_API | PDBufferGetMetaNum (BUFFER_HANDLE hBuffer, size_t *pMetaItemNum) |
| Get number of the metadata items. More... | |
| GC_API | PDBufferSave (BUFFER_HANDLE hBuffer, const char *filesName, int opt) |
| Write the buffer to disk. More... | |
| GC_API | GCGetNumPortURLs (PORT_HANDLE hPort, uint32_t *piNumURLs) |
| Get the number of usrls the GenTL object belongs to. More... | |
| GC_API | GCGetPortURLInfo (PORT_HANDLE hPort, uint32_t iURLIndex, URL_INFO_CMD iInfoCmd, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| Get some informations of the selected url the GenTL object belongs to. More... | |
| GC_API | GCReadPortStacked (PORT_HANDLE hPort, PORT_REGISTER_STACK_ENTRY *pEntries, size_t *piNumEntries) |
| A set of GCReadPort operations. More... | |
| GC_API | GCWritePortStacked (PORT_HANDLE hPort, PORT_REGISTER_STACK_ENTRY *pEntries, size_t *piNumEntries) |
| A set of GCWritePort operations. More... | |
| GC_API | DSGetBufferChunkData (DS_HANDLE hDataStream, BUFFER_HANDLE hBuffer, SINGLE_CHUNK_DATA *pChunkData, size_t *piNumChunks) |
| GC_API | IFGetParentTL (IF_HANDLE hIface, TL_HANDLE *phSystem) |
| Get the GenTL system module which current interface is based on. More... | |
| GC_API | DevGetParentIF (DEV_HANDLE hDevice, IF_HANDLE *phIface) |
| Get the GenTL interface module which current device is based on. More... | |
| GC_API | DSGetParentDev (DS_HANDLE hDataStream, DEV_HANDLE *phDevice) |
| Get the GenTL device module which current stream is based on. More... | |
| GC_API | DSGetNumBufferParts (DS_HANDLE hDataStream, BUFFER_HANDLE hBuffer, uint32_t *piNumParts) |
| Get the number of parts of the buffer. More... | |
| GC_API | DSGetBufferPartInfo (DS_HANDLE hDataStream, BUFFER_HANDLE hBuffer, uint32_t iPartIndex, BUFFER_PART_INFO_CMD iInfoCmd, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| Get some information of the specific part of the buffer. More... | |
| GC_API | DSAnnounceCompositeBuffer (DS_HANDLE hDataStream, size_t iNumSegments, void **ppSegments, size_t *piSizes, void *pPrivate, BUFFER_HANDLE *phBuffer) |
| GC_API | DSGetBufferInfoStacked (DS_HANDLE hDataStream, BUFFER_HANDLE hBuffer, DS_BUFFER_INFO_STACKED *pInfoStacked, size_t iNumInfos) |
| GC_API | DSGetBufferPartInfoStacked (DS_HANDLE hDataStream, BUFFER_HANDLE hBuffer, DS_BUFFER_PART_INFO_STACKED *pInfoStacked, size_t iNumInfos) |
| GC_API | DSGetNumFlows (DS_HANDLE hDataStream, uint32_t *piNumFlows) |
| GC_API | DSGetFlowInfo (DS_HANDLE hDataStream, uint32_t iFlowIndex, FLOW_INFO_CMD iInfoCmd, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| GC_API | DSGetNumBufferSegments (DS_HANDLE hDataStream, BUFFER_HANDLE hBuffer, uint32_t *piNumSegments) |
| GC_API | DSGetBufferSegmentInfo (DS_HANDLE hDataStream, BUFFER_HANDLE hBuffer, uint32_t iSegmentIndex, SEGMENT_INFO_CMD iInfoCmd, INFO_DATATYPE *piType, void *pBuffer, size_t *piSize) |
| GC_API_P() | PPDBufferGetMetaNum (BUFFER_HANDLE hBuffer, size_t *pMetaItemNum) |
| GC_API_P() | PPDBufferSave (BUFFER_HANDLE hBuffer, const char *name, int opt) |
Variables | |
| TL_INFO_CMD | iInfoCmd |
| TL_INFO_CMD INFO_DATATYPE * | piType |
| TL_INFO_CMD INFO_DATATYPE void * | pBuffer |
| TL_INFO_CMD INFO_DATATYPE void size_t * | piSize |
| GC_ERROR * | piErrorCode |
| GC_ERROR char * | sErrText |
| void | |
| PORT_HANDLE | hPort |
| PORT_HANDLE uint64_t | iAddress |
| PORT_HANDLE char * | sURL |
| EVENTSRC_HANDLE | hEventSrc |
| EVENTSRC_HANDLE EVENT_TYPE | iEventID |
| EVENTSRC_HANDLE EVENT_TYPE EVENT_HANDLE * | phEvent |
| EVENT_HANDLE | hEvent |
| EVENT_HANDLE void size_t uint64_t | iTimeout |
| EVENT_HANDLE const void * | pInBuffer |
| EVENT_HANDLE const void size_t | iInSize |
| EVENT_HANDLE const void size_t EVENT_DATA_INFO_CMD INFO_DATATYPE void * | pOutBuffer |
| EVENT_HANDLE const void size_t EVENT_DATA_INFO_CMD INFO_DATATYPE void size_t * | piOutSize |
| TL_HANDLE * | phTL |
| TL_HANDLE | hTL |
| TL_HANDLE uint32_t * | piNumIfaces |
| TL_HANDLE uint32_t | iIndex |
| TL_HANDLE uint32_t char * | sID |
| TL_HANDLE const char * | sIfaceID |
| TL_HANDLE const char IF_HANDLE * | phIface |
| TL_HANDLE bool8_t * | pbChanged |
| IF_HANDLE | hIface |
| IF_HANDLE uint32_t * | piNumDevices |
| IF_HANDLE uint32_t char * | sIDeviceID |
| IF_HANDLE const char * | sDeviceID |
| IF_HANDLE const char DEVICE_ACCESS_FLAGS | iOpenFlag |
| IF_HANDLE const char DEVICE_ACCESS_FLAGS DEV_HANDLE * | phDevice |
| DEV_HANDLE | hDevice |
| DEV_HANDLE PORT_HANDLE * | phRemoteDevice |
| DEV_HANDLE uint32_t * | piNumDataStreams |
| DEV_HANDLE uint32_t char * | sDataStreamID |
| DEV_HANDLE const char DS_HANDLE * | phDataStream |
| DS_HANDLE | hDataStream |
| DS_HANDLE void size_t | iSize |
| DS_HANDLE void size_t void * | pPrivate |
| DS_HANDLE void size_t void BUFFER_HANDLE * | phBuffer |
| DS_HANDLE ACQ_QUEUE_TYPE | iOperation |
| DS_HANDLE ACQ_START_FLAGS | iStartFlags |
| DS_HANDLE ACQ_START_FLAGS uint64_t | iNumToAcquire |
| DS_HANDLE ACQ_STOP_FLAGS | iStopFlags |
| DS_HANDLE BUFFER_HANDLE | hBuffer |
| BUFFER_HANDLE uint32_t | index |
| BUFFER_HANDLE uint32_t INFO_DATATYPE void * | buffer |
| BUFFER_HANDLE const char * | name |
| BUFFER_HANDLE uint32_t const char ** | ppVarName |
| BUFFER_HANDLE uint32_t const char const char ** | ppDescName |
| PORT_HANDLE uint32_t * | iNumURLs |
| PORT_HANDLE uint32_t | iURLIndex |
| PORT_HANDLE PORT_REGISTER_STACK_ENTRY * | pEntries |
| PORT_HANDLE PORT_REGISTER_STACK_ENTRY size_t * | piNumEntries |
| DS_HANDLE BUFFER_HANDLE SINGLE_CHUNK_DATA * | pChunkData |
| DS_HANDLE BUFFER_HANDLE SINGLE_CHUNK_DATA size_t * | piNumChunks |
| IF_HANDLE TL_HANDLE * | phSystem |
| DS_HANDLE BUFFER_HANDLE uint32_t * | piNumParts |
| DS_HANDLE BUFFER_HANDLE uint32_t | iPartIndex |
| DS_HANDLE size_t | iNumSegments |
| DS_HANDLE size_t void ** | ppSegments |
| DS_HANDLE size_t void size_t * | piSizes |
| DS_HANDLE BUFFER_HANDLE DS_BUFFER_INFO_STACKED * | pInfoStacked |
| DS_HANDLE BUFFER_HANDLE DS_BUFFER_INFO_STACKED size_t | iNumInfos |
| DS_HANDLE uint32_t * | piNumFlows |
| DS_HANDLE uint32_t | iFlowIndex |
| DS_HANDLE BUFFER_HANDLE uint32_t * | piNumSegments |
| DS_HANDLE BUFFER_HANDLE uint32_t | iSegmentIndex |
GenICam Transport Layer Client Interface.
| typedef void* DEV_HANDLE |
Device handle, obtained through the IFOpenDevice
| typedef struct S_DS_BUFFER_INFO_STACKED DS_BUFFER_INFO_STACKED |
Structure carrying information about a buffer info within a stacked request. Introduced in GenTL v1.6.
| typedef struct S_DS_BUFFER_PART_INFO_STACKED DS_BUFFER_PART_INFO_STACKED |
Structure carrying information about a buffer part info within a stacked request. Introduced in GenTL v1.6.
| typedef void* DS_HANDLE |
Handle to an data stream object, obtained through DevOpenDataStream
| typedef struct S_EVENT_NEW_BUFFER EVENT_NEW_BUFFER_DATA |
Structure of the data returned from a signaled "New Buffer" event.
| typedef void* IF_HANDLE |
Interface handle, obtained through TLOpenInterface
| typedef void* PORT_HANDLE |
A Port handle is used to access the register space of a port a PORT_HANDLE can be one of the following TL_HANDLE, IF_HANDLE, DEV_HANDLE, handle to a device port, obtained through DevGetPort, DS_HANDLE, BUFFER_HANDLE
| typedef struct S_PORT_REGISTER_STACK_ENTRY PORT_REGISTER_STACK_ENTRY |
Structure to be use with GCWritePortStacked and GCReadPortStacked.
| typedef int32_t SEGMENT_INFO_CMD |
GenTL v1.6
| typedef struct S_SINGLE_CHUNK_DATA SINGLE_CHUNK_DATA |
Structure carrying information about a single chunk in the buffer. Introduced in GenTL v1.3.
| typedef void* TL_HANDLE |
Transport Layer handle, obtained through the TLOpen
| enum ACQ_QUEUE_TYPE_LIST |
This enumeration commands from which to which queue/pool buffers are flushed with the GenTL::DSFlushQueue function.
| enum ACQ_START_FLAGS_LIST |
| enum ACQ_STOP_FLAGS_LIST |
This enumeration defines special stop flags for the acquisition engine. The function used is GenTL::DSStopAcquisition.
| enum BUFFER_INFO_CMD_LIST |
This enumeration defines commands to retrieve information about individual data parts in a multi-part buffer using the GenTL::DSGetBufferPartInfo function. Introduced in GenTL v1.5.
This enumeration defines flags of how a device is to be opened with the GenTL::IFOpenDevice function.
This enumeration defines values for the accessibility of the device to be returned in the GenTL::DevGetInfo function on a device handle.
| enum DEVICE_INFO_CMD_LIST |
This enumeration defines commands to retrieve information with the GenTL::DevGetInfo function on a device handle.
| enum EVENT_INFO_CMD_LIST |
Event info command
| enum EVENT_TYPE_LIST |
Known event types that can be registered on certain modules with the GenTL::GCRegisterEvent function.
| enum FLOW_INFO_CMD_LIST |
| enum GC_ERROR_LIST |
Errors List: Return codes
| enum INFO_DATATYPE_LIST |
Defines the data type possible for the various Info functions.
This enumeration defines commands to retrieve information with the GenTL::IFGetInfo function from the Interface module.
| enum PARTDATATYPE_IDS |
Enumeration describing which data type is present in given buffer part. Introduced in GenTL v1.5
| enum PAYLOADTYPE_INFO_IDS |
Enumeration of TLType dependent payload types. Introduced in GenTL v1.2
| enum PIXELENDIANNESS_IDS |
Enumeration of TLType dependent pixel format namespaces introduced GenTL v1.2
| enum PORT_INFO_CMD_LIST |
This enumeration defines commands to retrieve information with the GenTL::GCGetPortInfo function on a module or remote device handle.
This enumeration defines commands to retrieve information about composite buffer segments using the GenTL::DSGetBufferSegmentInfo function. Introduced in GenTL v1.6.
| enum STREAM_INFO_CMD_LIST |
This enumeration defines commands to retrieve information with the GenTL::DSGetInfo function on a data stream handle
| enum TL_INFO_CMD_LIST |
System module information commands for the GenTL::TLGetInfo and GenTL::GCGetInfo functions.
| enum URL_INFO_CMD_LIST |
This enumeration defines commands to retrieve information with the GenTL::GCGetPortURLInfo function on a module or remote device handle. Introduced in GenTL v1.1
| enum URL_SCHEME_IDS |
This enumeration defines enum values returned by the URL_INFO_SCHEME command. introduced in GenTL v1.5
| GC_API DevClose | ( | DEV_HANDLE | hDevice | ) |
Close the device, all stream based on this device module should be inaccessible.
| hDevice | handle of the GenTL device module |
| GC_API DevGetDataStreamID | ( | DEV_HANDLE | hDevice, |
| uint32_t | iIndex, | ||
| char * | sDataStreamID, | ||
| size_t * | piSize | ||
| ) |
Get stream module ID by index.
| hDevice | handle of the GenTL device module |
| iIndex | index of the stream module |
| sDataStreamID | ID string to be storaged |
| piSize | size of sID buffer, and retuen as size of the ID string. If size is insufficient, it will be size of the ID string, and the function return GC_ERR_BUFFER_TOO_SMALL. |
| GC_API DevGetInfo | ( | DEV_HANDLE | hDevice, |
| DEVICE_INFO_CMD | iInfoCmd, | ||
| INFO_DATATYPE * | piType, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Get some information of the device.
| hDevice | handle of the GenTL device module |
| iInfoCmd | DEVICE_INFO_CMD enum |
| piType | type of the data |
| pBuffer | data storaged |
| piSize | size of the data filled, if pBuffer eauqals null, that means the samllet buffer size should be provided |
| GC_API DevGetNumDataStreams | ( | DEV_HANDLE | hDevice, |
| uint32_t * | piNumDataStreams | ||
| ) |
Get number of device module.
| hDevice | handle of the GenTL device module |
| piNumDataStreams | number of the GenTL stream module based on this device module |
| GC_API DevGetParentIF | ( | DEV_HANDLE | hDevice, |
| IF_HANDLE * | phIface | ||
| ) |
Get the GenTL interface module which current device is based on.
| hDevice | handle of the GenTL device module |
| phIface | handle of the GenTL interface module |
| GC_API DevGetPort | ( | DEV_HANDLE | hDevice, |
| PORT_HANDLE * | phRemoteDevice | ||
| ) |
Get the remote device write/read node.
| hDevice | handle of the device module |
| phRemoteDevice | handle of the remote device module |
| GC_API DevOpenDataStream | ( | DEV_HANDLE | hDevice, |
| const char * | sDataStreamID, | ||
| DS_HANDLE * | phDataStream | ||
| ) |
Open the stream module.
| hDevice | handle of the GenTL device module |
| sDataStreamID | ID string of the stream module |
| phDataStream | handle of the stream module |
| GC_API DSAllocAndAnnounceBuffer | ( | DS_HANDLE | hDataStream, |
| size_t | iSize, | ||
| void * | pPrivate, | ||
| BUFFER_HANDLE * | phBuffer | ||
| ) |
Notift the GenTL stream module to allocate buffer for grabing stream.
| hDataStream | handle of the GenTL stream module |
| iSize | size of the buffer should be allocated bt GenTL stream module |
| pPrivate | ser-defined data attached to the buffer |
| phBuffer | handle of the internal buffer |
| GC_API DSAnnounceBuffer | ( | DS_HANDLE | hDataStream, |
| void * | pBuffer, | ||
| size_t | iSize, | ||
| void * | pPrivate, | ||
| BUFFER_HANDLE * | phBuffer | ||
| ) |
Notify the GenTL stream module to use the allocated buffer for grabing stream.
| hDataStream | handle of the GenTL stream module |
| pBuffer | point the allocated memory |
| iSize | size of the buffer |
| pPrivate | user-defined data attached to the buffer |
| phBuffer | handle of the buffer, when the function invoked, user can not directly access the buffer but use GenTL api with this handle. |
| GC_API DSClose | ( | DS_HANDLE | hDataStream | ) |
Close the stream.
| hDataStream | handle of the GenTL stream module |
| GC_API DSFlushQueue | ( | DS_HANDLE | hDataStream, |
| ACQ_QUEUE_TYPE | iOperation | ||
| ) |
Clear the buffer queue which wait to be filled stream (image) data.
| hDataStream | handle of the GenTL stream module |
| iOperation | ACQ_QUEUE_TYPE enum |
| GC_API DSGetBufferID | ( | DS_HANDLE | hDataStream, |
| uint32_t | iIndex, | ||
| BUFFER_HANDLE * | phBuffer | ||
| ) |
Get buffer handle by Index.
| hDataStream | handle of the GenTL stream module |
| iIndex | index of the buffer |
| phBuffer | handle of the GenTL buffer |
| GC_API DSGetBufferInfo | ( | DS_HANDLE | hDataStream, |
| BUFFER_HANDLE | hBuffer, | ||
| BUFFER_INFO_CMD | iInfoCmd, | ||
| INFO_DATATYPE * | piType, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Get some information of the buffer.
| hDataStream | handle of the GenTL stream module |
| hBuffer | handle of the GenTL buffer |
| iInfoCmd | BUFFER_INFO_CMD enum |
| piType | type of the data |
| pBuffer | data storaged |
| piSize | size of the data filled, if pBuffer eauqals null, that means the samllet buffer size should be provided |
| GC_API DSGetBufferPartInfo | ( | DS_HANDLE | hDataStream, |
| BUFFER_HANDLE | hBuffer, | ||
| uint32_t | iPartIndex, | ||
| BUFFER_PART_INFO_CMD | iInfoCmd, | ||
| INFO_DATATYPE * | piType, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Get some information of the specific part of the buffer.
| hDataStream | handle of the GenTL stream module |
| hBuffer | handle of the internal buffer |
| iPartIndex | index of the part |
| iInfoCmd | BUFFER_PART_INFO_CMD enum |
| piType | type of the data |
| pBuffer | data storaged |
| piSize | size of the data filled, if pBuffer eauqals null, that means the samllet buffer size should be provided |
| GC_API DSGetInfo | ( | DS_HANDLE | hDataStream, |
| STREAM_INFO_CMD | iInfoCmd, | ||
| INFO_DATATYPE * | piType, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Get some information of the stream.
| hDataStream | handle of the GenTL stream module |
| iInfoCmd | STREAM_INFO_CMD enum |
| piType | type of the data |
| pBuffer | data storaged |
| piSize | size of the data filled, if pBuffer eauqals null, that means the samllet buffer size should be provided |
| GC_API DSGetNumBufferParts | ( | DS_HANDLE | hDataStream, |
| BUFFER_HANDLE | hBuffer, | ||
| uint32_t * | piNumParts | ||
| ) |
Get the number of parts of the buffer.
| hDataStream | handle of the GenTL stream module |
| hBuffer | handle of the internal buffer |
| piNumParts | number of the buffer parts |
| GC_API DSGetParentDev | ( | DS_HANDLE | hDataStream, |
| DEV_HANDLE * | phDevice | ||
| ) |
Get the GenTL device module which current stream is based on.
| hDataStream | handle of the GenTL stream module |
| phDevice | handle of the GenTL device module |
| GC_API DSQueueBuffer | ( | DS_HANDLE | hDataStream, |
| BUFFER_HANDLE | hBuffer | ||
| ) |
Let the stream-attached buffer ready for grabing stream data.
| hDataStream | handle of the GenTL stream module |
| hBuffer | handle of the GenTL buffer |
| GC_API DSRevokeBuffer | ( | DS_HANDLE | hDataStream, |
| BUFFER_HANDLE | hBuffer, | ||
| void ** | pBuffer, | ||
| void ** | pPrivate | ||
| ) |
revoke the buffer attach to the GenTL stream module
| hDataStream | handle of the GenTL stream module |
| hBuffer | handle of the GenTL buffer |
| pBuffer | C pointer can free (call free(pBuffer)) the buffer |
| pPrivate | C pointer point the user defined data which attach the buffer before. |
| GC_API DSStartAcquisition | ( | DS_HANDLE | hDataStream, |
| ACQ_START_FLAGS | iStartFlags, | ||
| uint64_t | iNumToAcquire | ||
| ) |
Start stream acquistion.
| hDataStream | handle of the GenTL stream module |
| iStartFlags | ACQ_START_FLAGS enum |
| iNumToAcquire | number of frame should be grabbed. Int64_t(-1) means infinite. |
| GC_API DSStopAcquisition | ( | DS_HANDLE | hDataStream, |
| ACQ_STOP_FLAGS | iStopFlags | ||
| ) |
Stop the stream acquisition.
| hDataStream | handle of the GenTL stream module |
| iStopFlags | ACQ_STOP_FLAGS enum |
| GC_API EventFlush | ( | EVENT_HANDLE | hEvent | ) |
Clear the event triggered stete if triggered.
| hEvent | the handle of the event |
| GC_API EventGetData | ( | EVENT_HANDLE | hEvent, |
| void * | pBuffer, | ||
| size_t * | piSize, | ||
| uint64_t | iTimeout | ||
| ) |
Get a triggered event and then save data.
| hEvent | the handle of the event |
| pBuffer | data to be storaged |
| piSize | size of the valid data |
| iTimeout | check the event if trigger untill timeout or get a trigger signal |
| GC_API EventGetDataInfo | ( | EVENT_HANDLE | hEvent, |
| const void * | pInBuffer, | ||
| size_t | iInSize, | ||
| EVENT_DATA_INFO_CMD | iInfoCmd, | ||
| INFO_DATATYPE * | piType, | ||
| void * | pOutBuffer, | ||
| size_t * | piOutSize | ||
| ) |
Acquire specific information from the event data.
| hEvent | the handle of the event |
| pInBuffer | data to be extrated |
| iInSize | size of the data |
| iInfoCmd | specific part of the data want to be extracted |
| piType | type of the data |
| pOutBuffer | to storage the result |
| piOutSize | size of the result |
| GC_API EventGetInfo | ( | EVENT_HANDLE | hEvent, |
| EVENT_INFO_CMD | iInfoCmd, | ||
| INFO_DATATYPE * | piType, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Get the infomation from the event handle.
| hEvent | the handle of the event |
| iInfoCmd | EVENT_INFO_CMD enum |
| piType | type of the data |
| pBuffer | to storage the result |
| piSize | size of the result |
| GC_API EventKill | ( | EVENT_HANDLE | hEvent | ) |
Kill the event state polling process.
| hEvent | the handle of the event |
| GC_API GCCloseLib | ( | void | ) |
Close the dynamic lib, tear down the intern object.
| GC_API GCGetInfo | ( | TL_INFO_CMD | iInfoCmd, |
| INFO_DATATYPE * | piType, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Get an infomation of the GenTL system object.
| iInfoCmd | TL_INFO_CMD enum |
| piType | type of the value the buffer filled |
| pBuffer | data storaged |
| piSize | size of the data filled, if pBuffer eauqals null, that means the samllet buffer size should be provided |
| GC_API GCGetLastError | ( | GC_ERROR * | piErrorCode, |
| char * | sErrText, | ||
| size_t * | piSize | ||
| ) |
Get the last errcode and error message.
| piErrorCode | last errcode |
| sErrText | error message |
| piSize | size of the error message |
| GC_API GCGetNumPortURLs | ( | PORT_HANDLE | hPort, |
| uint32_t * | piNumURLs | ||
| ) |
Get the number of usrls the GenTL object belongs to.
| hPort | handle of the GenTL object,such as system/interface/device/stream, notice that buffer is not implemented as common GenTL module |
| piNumURLs | number of the URLS the GenTL object belongs to |
| GC_API GCGetPortInfo | ( | PORT_HANDLE | hPort, |
| PORT_INFO_CMD | iInfoCmd, | ||
| INFO_DATATYPE * | piType, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Get the information of GenTL object.
| hPort | handle of the GenTL object,such as system/interface/device/stream, notice that buffer is not implemented as common GenTL module |
| iInfoCmd | PORT_INFO_CMD enum |
| piType | type of the value the buffer filled |
| pBuffer | data storaged |
| piSize | size of the data filled, if pBuffer eauqals null, that means the samllet buffer size should be provided |
| GC_API GCGetPortURL | ( | PORT_HANDLE | hPort, |
| char * | sURL, | ||
| size_t * | piSize | ||
| ) |
Get the url of description file which describe the GenTL object.
| hPort | handle of the GenTL object,such as system/interface/device/stream, notice that buffer is not implemented as common GenTL module |
| sURL | the buffer resverd to be filled with the url string, 128 bytes is recommended. |
| piSize | the url length |
| GC_API GCGetPortURLInfo | ( | PORT_HANDLE | hPort, |
| uint32_t | iURLIndex, | ||
| URL_INFO_CMD | iInfoCmd, | ||
| INFO_DATATYPE * | piType, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Get some informations of the selected url the GenTL object belongs to.
| hPort | handle of the GenTL object,such as system/interface/device/stream, notice that buffer is not implemented as common GenTL module |
| iURLIndex | index of the URL |
| iInfoCmd | URL_INFO_CMD enum |
| piType | type of the value the buffer filled |
| pBuffer | data storaged |
| piSize | size of the data filled, if pBuffer eauqals null, that means the samllet buffer size should be provided |
| GC_API GCInitLib | ( | void | ) |
Init the dynamic lib.
| GC_API GCReadPort | ( | PORT_HANDLE | hPort, |
| uint64_t | iAddress, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Read the register of the GenTL object. Notice that address of one GenTL object is independent coded.
| hPort | handle of the GenTL object,such as system/interface/device/stream, notice that buffer is not implemented as common GenTL module |
| iAddress | address of the rigester to be read |
| pBuffer | data to be storaged |
| piSize | size of the data to be read |
| GC_API GCReadPortByName | ( | PORT_HANDLE | hPort, |
| const char * | varName, | ||
| INFO_DATATYPE * | piType, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Read the var of the GenTL object with var name.
| hPort | handle of the GenTL object,such as system/interface/device/stream, notice that buffer is not implemented as common GenTL module |
| varName | name of the specific register |
| piType | type of the data |
| pBuffer | data storaged |
| piSize | size of the data filled |
| GC_API GCReadPortStacked | ( | PORT_HANDLE | hPort, |
| PORT_REGISTER_STACK_ENTRY * | pEntries, | ||
| size_t * | piNumEntries | ||
| ) |
A set of GCReadPort operations.
| hPort | handle of the GenTL object,such as system/interface/device/stream, notice that buffer is not implemented as common GenTL module |
| pEntries | entries of the GCReadPort arguments |
| piNumEntries | number of operations |
| GC_API GCRegisterEvent | ( | EVENTSRC_HANDLE | hEventSrc, |
| EVENT_TYPE | iEventID, | ||
| EVENT_HANDLE * | phEvent | ||
| ) |
Enable event tigger func of a GenTL object.
| hEventSrc | a GenTL object which can trigger the event |
| iEventID | specific envent type the GenTL object should trigger, like EVENT_NEW_BUFFER |
| phEvent | handle to the event, which can be use to check the event was triggered. |
| GC_API GCUnregisterEvent | ( | EVENTSRC_HANDLE | hEventSrc, |
| EVENT_TYPE | iEventID | ||
| ) |
Disable event tigger func of a GenTL object, cooperate with the GCRegisterEvent function.
| hEventSrc | a GenTL object which can trigger the event |
| iEventID | specific envent type the GenTL object should disable, like EVENT_NEW_BUFFER |
| GC_API GCWritePort | ( | PORT_HANDLE | hPort, |
| uint64_t | iAddress, | ||
| const void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Write the register of the GenTL object. Notice that address of one GenTL object is independent coded.
| hPort | handle of the GenTL object,such as system/interface/device/stream, notice that buffer is not implemented as common GenTL module |
| iAddress | address of the rigester to be written |
| pBuffer | the data ready to be written |
| piSize | size of the data to be written |
| GC_API GCWritePortByName | ( | PORT_HANDLE | hPort, |
| const char * | varName, | ||
| INFO_DATATYPE * | piType, | ||
| const void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Write the var of the GenTL object with var name.
| hPort | handle of the GenTL object,such as system/interface/device/stream, notice that buffer is not implemented as common GenTL module |
| varName | name of the specific register |
| piType | type of the data |
| pBuffer | data storaged |
| piSize | size of the data filled |
| GC_API GCWritePortStacked | ( | PORT_HANDLE | hPort, |
| PORT_REGISTER_STACK_ENTRY * | pEntries, | ||
| size_t * | piNumEntries | ||
| ) |
A set of GCWritePort operations.
| hPort | handle of the GenTL object,such as system/interface/device/stream, notice that buffer is not implemented as common GenTL module |
| pEntries | entries of the GCReadPort arguments |
| piNumEntries | number of operations |
| GC_API IFClose | ( | IF_HANDLE | hIface | ) |
Close the interface, all device based on this interface module should be inaccessible.
| hIface | handle of the GenTL interface module |
| GC_API IFGetDeviceID | ( | IF_HANDLE | hIface, |
| uint32_t | iIndex, | ||
| char * | sIDeviceID, | ||
| size_t * | piSize | ||
| ) |
get ID string of the device module
| hIface | handle of the GenTL interface module |
| iIndex | index of the device module |
| sIDeviceID | ID string to be storaged |
| piSize | size of sID buffer, and retuen as size of the ID string. If size is insufficient, it will be size of the ID string, and the function return GC_ERR_BUFFER_TOO_SMALL. |
| GC_API IFGetDeviceInfo | ( | IF_HANDLE | hIface, |
| const char * | sDeviceID, | ||
| DEVICE_INFO_CMD | iInfoCmd, | ||
| INFO_DATATYPE * | piType, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Get some information of the device module.
| hIface | handle of the GenTL interface module |
| sDeviceID | ID string of the device module |
| iInfoCmd | DEVICE_INFO_CMD enum |
| piType | type of the data |
| pBuffer | data storaged |
| piSize | size of the data filled, if pBuffer eauqals null, that means the samllet buffer size should be provided |
| GC_API IFGetInfo | ( | IF_HANDLE | hIface, |
| INTERFACE_INFO_CMD | iInfoCmd, | ||
| INFO_DATATYPE * | piType, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Get some information of the Interface.
| hIface | handle of the GenTL interface module |
| iInfoCmd | INTERFACE_INFO_CMD enum |
| piType | type of the data |
| pBuffer | data storaged |
| piSize | size of the data filled, if pBuffer eauqals null, that means the samllet buffer size should be provided |
| GC_API IFGetNumDevices | ( | IF_HANDLE | hIface, |
| uint32_t * | piNumDevices | ||
| ) |
Get number of device module.
| hIface | handle of the GenTL interface module |
| piNumDevices | number of the GenTL device module based on this system module |
Get the GenTL system module which current interface is based on.
| hIface | handle of the GenTL interface module |
| phSystem | handle of the GenTL system module |
| GC_API IFOpenDevice | ( | IF_HANDLE | hIface, |
| const char * | sDeviceID, | ||
| DEVICE_ACCESS_FLAGS | iOpenFlag, | ||
| DEV_HANDLE * | phDevice | ||
| ) |
Open the device module.
| hIface | handle of the GenTL interface module |
| sDeviceID | ID string of the device module |
| iOpenFlag | DEVICE_ACCESS_FLAGS enum |
| phDevice | handle of the device module |
| GC_API IFUpdateDeviceList | ( | IF_HANDLE | hIface, |
| bool8_t * | pbChanged, | ||
| uint64_t | iTimeout | ||
| ) |
re-Enumerate the device module
| hIface | handle of the GenTL interface module |
| pbChanged | if device module list is changed |
| iTimeout | re-Enumerate untill timeout or get a valid result |
| GC_API PDBufferGetInfo | ( | BUFFER_HANDLE | hBuffer, |
| BUFFER_INFO_CMD | iInfoCmd, | ||
| INFO_DATATYPE * | piType, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Get some information of the buffer (Simplified version compared with the standard GenTL version: DSGetBufferInfo)
| hBuffer | handle of the GenTL buffer |
| iInfoCmd | BUFFER_INFO_CMD enum |
| piType | type of the data |
| pBuffer | data storaged |
| piSize | size of the data filled |
| GC_API PDBufferGetMeta | ( | BUFFER_HANDLE | hBuffer, |
| uint32_t | index, | ||
| INFO_DATATYPE * | piType, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Get stream metadata information of the buffer.
| hBuffer | handle of the GenTL buffer |
| index | index of the metadata item |
| piType | type of the data |
| pBuffer | data storaged |
| piSize | size of the data filled |
| GC_API PDBufferGetMetaByName | ( | BUFFER_HANDLE | hBuffer, |
| const char * | varName, | ||
| INFO_DATATYPE * | piType, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Get stream metadata information of the buffer.
| hBuffer | handle of the GenTL buffer |
| varName | name of the specific metadata var |
| piType | type of the data |
| pBuffer | data storaged |
| piSize | size of the data filled |
| GC_API PDBufferGetMetaDesc | ( | BUFFER_HANDLE | hBuffer, |
| uint32_t | index, | ||
| const char ** | ppVarName, | ||
| const char ** | ppDescName | ||
| ) |
Get name and the describe information of the metadata item.
| hBuffer | handle of the GenTL buffer |
| index | index of the metadata item |
| ppVarName | pointer will be assigned to point to the name of the metadata item |
| ppDescName | pointer will be assigned to point to the description of the metadata item |
| GC_API PDBufferGetMetaNum | ( | BUFFER_HANDLE | hBuffer, |
| size_t * | pMetaItemNum | ||
| ) |
Get number of the metadata items.
| hBuffer | handle of the GenTL buffer |
| pMetaItemNum | number of the metadata items |
| GC_API PDBufferSave | ( | BUFFER_HANDLE | hBuffer, |
| const char * | filesName, | ||
| int | opt | ||
| ) |
Write the buffer to disk.
| hBuffer | handle of the GenTL buffer |
| filesName | save as filesName.suffix, suffix is determined by SDK. Nullptr is also accepted, and then name will be constructed by SDK itself. |
| opt | 0: save part buffers; 1: save ply with color if color exist; 2: save ply patch with color if color exist; others: reserved |
| GC_API TLClose | ( | TL_HANDLE | hTL | ) |
Close the GenTL system module, which may invalid all interface handle.
| hTL | handle of the GenTL system module |
| GC_API TLGetInfo | ( | TL_HANDLE | hTL, |
| TL_INFO_CMD | iInfoCmd, | ||
| INFO_DATATYPE * | piType, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Get some infomation of the system module.
| hTL | handle of the GenTL system module |
| iInfoCmd | TL_INFO_CMD enum |
| piType | type of the data |
| pBuffer | data storaged |
| piSize | size of the data filled, if pBuffer eauqals null, that means the samllet buffer size should be provided |
| GC_API TLGetInterfaceID | ( | TL_HANDLE | hTL, |
| uint32_t | iIndex, | ||
| char * | sID, | ||
| size_t * | piSize | ||
| ) |
Get interface module ID by index.
| hTL | handle of the GenTL system module |
| iIndex | index of the interface module |
| sID | ID string to be storaged |
| piSize | size of sID buffer, and retuen as size of the ID string. If size is insufficient, it will be size of the ID string, and the function return GC_ERR_BUFFER_TOO_SMALL. |
| GC_API TLGetInterfaceInfo | ( | TL_HANDLE | hTL, |
| const char * | sIfaceID, | ||
| INTERFACE_INFO_CMD | iInfoCmd, | ||
| INFO_DATATYPE * | piType, | ||
| void * | pBuffer, | ||
| size_t * | piSize | ||
| ) |
Get some information of the interface module.
| hTL | handle of the GenTL system module |
| sIfaceID | ID string of the interface module |
| iInfoCmd | INTERFACE_INFO_CMD enum |
| piType | type of the data |
| pBuffer | data storaged |
| piSize | size of the data filled, if pBuffer eauqals null, that means the samllet buffer size should be provided |
| GC_API TLGetNumInterfaces | ( | TL_HANDLE | hTL, |
| uint32_t * | piNumIfaces | ||
| ) |
Get number of interface module.
| hTL | handle of the GenTL system module |
| piNumIfaces | number of the GenTL interface module based on this system module |
| GC_API TLOpen | ( | TL_HANDLE * | phTL | ) |
Open the GenTL system module.
| phTL | handle of the GenTL system module |
Open the interface module.
| hTL | handle of the GenTL system module |
| sIfaceID | ID string of the interface module |
| phIface | handle of the interface module |
| GC_API TLUpdateInterfaceList | ( | TL_HANDLE | hTL, |
| bool8_t * | pbChanged, | ||
| uint64_t | iTimeout | ||
| ) |
re-Enumerate the Interface module
| hTL | handle of the GenTL system module |
| pbChanged | if interface module list is changed |
| iTimeout | re-Enumerate untill timeout or get a valid result |