|
| EGenTL (const std::string &path=Internal::getEuresysCtiPath(), bool shared=true) |
| Initializes the EGenTL library. More...
|
|
| EGenTL (const char *path, bool shared=true) |
|
| EGenTL (bool shared, const std::string &path=Internal::getEuresysCtiPath()) |
|
virtual | ~EGenTL () |
|
template<typename T > |
T | gcGetInfo (gc::TL_INFO_CMD cmd) |
| Retrieves numerical information for the system module. More...
|
|
bool | isShared () const |
|
|
void | gcReadPort (gc::PORT_HANDLE ph, uint64_t address, std::vector< char > &data) |
| Fills data with data.size bytes from ph 's registers space. More...
|
|
std::string | gcReadPortString (gc::PORT_HANDLE ph, uint64_t address, size_t size) |
| Reads up to size bytes from ph 's registers space as a string. More...
|
|
uint32_t | gcReadPort (gc::PORT_HANDLE ph, uint64_t address) |
| Reads a single 32-bit value from ph 's registers space. More...
|
|
void | gcWritePort (gc::PORT_HANDLE ph, uint64_t address, const std::vector< char > &data) |
| Writes data.size bytes into ph 's registers space. More...
|
|
void | gcReadPortData (gc::PORT_HANDLE ph, uint64_t address, void *data, size_t size) |
| Read data from port. More...
|
|
void | gcWritePortData (gc::PORT_HANDLE ph, uint64_t address, const void *data, size_t size) |
| Write data to port. More...
|
|
std::vector< std::string > | gcGetPortURL (gc::PORT_HANDLE ph) |
| Returns the list of XML description URL for the given port. More...
|
|
template<typename T > |
T | gcGetPortInfo (gc::PORT_HANDLE ph, gc::PORT_INFO_CMD cmd) |
| retrieve numerical information for a port module. More...
|
|
|
gc::EVENT_HANDLE | gcRegisterEvent (gc::EVENTSRC_HANDLE h, gc::EVENT_TYPE event) |
| Returns the handle to a newly registered event. More...
|
|
void | gcUnregisterEvent (gc::EVENTSRC_HANDLE h, gc::EVENT_TYPE event) |
|
size_t | eventGetData (gc::EVENT_HANDLE eh, void *buffer, size_t size, uint64_t timeout) |
| Waits for event to happen for at most timeout ms and returns filled data size. More...
|
|
void | eventsGetData (std::vector< ge::EURESYS_EVENT_GET_DATA_ENTRY > &entries, uint64_t *timeout) |
| Waits for multiple events to happen for at most timeout ms. More...
|
|
template<typename T > |
T | eventGetDataInfo (gc::EVENT_HANDLE eh, const void *buffer, size_t size, gc::EVENT_DATA_INFO_CMD cmd) |
| Retrieves numerical information for an event data given in buffer. More...
|
|
template<typename T > |
T | eventGetInfo (gc::EVENT_HANDLE eh, gc::EVENT_INFO_CMD cmd) |
| Retrieves numerical information for an event. More...
|
|
void | eventFlush (gc::EVENT_HANDLE eh) |
| Discards all the past occurrences. More...
|
|
void | eventKill (gc::EVENT_HANDLE eh) |
| Terminates a pending operation. More...
|
|
|
gc::TL_HANDLE | tlOpen () |
|
void | tlClose (gc::TL_HANDLE tlh) |
|
template<typename T > |
T | tlGetInfo (gc::TL_HANDLE tlh, gc::TL_INFO_CMD cmd) |
| Retrieves numerical information for the TL module. More...
|
|
uint32_t | tlGetNumInterfaces (gc::TL_HANDLE tlh) |
|
std::string | tlGetInterfaceID (gc::TL_HANDLE tlh, uint32_t index) |
|
template<typename T > |
T | tlGetInterfaceInfo (gc::TL_HANDLE tlh, const std::string &ifID, gc::TL_INFO_CMD cmd) |
| Retrieves numerical information for the Interface module identified by its ID. More...
|
|
gc::IF_HANDLE | tlOpenInterface (gc::TL_HANDLE tlh, const std::string &ifID) |
|
bool | tlUpdateInterfaceList (gc::TL_HANDLE tlh, uint64_t timeout=GENTL_INFINITE) |
| Checks whether the list of interface modules has changed. More...
|
|
|
void | ifClose (gc::IF_HANDLE ifh) |
|
template<typename T > |
T | ifGetInfo (gc::IF_HANDLE ifh, gc::INTERFACE_INFO_CMD cmd) |
| Retrieves numerical information for the Interface module. More...
|
|
uint32_t | ifGetNumDevices (gc::IF_HANDLE ifh) |
|
std::string | ifGetDeviceID (gc::IF_HANDLE ifh, uint32_t index) |
|
bool | ifUpdateDeviceList (gc::IF_HANDLE ifh, uint64_t timeout=GENTL_INFINITE) |
| Checks whether the list of devices has changed. More...
|
|
template<typename T > |
T | ifGetDeviceInfo (gc::IF_HANDLE ifh, const std::string &devID, gc::INTERFACE_INFO_CMD cmd) |
| Retrieves numerical information for the Device module identified by its ID. More...
|
|
gc::DEV_HANDLE | ifOpenDevice (gc::IF_HANDLE ifh, const std::string &devID, gc::DEVICE_ACCESS_FLAGS flags=defaultDeviceOpenFlags) |
|
|
gc::PORT_HANDLE | devGetPort (gc::DEV_HANDLE devh) |
|
uint32_t | devGetNumDataStreams (gc::DEV_HANDLE devh) |
|
std::string | devGetDataStreamID (gc::DEV_HANDLE devh, uint32_t index) |
|
gc::DS_HANDLE | devOpenDataStream (gc::DEV_HANDLE devh, const std::string &dsID) |
|
void | devClose (gc::DEV_HANDLE devh) |
|
template<typename T > |
T | devGetInfo (gc::DEV_HANDLE devh, gc::DEVICE_INFO_CMD cmd) |
| Retrieves numerical information for the Device module. More...
|
|
|
gc::BUFFER_HANDLE | dsAnnounceBuffer (gc::DS_HANDLE dsh, void *buffer, size_t size, void *userPointer=0) |
| Gets the handle of a new DataStream buffer allocated by the user. More...
|
|
gc::BUFFER_HANDLE | dsAllocAndAnnounceBuffer (gc::DS_HANDLE dsh, size_t size, void *userPointer=0) |
| Gets the handle of a new DataStream buffer allocated automatically. More...
|
|
gc::BUFFER_HANDLE | dsAnnounceBusBuffer (gc::DS_HANDLE dsh, uint64_t busAddress, size_t size, void *userPointer=0) |
| Gets the handle of a new DataStream buffer allocated by the user and addressable on the PCIe bus. More...
|
|
void | dsAllocAndAnnounceBuffers (gc::DS_HANDLE dsh, size_t size, std::vector< gc::BUFFER_HANDLE > &buffers) |
| Fills buffers vector with buffers.size handles to newly allocated buffers. More...
|
|
void | dsFlushQueue (gc::DS_HANDLE dsh, gc::ACQ_QUEUE_TYPE operation) |
| Flushes a buffers pool/queue. More...
|
|
void | dsStartAcquisition (gc::DS_HANDLE dsh, gc::ACQ_START_FLAGS flags=gc::ACQ_START_FLAGS_DEFAULT, uint64_t count=GENTL_INFINITE) |
| Declares the DataStream ready for acquisition. More...
|
|
void | dsStopAcquisition (gc::DS_HANDLE dsh, gc::ACQ_STOP_FLAGS flags=gc::ACQ_STOP_FLAGS_DEFAULT) |
| Declares the DataStream as done with acquisition. More...
|
|
void | dsClose (gc::DS_HANDLE dsh) |
|
template<typename T > |
T | dsGetInfo (gc::DS_HANDLE dsh, gc::STREAM_INFO_CMD cmd) |
| Retrieves numerical information for the DataStream module. More...
|
|
gc::BUFFER_HANDLE | dsGetBufferID (gc::DS_HANDLE dsh, uint32_t index) |
|
void | dsRevokeBuffer (gc::DS_HANDLE dsh, gc::BUFFER_HANDLE bh, void **buffer=0, void **userPointer=0) |
|
void | dsRevokeBuffers (gc::DS_HANDLE dsh, std::vector< gc::BUFFER_HANDLE > &buffers) |
| Revokes the buffers contained in the buffers vector. More...
|
|
void | dsQueueBuffer (gc::DS_HANDLE dsh, gc::BUFFER_HANDLE bh) |
| Adds a buffer to the input buffer queue. More...
|
|
void | dsQueueBuffers (gc::DS_HANDLE dsh, const std::vector< gc::BUFFER_HANDLE > &buffers) |
| Adds the buffers contained in the buffers vector to the input buffer queue. More...
|
|
template<typename T > |
T | dsGetBufferInfo (gc::DS_HANDLE dsh, gc::BUFFER_HANDLE bh, gc::BUFFER_INFO_CMD cmd) |
| Retrieves numerical information for a buffer. More...
|
|
uint32_t | dsGetNumBufferParts (gc::DS_HANDLE dsh, gc::BUFFER_HANDLE bh) |
|
template<typename T > |
T | dsGetBufferPartInfo (gc::DS_HANDLE dsh, gc::BUFFER_HANDLE bh, uint32_t index, gc::BUFFER_PART_INFO_CMD cmd) |
| Retrieves numerical information for a buffer part. More...
|
|
uint32_t | gcGetNumPortURLs (gc::PORT_HANDLE h) |
|
template<typename T > |
T | gcGetPortURLInfo (gc::PORT_HANDLE h, uint32_t index, gc::URL_INFO_CMD cmd) |
|
void | gcReadPortStacked (gc::PORT_HANDLE h, std::vector< gc::PORT_REGISTER_STACK_ENTRY > &entries) |
| Reads a number of bytes from the given address on the specified port for every element in the entries vector. More...
|
|
void | gcWritePortStacked (gc::PORT_HANDLE h, std::vector< gc::PORT_REGISTER_STACK_ENTRY > &entries) |
| Writes a number of bytes to the given address on the specified port for every element in the entries vector. More...
|
|
gc::TL_HANDLE | ifGetParent (gc::IF_HANDLE ifh) |
|
gc::IF_HANDLE | devGetParent (gc::DEV_HANDLE devh) |
|
gc::DEV_HANDLE | dsGetParent (gc::DS_HANDLE dsh) |
|
|
void | memento (const std::string &text) |
| Reports a string to the memento logging system. More...
|
|
void | memento (unsigned char verbosity, unsigned char kind, const std::string &text) |
|
|
void | genapiSetString (gc::PORT_HANDLE h, const std::string &feature, const std::string &value) |
| Updates a feature with string contents. More...
|
|
std::string | genapiGetString (gc::PORT_HANDLE h, const std::string &feature) |
| Reads a feature as string. More...
|
|
std::vector< std::string > | genapiGetStringList (gc::PORT_HANDLE h, const std::string &what) |
| Reads a list of strings. More...
|
|
void | genapiSetInteger (gc::PORT_HANDLE h, const std::string &feature, int64_t value) |
| Updates a feature with integer value. More...
|
|
int64_t | genapiGetInteger (gc::PORT_HANDLE h, const std::string &feature) |
| Reads a feature as an integer. More...
|
|
int64_t | genapiGetIntegerWithDefault (gc::PORT_HANDLE h, const std::string &feature, int64_t defaultValue) |
| Reads a feature as an integer. More...
|
|
void | genapiSetFloat (gc::PORT_HANDLE h, const std::string &feature, double value) |
| Updates a feature with float value. More...
|
|
double | genapiGetFloat (gc::PORT_HANDLE h, const std::string &feature) |
| Reads a feature as a float. More...
|
|
double | genapiGetFloatWithDefault (gc::PORT_HANDLE h, const std::string &feature, double defaultValue) |
| Reads a feature as a float. More...
|
|
void | genapiExecuteCommand (gc::PORT_HANDLE h, const std::string &feature) |
| Executes a GenApi command. More...
|
|
void | genapiRunScript (gc::PORT_HANDLE h, const std::string &script) |
| Run a Euresys GenApi script. More...
|
|
|
unsigned int | imageGetPixelFormatValue (const std::string &format, unsigned int ns) |
| Get PFNC value from name. More...
|
|
std::string | imageGetPixelFormat (uint64_t format) |
|
unsigned int | imageGetBytesPerPixel (const std::string &format) |
| Get Bytes per pixel. More...
|
|
unsigned int | imageGetBitsPerPixel (const std::string &format) |
| Get Bits per pixel. More...
|
|
void | imageConvert (const ge::ImageConvertInput &input, const ge::ImageConvertOutput &output, const ge::ImageConvertROI *roi) |
| Convert an image. More...
|
|
void | imageSaveToDisk (const ge::ImageConvertInput &input, const std::string &filepath, int64_t index=-1, const ge::ImageSaveToDiskParams *params=0) |
| Save an image to disk. More...
|
|
void * | imageGet (ge::IMAGE_ID id, size_t *outSize=0) |
| Get information of an image. More...
|
|
void | imageRelease (ge::IMAGE_ID id) |
| Release an image. More...
|
|