Go to the documentation of this file.
5 #include "protodefinitions/Landscape.pb.h"
6 #include "protodefinitions/Devices.pb.h"
7 #include "protodefinitions/MeshConfig.pb.h"
20 const std::string& _clientInfo,
46 const std::string& _clientInfo,
47 const std::string& _hostName,
63 const std::string& _clientInfo,
64 const std::string& _address,
77 bool VibrateWrist(uint32_t _deviceId,
float _unitStrength, uint16_t _durationInMilliseconds);
85 bool VibrateFingers(uint32_t _dongleId, Hermes::Protocol::HandType _handType,
const std::array<float, 5>& _powers);
112 std::map<std::string, std::string> GetFoundHosts();
std::function< void(Hermes::Protocol::Pipeline &_pipeline)> filterSetupCallback
Typedef to support callback for filter pipeline data.
Definition: HermesCallbackTypes.hpp:61
std::function< void(const ErrorMessage &msg)> errorMessageCallback
Typedef to support callback for error messages.
Definition: HermesCallbackTypes.hpp:63
Definition: Pipeline.proto:17
void Stop()
Definition: HermesSDK.cpp:119
void FindNetworkHosts(HermesSDK::filterSetupCallback &_onFilterSetup, HermesSDK::deviceDataCallback &_onDeviceData, HermesSDK::deviceLandscapeCallback &_onDeviceLandscape, HermesSDK::errorMessageCallback &_onError)
Definition: HermesSDK.cpp:74
Definition: Landscape.proto:19
bool VibrateWrist(uint32_t _deviceId, float _unitStrength, uint16_t _durationInMilliseconds)
Definition: HermesSDK.cpp:132
bool GetFilterInventory(Hermes::Protocol::FilterInventory &_inventory)
Definition: HermesSDK.cpp:147
bool IsRunning()
Definition: HermesSDK.cpp:142
bool VibrateFingers(uint32_t _dongleId, Hermes::Protocol::HandType _handType, const std::array< float, 5 > &_powers)
Definition: HermesSDK.cpp:137
void ConnectNetworkHostName(const std::string &_clientName, const std::string &_clientInfo, const std::string &_hostName, HermesSDK::filterSetupCallback &_onFilterSetup, HermesSDK::deviceDataCallback &_onDeviceData, HermesSDK::deviceLandscapeCallback &_onDeviceLandscape, HermesSDK::errorMessageCallback &_onError)
Definition: HermesSDK.cpp:86
void ConnectLocal(const std::string &_clientName, const std::string &_clientInfo, HermesSDK::filterSetupCallback &_onFilterSetup, HermesSDK::deviceDataCallback &_onDeviceData, HermesSDK::deviceLandscapeCallback &_onDeviceLandscape, HermesSDK::errorMessageCallback &_onError)
Definition: HermesSDK.cpp:61
bool SetPipeline(Hermes::Protocol::Pipeline *_pipeline)
Definition: HermesSDK.cpp:157
void ConnectNetworkAddress(const std::string &_clientName, const std::string &_clientInfo, const std::string &_address, HermesSDK::filterSetupCallback &_onFilterSetup, HermesSDK::deviceDataCallback &_onDeviceData, HermesSDK::deviceLandscapeCallback &_onDeviceLandscape, HermesSDK::errorMessageCallback &_onError)
Definition: HermesSDK.cpp:102
LeafInfo GetLeafInfo(Hermes::Protocol::Hardware::DeviceLeaf &leaf)
Definition: HermesSDK.cpp:162
Hermes::Protocol::Pipeline * GetActivePipeline()
Definition: HermesSDK.cpp:152
std::function< void(const Hermes::Protocol::Devices &_devices)> deviceDataCallback
Typedef to support callback for device data
Definition: HermesCallbackTypes.hpp:57
Definition: Pipeline.proto:23
Definition: LeafInfo.h:12
std::function< void(const Hermes::Protocol::Hardware::DeviceLandscape &_landscape)> deviceLandscapeCallback
Typedef to support callback for landscape (connected devices) data.
Definition: HermesCallbackTypes.hpp:59