Go to the documentation of this file.
18 #ifndef GZ_TRANSPORT_PARAMETERS_EXCEPTIONS_HH_
19 #define GZ_TRANSPORT_PARAMETERS_EXCEPTIONS_HH_
24 #include "gz/transport/config.hh"
25 #include "gz/transport/parameters/Export.hh"
30 inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
31 enum class IGNITION_TRANSPORT_PARAMETERS_VISIBLE
46 public: IGNITION_TRANSPORT_PARAMETERS_VISIBLE
52 public: IGNITION_TRANSPORT_PARAMETERS_VISIBLE
54 ParameterResultType _resultType,
const std::string & _paramName);
60 public: IGNITION_TRANSPORT_PARAMETERS_VISIBLE
62 ParameterResultType _resultType,
67 public: IGNITION_TRANSPORT_PARAMETERS_VISIBLE
68 ParameterResultType ResultType()
const;
71 public: IGNITION_TRANSPORT_PARAMETERS_VISIBLE
75 public: IGNITION_TRANSPORT_PARAMETERS_VISIBLE
80 public: IGNITION_TRANSPORT_PARAMETERS_VISIBLE
81 explicit operator bool()
const;
83 private: ParameterResultType resultType;
89 IGNITION_TRANSPORT_PARAMETERS_VISIBLE
The return type used in all falible parameters methods.
Definition: gz/transport/parameters/result.hh:43
AlreadyDeclared
Definition: gz/transport/parameters/result.hh:35
IGNITION_TRANSPORT_PARAMETERS_VISIBLE ParameterResult(ParameterResultType _resultType)
Construct.
NotDeclared
Definition: gz/transport/parameters/result.hh:37
ClientTimeout
Definition: gz/transport/parameters/result.hh:38
Unexpected
Definition: gz/transport/parameters/result.hh:39
IGNITION_TRANSPORT_PARAMETERS_VISIBLE ParameterResultType ResultType() const
Return the result type.
IGNITION_TRANSPORT_PARAMETERS_VISIBLE std::ostream & operator<<(std::ostream &, const ParameterResult &)
Stream operator, for debug output.
InvalidType
Definition: gz/transport/parameters/result.hh:36
const IGNITION_TRANSPORT_PARAMETERS_VISIBLE std::string & ParamType() const
Return the related parameter type.
const IGNITION_TRANSPORT_PARAMETERS_VISIBLE std::string & ParamName() const
Return the related parameter name.
Definition: gz/transport/parameters/Client.hh:33
Success
Definition: gz/transport/parameters/result.hh:34