updater.h
Go to the documentation of this file.
1 #pragma once
2 
11 #include <string>
12 
14 #include <ros/node_handle.h>
15 #include <ros/this_node.h>
16 
17 namespace cras
18 {
19 
24 {
25 public:
32  explicit DiagnosticUpdater(
33  const ::ros::NodeHandle& h = ::ros::NodeHandle(),
34  const ::ros::NodeHandle& ph = ::ros::NodeHandle("~"),
35  const ::std::string& node_name = ::ros::this_node::getName());
36 };
37 
38 }
node_handle.h
cras
Definition: any.hpp:15
diagnostic_updater::Updater
cras::DiagnosticUpdater
Diagnostic updater that automatically sets its Hardware ID to hostname of the machine.
Definition: updater.h:23
diagnostic_updater.h
cras::DiagnosticUpdater::DiagnosticUpdater
DiagnosticUpdater(const ::ros::NodeHandle &h=::ros::NodeHandle(), const ::ros::NodeHandle &ph=::ros::NodeHandle("~"), const ::std::string &node_name=::ros::this_node::getName())
Create the updater.
ros::this_node::getName
const ROSCPP_DECL std::string & getName()
this_node.h
ros::NodeHandle


cras_cpp_common
Author(s): Martin Pecka
autogenerated on Tue Nov 26 2024 03:49:04