Logo
Programmer's Guide Baumer GAPI SDK Reference v2.10.0
Classes | Typedefs | Enumerations
BGAPI2::Events Namespace Reference

The namespace Events consists of classes which belongs to the event interface. More...

Classes

class  DataStreamEventControl
 The class DataStreamEventControl provides the new buffer event which is used for fetching images. More...
 
class  DeviceEvent
 This class represents an device event which was received from the host. Use this class to get event information. More...
 
class  DeviceEventControl
 The class DeviceEventControl provides access to standard events transmitted from the device. More...
 
class  EventControl
 The class EventControl provided access to custom events as well as the event mode. More...
 
class  InterfaceEventControl
 The class InterfaceEventControl provides access to interface specific events, e.g. plug'n play event. More...
 
class  PnPEvent
 The class PnPEvent represented a plug'n play event and provides access to the event information. More...
 

Typedefs

typedef void(BGAPI2CALL * PnPEventHandler) (void *callBackOwner, PnPEvent *pBuffer)
 Function pointer for pnp event notification, which points to a user defined handler.
 
typedef void(BGAPI2CALL * DeviceEventHandler) (void *callBackOwner, DeviceEvent *pDeviceEvent)
 Function pointer for device event notification, which points to a user defined handler.
 
typedef void(BGAPI2CALL * NewBufferEventHandler) (void *callBackOwner, Buffer *pBuffer)
 Function pointer for buffer notification, which points to a user defined handler.
 

Enumerations

enum  EventMode { EVENTMODE_UNREGISTERED = 0, EVENTMODE_POLLING = 1, EVENTMODE_EVENT_HANDLER = 2 }
 Enumeration, which defines kinds of event modes. More...
 
enum  PnPType { PNPTYPE_DEVICEREMOVED = 0, PNPTYPE_DEVICEADDED = 1 }
 Enumeration, which defines kinds of PnP events. More...
 

Detailed Description

The namespace Events consists of classes which belongs to the event interface.

Enumeration Type Documentation

◆ EventMode

Enumeration, which defines kinds of event modes.

Enumerator
EVENTMODE_UNREGISTERED 

Event handling is disabled. No events can be retrieved.

EVENTMODE_POLLING 

This EventMode allows the retrieval of occurred events by a function call of the corresponding get function.

EVENTMODE_EVENT_HANDLER 

This EventMode allows the retrieval of occurred events by a previously registered callback function.

Definition at line 1769 of file bgapi2_genicam.hpp.

◆ PnPType

Enumeration, which defines kinds of PnP events.

Enumerator
PNPTYPE_DEVICEREMOVED 

Represents a device removed PnP event.

PNPTYPE_DEVICEADDED 

Represents a device add PnP event.

Definition at line 1787 of file bgapi2_genicam.hpp.

bgapi: BGAPI::Camera Class Reference

Jan, 14 2020
Baumer Optronic GmbH, Badstrasse 30, 01454 D-Radeberg, Tel:+49-3528-4386-0, Fax:+49-3528-4386-86, Email:support.cameras@baumer.com