Mech-Eye API 2.4.0
API reference documentation for Mech-Eye 3D Laser Profiler
|
Describes the event of profiler. Use ProfilerEvent::registerProfilerEventCallback to register an event of interest. More...
#include <ProfilerEvent.h>
Public Types | |
enum | Event { PROFILER_EVENT_DISCONNECTED = 0x0001 , PROFILER_EVENT_ALL = 0xFFFF } |
Describes the types of Event. More... | |
using | EventCallback = std::function<void(Event event, void* pUser)> |
Static Public Member Functions | |
static ErrorStatus | registerProfilerEventCallback (Profiler &profiler, EventCallback callback, void *pUser, unsigned int events) |
Registers a profiler event of interest. | |
Describes the event of profiler. Use ProfilerEvent::registerProfilerEventCallback to register an event of interest.
Definition at line 48 of file ProfilerEvent.h.
using mmind::eye::ProfilerEvent::EventCallback = std::function<void(Event event, void* pUser)> |
Definition at line 59 of file ProfilerEvent.h.
Describes the types of Event.
Definition at line 54 of file ProfilerEvent.h.
|
static |
Registers a profiler event of interest.
[in] | profiler | The profiler handle. |
[in] | callback | The callback function for responding to profiler events. |
[in] | pUser | Pointer used by the user. |
[in] | events | The profiler event. See ProfilerEvent::Event for details. |