8 #include "./bgapi2_def.h" 71 static void ReleaseInstance();
92 void Add(
System * pSystem);
153 bo_bool operator!=(
const iterator& _right)
const;
161 bo_bool operator==(
const iterator& _right)
const;
231 tSystemListData *m_pSystemListImpl;
250 void Refresh(bo_uint64 iTimeout);
298 bo_bool operator!=(
const iterator& _right)
const;
306 bo_bool operator==(
const iterator& _right)
const;
373 void ClearBgapiObjects(
System*
const pParent);
374 bo_bool UpdateBgapiObjects(
System*
const pParent, bo_uint64 iTimeout);
375 bo_uint64 NumberOfBgapiObjects(
System*
const pParent);
376 String GetId(
System*
const pParent,
const bo_uint64 index);
378 tInterfaceListData *m_pInterfaceListImpl;
398 void Refresh(bo_uint64 iTimeout);
446 bo_bool operator!=(
const iterator& _right)
const;
454 bo_bool operator==(
const iterator& _right)
const;
521 static bo_bool UpdateBgapiObjects(
Interface*
const pParent,
const bo_uint64 iTimeout);
522 static bo_uint64 NumberOfBgapiObjects(
Interface*
const pParent);
525 tDeviceListData *m_pDeviceListImpl;
590 bo_bool operator!=(
const iterator& _right)
const;
598 bo_bool operator==(
const iterator& _right)
const;
665 bo_bool UpdateBgapiObjects();
666 bo_uint64 NumberOfBgapiObjects(
Device*
const pParent);
667 String GetId(
Device*
const pParent,
const bo_uint64 index);
669 tDataStreamListData *m_pDataStreamListImpl;
690 void Add(
Buffer *pBuffer);
701 void* RevokeBuffer(
Buffer *pBuffer);
735 void FlushInputToOutputQueue();
743 void FlushAllToInputQueue();
751 void FlushUnqueuedToInputQueue();
759 void DiscardOutputBuffers();
767 void DiscardAllBuffers();
776 bo_uint64 GetDeliveredCount();
785 bo_uint64 GetUnderrunCount();
794 bo_uint64 GetAnnouncedCount();
803 bo_uint64 GetQueuedCount();
812 bo_uint64 GetAwaitDeliveryCount();
821 bo_uint64 GetStartedCount();
843 bo_bool operator!=(
const iterator& _right)
const;
851 bo_bool operator==(
const iterator& _right)
const;
923 tBufferListData *m_pBufferListImpl;
939 static void Enable(bo_bool benable);
947 static void ActivateOutputToFile(bo_bool bactive,
String tracefilename);
954 static void ActivateOutputToDebugger(bo_bool bactive);
961 static void ActivateMaskError(bo_bool bactive);
968 static void ActivateMaskWarning(bo_bool bactive);
975 static void ActivateMaskInformation(bo_bool bactive);
982 static void ActivateOutputOptionTimestamp(bo_bool bactive);
989 static void ActivateOutputOptionTimestampDiff(bo_bool bactive);
996 static void ActivateOutputOptionThreadId(bo_bool bactive);
1003 static void ActivateOutputOptionPrefix(bo_bool bactive);
1074 String GetImposedAccessMode();
1084 String GetCurrentAccessMode();
1094 bo_bool IsReadable();
1104 bo_bool IsWriteable();
1123 String GetRepresentation();
1150 bo_bool GetImplemented();
1161 bo_bool GetAvailable();
1173 bo_bool GetLocked();
1182 bo_int64 GetEventID();
1226 void SetValue(
String Value);
1252 void SetInt(bo_int64 value);
1265 bo_int64 GetIntMin();
1278 bo_int64 GetIntMax();
1291 bo_int64 GetIntInc();
1304 bo_double GetDouble();
1317 void SetDouble(bo_double value);
1330 bo_double GetDoubleMin();
1343 bo_double GetDoubleMax();
1365 bo_double GetDoubleInc();
1378 bo_uint64 GetDoublePrecision();
1391 bo_int64 GetMaxStringLength();
1419 void SetString(
String value);
1467 void SetBool(bo_bool value);
1497 bo_bool IsSelector();
1506 NodeMap* GetSelectedNodeList();
1518 bo_uint64 getLength();
1530 bo_uint64 getAddress();
1544 void get(
void *pBuffer, bo_uint64 len);
1558 void set(
void *pBuffer, bo_uint64 len);
1589 bo_bool GetNodePresent(
String name);
1614 bo_uint64 GetNodeCount();
1623 Node* GetNodeByIndex(bo_uint64 iIndex);
1645 bool operator!=(
const iterator& _right)
const;
1653 bool operator==(
const iterator& _right)
const;
1852 String GetSerialNumber();
1872 CEventPnPObj *m_pCEventPnPObjImpl;
1897 void RegisterPnPEvent(
EventMode eventMode);
1907 void UnregisterPnPEvent();
1920 bo_bool GetPnPEvent(
PnPEvent * pPnPEvent, bo_uint64 iTimeout);
1930 void CancelGetPnPEvent();
1940 void RegisterPnPEventHandler(
void * callBackOwner,
PnPEventHandler pFunc);
1990 bo_uint64 GetTimeStamp();
2002 CEventDeviceEventObj *m_pCEventDeviceEventObjImpl;
2026 void RegisterDeviceEvent(
EventMode eventMode);
2036 void UnregisterDeviceEvent();
2049 bo_bool GetDeviceEvent(
DeviceEvent * pDeviceEvent, bo_uint64 iTimeout);
2059 void CancelGetDeviceEvent();
2096 void RegisterNewBufferEvent(
EventMode eventMode);
2107 void UnregisterNewBufferEvent();
2120 Buffer* GetFilledBuffer(bo_uint64 iTimeout);
2129 void CancelGetFilledBuffer();
2177 Buffer(
void *pUserBuffer, bo_uint64 uUserBufferSize,
void *pUserObj);
2222 bo_uint64 GetMemSize();
2245 bo_uint64 GetTimestamp();
2254 bo_uint64 GetHostTimestamp();
2266 bo_bool GetNewData();
2278 bo_bool GetIsQueued();
2291 bo_bool GetIsAcquiring();
2303 bo_bool GetIsIncomplete();
2323 bo_uint64 GetSizeFilled();
2333 bo_uint64 GetWidth();
2343 bo_uint64 GetHeight();
2353 bo_uint64 GetXOffset();
2363 bo_uint64 GetYOffset();
2374 bo_uint64 GetXPadding();
2384 bo_uint64 GetYPadding();
2394 bo_uint64 GetFrameID();
2402 bo_bool GetImagePresent();
2409 bo_uint64 GetImageOffset();
2439 bo_uint64 GetDeliveredImageHeight();
2449 bo_uint64 GetDeliveredChunkPayloadSize();
2458 bo_bool GetContainsChunk();
2469 bo_uint64 GetChunkLayoutID();
2501 void * GetReserved();
2504 tBufferData *m_pBufferImpl;
2576 bo_bool GetDefinesPayloadSize();
2587 bo_uint64 GetPayloadSize();
2597 bo_bool GetIsGrabbing();
2608 void StartAcquisition(bo_uint64 iNumToAcquire);
2617 void StartAcquisitionContinuous();
2626 void StopAcquisition();
2635 void AbortAcquisition();
2647 Buffer* GetBufferByIndex(bo_uint iIndex);
2660 void * GetReserved();
2668 tDataStreamData *m_pDataStreamImpl;
2700 void OpenExclusive();
2711 void OpenReadOnly();
2737 void StartStacking(bo_bool bReplaceMode);
2800 String GetSerialNumber();
2839 String GetAccessStatus();
2851 bo_uint64 GetPayloadSize();
2899 String GetRemoteConfigurationFile();
2910 void SetRemoteConfigurationFile(
String sConfigFile);
2922 bo_bool IsUpdateModeAvailable();
2934 bo_bool IsUpdateModeActive();
2950 void SetUpdateMode(
bool bActive,
String pcCustomKey);
3002 String GetUpdateConfigurationFile();
3015 void * GetReserved();
3023 tDeviceData *m_pDeviceImpl;
3109 tInterfaceData *m_pInterfaceImpl;
3244 void* GetReserved();
3248 tSystemData *m_pSystemImpl;
3274 bo_uint GetHeight();
3297 bo_uint64 GetTransformBufferLength(
String sPixelFormat);
3309 void GetHistogram(
bo_tHistRecords tHistogram, bo_uint offsetx, bo_uint offsety, bo_uint width, bo_uint height);
3335 void Init(bo_uint width, bo_uint height,
String sPixelFormat,
void* pBuffer, bo_uint64 uBufferSize);
3338 Image(
void * pReserved);
3340 tImageData *m_pImageImpl;
3379 Image* CreateImage();
3392 Image* CreateImage(bo_uint width, bo_uint height,
String pixelformat,
void* pBuffer, bo_uint64 uBufferSize);
3401 Image* CreateTransformedImage(
Image* pInputImage,
const char* szDestinationPixelformat);
3412 void TransformImageToBuffer(
Image* pInputImage,
const char* szDestinationPixelformat,
void* pBuffer,
3413 bo_uint64 uBufferSize);
3418 tImageProcessorData *m_pImageProcessorImpl;
3470 void EnableInterpolation(bo_bool interpolate);
3499 void Enable(
Formats format, bo_bool enable);
3626 void SetMaxThreads(bo_uint number);
3629 void *m_pPolarizerImpl;
3635 namespace Exceptions {
3649 virtual String GetErrorDescription() = 0;
3656 virtual String GetFunctionName() = 0;
3663 virtual String GetType() = 0;
3788 #endif // _BGAPI2_HPP__ void(BGAPI2CALL * NewBufferEventHandler)(void *callBackOwner, Buffer *pBuffer)
Function pointer for buffer notification, which points to a user defined handler. ...
Exception thrown by deeper software layers like GenTL producer.
The class DeviceEventControl provides access to standard events transmitted from the device...
This EventMode allows the retrieval of occurred events by a previously registered callback function...
Invalid buffer is used. The used Buffer object is not valid.
The class PnPEvent represented a plug'n play event and provides access to the event information...
The class Interface represents a physical interface, e.g. GEV or a logical interface, such as USB and belongs to the BGAPI2 main classes.
This class realizes the data access to the memory. It contains information about the received data (e...
This class provides a iterator that can read or modify any element in the list.
This class is used to discover and list device objects.
Formats
An enumeration containing the string representation of the possible polarization formats.
The class Image provides the ability of image transformation. This class belongs to the additional cl...
This class provides an iterator that can read or modify any object of the list.
This EventMode allows the retrieval of occurred events by a function call of the corresponding get fu...
The requested function/feature is not implemented.
This class provides a iterator that can read or modify any element in the list.
The referenced object is not a valid object of BGAPI2.
This class represents an device event which was received from the host. Use this class to get event i...
This class is responable for the exception handling and represents the parent class of all exception ...
This class is used to discover and list data stream objects.
An operation has been aborted before it could be completed.
The class EventControl provided access to custom events as well as the event mode.
The class Device is used to retrieve information (e.g. model, manufacturer, access modes) of the devi...
The requested operation is not allowed/possible, e.g. lose the connection to the device.
The class Node represent one feature from the provided node list based on the underlying XML definiti...
The class DataStreamEventControl provides the new buffer event which is used for fetching images...
The requested resource or information is not available at a given time in a current state...
The class InterfaceEventControl provides access to interface specific events, e.g. plug'n play event.
void(BGAPI2CALL * PnPEventHandler)(void *callBackOwner, PnPEvent *pBuffer)
Function pointer for pnp event notification, which points to a user defined handler.
The global namespace of Baumer GAPI SDK 2.
Provides functionality to calculate several different formats out of the raw polarized camera data...
This class provides a iterator that can read or modify any element in the list.
EventMode
Enumeration, which defines kinds of event modes.
Represents a device add PnP event.
The class System is the abstraction of a Producer and belongs to the BGAPI2 main classes.
This class is used to search and list system objects and may be instantiated only once...
This class represents a physical data stream from the device and it is responsible for the buffer han...
The requested object is not initialized/opened.
This class is used for discovery and listing of buffer objects.
This class provides a iterator that can read or modify any element in the list.
This class provides a iterator that can read or modify any element in the list.
The task of the class ImageProcessor are the creation of image objects and the transformation of pixe...
This class is used to search and list interface objects.
void(BGAPI2CALL * DeviceEventHandler)(void *callBackOwner, DeviceEvent *pDeviceEvent)
Function pointer for device event notification, which points to a user defined handler.
An event contains no event data.
This class provides a iterator that can read or modify any element in the list.
The requested object is already used.
The class Trace offers the possibility to monitor the program flow and detect errors. This class belongs to the additional classes.
General purpose exception.
This class provides an iterator that can read or modify any element in the list.
(Given handle does not support the operation.)
The class NodeMap represents a collection of Node objects based on the underlying XML definition file...
Represents a device removed PnP event.
One of the parameter given was not valid or out of range.
The class INode act as base for of the main classes and provided the access to the node objects (feat...
Event handling is disabled. No events can be retrieved.
PnPType
Enumeration, which defines kinds of PnP events.