6 #ifndef IFM3D_PCICCLIENT_PCICCLIENT_H
7 #define IFM3D_PCICCLIENT_PCICCLIENT_H
9 #include <ifm3d/pcicclient/module_pcicclient.h>
11 #include <ifm3d/device.h>
24 using Ptr = std::shared_ptr<PCICClient>;
34 const std::uint16_t pcic_port = ifm3d::PCIC_PORT);
78 long Call(
const std::string& request,
79 std::function<
void(
const std::string& response)> callback);
95 std::string Call(
const std::string& request);
120 bool Call(
const std::string& request,
121 std::string& response,
122 long timeout_millis);
137 long SetErrorCallback(
138 std::function<
void(
const std::string& error)> callback);
155 long SetNotificationCallback(
156 std::function<
void(
const std::string& notification)> callback);
168 void CancelCallback(
long callback_id);
171 class IFM3D_NO_EXPORT Impl;
172 std::unique_ptr<Impl> pImpl;
178 #endif // IFM3D_PCICCLIENT_PCICCLIENT_H