Class FlagError
Defined in File roboteq_data_converters.hpp
Inheritance Relationships
Derived Types
public husarion_ugv_hardware_interfaces::FaultFlag(Class FaultFlag)public husarion_ugv_hardware_interfaces::RuntimeError(Class RuntimeError)public husarion_ugv_hardware_interfaces::ScriptFlag(Class ScriptFlag)
Class Documentation
-
class FlagError
Base class for different errors that are based on setting bits of one byte.
Subclassed by husarion_ugv_hardware_interfaces::FaultFlag, husarion_ugv_hardware_interfaces::RuntimeError, husarion_ugv_hardware_interfaces::ScriptFlag
Public Functions
-
FlagError(const std::vector<std::string> &flag_names, const std::vector<std::string> &suppressed_flags_names = {})
Sets which flags should be ignored when checking if an error occurred when converting to message true data still will be set.
-
virtual ~FlagError() = default
-
inline void SetData(const std::uint8_t flags)
-
inline bool IsError() const
-
std::string GetErrorLog() const
-
FlagError(const std::vector<std::string> &flag_names, const std::vector<std::string> &suppressed_flags_names = {})