![]() |
ImFusion C++ SDK 4.4.0
|
#include <ImFusionLabels/lib/include/ImFusion/Labels/Core/NetworkUtils.h>
Contains the status of the server (used by checkServer) i.e. More...
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::string & | message () 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 |