Helpers for setting up diagnostics for nodelets. More...
#include <memory>
#include <string>
#include <type_traits>
#include <boost/function.hpp>
#include <boost/shared_ptr.hpp>
#include <diagnostic_updater/diagnostic_updater.h>
#include <ros/advertise_options.h>
#include <ros/message_traits.h>
#include <ros/node_handle.h>
#include <ros/rate.h>
#include <ros/subscribe_options.h>
#include <ros/transport_hints.h>
#include <cras_cpp_common/diag_utils.hpp>
#include <cras_cpp_common/diag_utils/diagnosed_pub_sub.hpp>
#include <cras_cpp_common/diag_utils/topic_status_param.hpp>
#include <cras_cpp_common/diag_utils/updater.h>
#include <cras_cpp_common/message_utils.hpp>
#include "impl/nodelet_with_diagnostics.hpp"
Go to the source code of this file.
Classes | |
struct | cras::NodeletWithDiagnostics< NodeletType > |
Nodelet mixin that provides helper functions for running a diagnostics updater. More... | |
Namespaces | |
cras | |
cras::impl | |
Macros | |
#define | CRAS_NODELET_DIAG_GENERATE_OVERLOAD_M(NH, NH2, PARAM, PARAM2, CB, CB2) |
#define | CRAS_NODELET_DIAG_GENERATE_OVERLOAD_MESSAGE(NH, NH2, PARAM, PARAM2, CB) |
#define | CRAS_NODELET_DIAG_GENERATE_OVERLOAD_MT(NH, NH2, PARAM, PARAM2, CB) |
#define | CRAS_NODELET_DIAG_GENERATE_OVERLOAD_OPTIONS(NH, NH2, PARAM, PARAM2) |
#define | CRAS_NODELET_DIAG_GENERATE_OVERLOADS(NH, NH2, PARAM, PARAM2) |
#define | CRAS_SINGLE_ARG(...) __VA_ARGS__ |
Helpers for setting up diagnostics for nodelets.
Definition in file nodelet_with_diagnostics.hpp.
#define CRAS_NODELET_DIAG_GENERATE_OVERLOAD_M | ( | NH, | |
NH2, | |||
PARAM, | |||
PARAM2, | |||
CB, | |||
CB2 | |||
) |
Definition at line 643 of file nodelet_with_diagnostics.hpp.
#define CRAS_NODELET_DIAG_GENERATE_OVERLOAD_MESSAGE | ( | NH, | |
NH2, | |||
PARAM, | |||
PARAM2, | |||
CB | |||
) |
Definition at line 651 of file nodelet_with_diagnostics.hpp.
#define CRAS_NODELET_DIAG_GENERATE_OVERLOAD_MT | ( | NH, | |
NH2, | |||
PARAM, | |||
PARAM2, | |||
CB | |||
) |
Definition at line 659 of file nodelet_with_diagnostics.hpp.
#define CRAS_NODELET_DIAG_GENERATE_OVERLOAD_OPTIONS | ( | NH, | |
NH2, | |||
PARAM, | |||
PARAM2 | |||
) |
Definition at line 667 of file nodelet_with_diagnostics.hpp.
#define CRAS_NODELET_DIAG_GENERATE_OVERLOADS | ( | NH, | |
NH2, | |||
PARAM, | |||
PARAM2 | |||
) |
Definition at line 678 of file nodelet_with_diagnostics.hpp.
#define CRAS_SINGLE_ARG | ( | ... | ) | __VA_ARGS__ |
Definition at line 676 of file nodelet_with_diagnostics.hpp.