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"
34 inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
35 enum class IGNITION_TRANSPORT_PARAMETERS_VISIBLE
50 public: IGNITION_TRANSPORT_PARAMETERS_VISIBLE
56 public: IGNITION_TRANSPORT_PARAMETERS_VISIBLE
58 ParameterResultType _resultType,
const std::string & _paramName);
64 public: IGNITION_TRANSPORT_PARAMETERS_VISIBLE
66 ParameterResultType _resultType,
71 public: IGNITION_TRANSPORT_PARAMETERS_VISIBLE
72 ParameterResultType ResultType()
const;
75 public: IGNITION_TRANSPORT_PARAMETERS_VISIBLE
79 public: IGNITION_TRANSPORT_PARAMETERS_VISIBLE
84 public: IGNITION_TRANSPORT_PARAMETERS_VISIBLE
85 explicit operator bool()
const;
87 private: ParameterResultType resultType;
93 IGNITION_TRANSPORT_PARAMETERS_VISIBLE
Definition: gz/transport/AdvertiseOptions.hh:28
The return type used in all falible parameters methods.
Definition: gz/transport/parameters/result.hh:47
AlreadyDeclared
Definition: gz/transport/parameters/result.hh:39
IGNITION_TRANSPORT_PARAMETERS_VISIBLE ParameterResult(ParameterResultType _resultType)
Construct.
NotDeclared
Definition: gz/transport/parameters/result.hh:41
ClientTimeout
Definition: gz/transport/parameters/result.hh:42
Unexpected
Definition: gz/transport/parameters/result.hh:43
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:40
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.
Success
Definition: gz/transport/parameters/result.hh:38