Go to the documentation of this file.
8 #ifndef RTCTK_REUSABLECOMPONENT_TELREPUB_MUDPIPROCESSORERROR_HPP_
9 #define RTCTK_REUSABLECOMPONENT_TELREPUB_MUDPIPROCESSORERROR_HPP_
12 #include <system_error>
25 TopicIdOutOfRange = 1,
58 const char* name()
const noexcept
override {
59 return "MudpiProcessingError";
65 std::string message(
int ev)
const noexcept
override {
67 case MudpiProcessingError::TopicIdOutOfRange:
68 return "TopicId out of range";
69 case MudpiProcessingError::FrameIdOutOfRange:
70 return "FrameId out of range";
71 case MudpiProcessingError::JumpedSamples:
72 return "Missing (jamped) sample";
73 case MudpiProcessingError::MissingFrame:
74 return "Missing (skipped) frame in a sample";
76 return "Topic too long";
82 virtual bool equivalent(
const std::error_code& code,
83 int condition)
const noexcept
override {
116 #endif //RTCTK_REUSABLECOMPONENT_TELREPUB_MUDPIPROCESSORERROR_HPP_
Definition: ddsPub.cpp:12
Definition: mudpiProcessingError.hpp:54
const std::error_category & GetMudpiProcessorErrorCategory()
Definition: mudpiProcessingError.hpp:93
MudpiProcessingError
Definition: mudpiProcessingError.hpp:21
std::error_code make_error_code(MudpiProcessingError e)
Definition: mudpiProcessingError.hpp:103
Definition: mudpiProcessingError.hpp:109
Definition: exampleBusinessLogic.cpp:12