C++ SDK for MANUS Core 2.0
Loading...
Searching...
No Matches
SDKClient.hpp File Reference
#include <chrono>
#include <cmath>
#include <iomanip>
#include <memory>
#include <sstream>
#include <functional>
#include "spdlog/sinks/stdout_color_sinks.h"
#include "spdlog/spdlog.h"
#include "ClientPlatformSpecific.hpp"
#include "ManusSDK.h"

Go to the source code of this file.

Classes

struct  ClientHapticSettings
 Haptic settings for a single glove. More...
 
class  ClientSkeleton
 Used to store the information about the final animated skeletons. More...
 
class  ClientSkeletonCollection
 Used to store all the final animated skeletons received from Core. More...
 
class  SDKClient
 

Enumerations

enum class  ClientState : int {
  ClientState_PickingConnectionType = 0 , ClientState_LookingForHosts , ClientState_NoHostsFound , ClientState_PickingHost ,
  ClientState_ConnectingToCore , ClientState_DisplayingData , ClientState_Disconnected , ClientState_MAX_CLIENT_STATE_SIZE
}
 The current state of the client. More...
 
enum class  ClientReturnCode : int {
  ClientReturnCode_Success = 0 , ClientReturnCode_FailedPlatformSpecificInitialization , ClientReturnCode_FailedToResizeWindow , ClientReturnCode_FailedToInitialize ,
  ClientReturnCode_FailedToFindHosts , ClientReturnCode_FailedToConnect , ClientReturnCode_UnrecognizedStateEncountered , ClientReturnCode_FailedToShutDownSDK ,
  ClientReturnCode_FailedPlatformSpecificShutdown , ClientReturnCode_FailedToRestart , ClientReturnCode_FailedWrongTimeToGetData , ClientReturnCode_MAX_CLIENT_RETURN_CODE_SIZE ,
  ClientReturnCode_Success = 0 , ClientReturnCode_FailedPlatformSpecificInitialization , ClientReturnCode_FailedToResizeWindow , ClientReturnCode_FailedToInitialize ,
  ClientReturnCode_FailedToFindHosts , ClientReturnCode_FailedToConnect , ClientReturnCode_UnrecognizedStateEncountered , ClientReturnCode_FailedToShutDownSDK ,
  ClientReturnCode_FailedPlatformSpecificShutdown , ClientReturnCode_FailedToRestart , ClientReturnCode_FailedWrongTimeToGetData , ClientReturnCode_MAX_CLIENT_RETURN_CODE_SIZE
}
 Values that can be returned by this application. More...
 

Variables

constexpr unsigned int NUMBER_OF_HANDS_SUPPORTED = 2
 Constant expression: number of hands supported by demo. More...
 
constexpr unsigned long long int MINIMUM_MILLISECONDS_BETWEEN_HAPTICS_COMMANDS = 20
 Constant expression used to define the time between two possible haptics commands sent. More...
 
constexpr unsigned long long int MILLISECONDS_BETWEEN_TEMPORARY_SKELETONS_UPDATE = 1000
 Constant expression used to define the time between two updates of the temporary skeleton count printing. More...