Download include/client_stubs/DeviceManagerClientRpc.h from mhussainahmad/kortex-api: direct link, hf CLI and curl.
- Browser
- Download file 1.84 kB
-
https://huggingface.co/mhussainahmad/kortex-api/resolve/main/include/client_stubs/DeviceManagerClientRpc.h
- Command line
-
hf download hf://mhussainahmad/kortex-api/include/client_stubs/DeviceManagerClientRpc.h
-
curl -L -o DeviceManagerClientRpc.h https://huggingface.co/mhussainahmad/kortex-api/resolve/main/include/client_stubs/DeviceManagerClientRpc.h
1.84 kB
| namespace Kinova | |
| { | |
| namespace Api | |
| { | |
| namespace DeviceManager | |
| { | |
| // todogr move somewhere else | |
| const std::string none = ""; | |
| enum FunctionUids | |
| { | |
| eUidReadAllDevices = 0x170001, | |
| }; | |
| class DeviceManagerClient | |
| { | |
| static const uint32_t m_serviceVersion = 1; | |
| static const uint32_t m_serviceId = eIdDeviceManager; | |
| NotificationHandler m_notificationHandler; | |
| protected: | |
| IRouterClient* const m_clientRouter; | |
| public: | |
| DeviceManagerClient(IRouterClient* clientRouter); | |
| static uint32_t getUniqueFctId(uint16_t fctId); | |
| DeviceHandles ReadAllDevices(uint32_t deviceId = 0, const RouterClientSendOptions& options = {false, 0, 3000}); | |
| void ReadAllDevices_callback(std::function< void (const Error&, const DeviceHandles&) > callback, uint32_t deviceId = 0); | |
| std::future<DeviceHandles> ReadAllDevices_async(uint32_t deviceId = 0, const RouterClientSendOptions& options = {false, 0, 3000}); | |
| private: | |
| void messageHeaderValidation(const Frame& msgFrame){ /* todogr ... */ } | |
| }; | |
| } | |
| } | |
| } | |