Raytrix RayCam SDK  v2.1.0
RayCamAPI.h
Go to the documentation of this file.
1 // Copyright (c) 2013 Raytrix GmbH. All rights reserved.
4 
5 #pragma once
6 
7 #ifdef LINUX
8  #define DLL_API
9  #define RX_STATIC
10 #else
11  #ifdef RX_RAYCAMAPI_EXPORTS
12  #define DLL_API __declspec(dllexport)
13  #else
14  #define DLL_API __declspec(dllimport)
15  #endif
16 #endif
17 
18 #pragma managed(push, off)
19 
21 #include "Rx.RayCam.Interface/IStatusHandlerFunction.h"
22 #include "Rx.Interop.Runtime31/IException.h"
23 #include "Rx.Interop.Runtime28/RxImageTypes.h"
24 
25 #include <string>
26 
27 namespace Rx
28 {
29  namespace RayCam
30  {
43 
49  DLL_API void ReleaseDriver(void);
50 
58  DLL_API void AddStatusMessageHandler(TStatusMessageCallback pFunc, void* pvContext);
59 
67  DLL_API void RemoveStatusMessageHandler(TStatusMessageCallback pFunc, void* pvContext);
68 
80  DLL_API void SetInfoLogLevel(int iErrorLevel);
81 
92  DLL_API void AddInfoLogMessage(int iInfoLevel, std::string sMsg);
93  }
94 }
95 
96 #pragma managed(pop)
DLL_API Rx::RayCam::IDriver * CreateDriver(void)
Creates the driver object. The default order to create a camera would be:
Driver class initializes the driver and checks for connected and valid devices. You can search for de...
Definition: IDriver.h:32
#define DLL_API
Definition: RayCamAPI.h:14
DLL_API void AddStatusMessageHandler(TStatusMessageCallback pFunc, void *pvContext)
Registers a status message callback Function. This function will be called when a new Status Message ...
DLL_API void ReleaseDriver(void)
Releases and cleans up the driver and disconnects all attached cameras.
DLL_API void SetInfoLogLevel(int iErrorLevel)
Set the Info log Level.
DLL_API void RemoveStatusMessageHandler(TStatusMessageCallback pFunc, void *pvContext)
Removes a registered message callback function.
DLL_API void AddInfoLogMessage(int iInfoLevel, std::string sMsg)
Adds an information log message.
Definition: RayCamAPI.h:27