ImFusion C++ SDK 4.4.0
ImFusion::Network::ServerStatus Class Reference

#include <ImFusionLabels/lib/include/ImFusion/Labels/Core/NetworkUtils.h>

Contains the status of the server (used by checkServer) i.e. More...

Detailed Description

Contains the status of the server (used by checkServer) i.e.

an enum and a message Also offers an implicit bool conversion operator that checks if the underlying status has the "Supported" enum value

Public Types

enum class  Status {
  Unreachable , NotALabelsServer , Supported , VersionTooLow ,
  VersionTooHigh , VersionWarning
}

Public Member Functions

 ServerStatus (Status s, const std::string &message="")
 operator bool () const
const std::stringmessage () const
Status status () const

Static Public Attributes

static const std::string UnreachableFormatMessage
static const std::string NotALabelsServerFormatMessage
static const std::string VersionTooLowFormatMessage
static const std::string VersionTooHighFormatMessage
static const std::string VersionWarningMessage

The documentation for this class was generated from the following file:
  • ImFusionLabels/lib/include/ImFusion/Labels/Core/NetworkUtils.h
Search Tab / S to search, Esc to close