4 #ifndef ROSMON_MONITOR_MONITOR_H 5 #define ROSMON_MONITOR_MONITOR_H 7 #include "../fd_watcher.h" 8 #include "../launch/launch_config.h" 13 #include <boost/signals2.hpp> 37 inline bool ok()
const 40 const std::vector<NodeMonitor::Ptr>&
nodes()
const 42 std::vector<NodeMonitor::Ptr>&
nodes()
56 template<
typename... Args>
57 void log(
const char* fmt,
const Args& ... args);
ros::WallTimer m_statTimer
const std::vector< NodeMonitor::Ptr > & nodes() const
std::map< int, ProcessInfo > m_processInfos
process_info::ProcessStat stat
std::vector< NodeMonitor::Ptr > & nodes()
boost::signals2::signal< void(std::string, std::string)> logMessageSignal
std::vector< NodeMonitor::Ptr > m_nodes
Monitor(launch::LaunchConfig::ConstPtr config, FDWatcher::Ptr watcher)
FDWatcher::Ptr m_fdWatcher
std::shared_ptr< const LaunchConfig > ConstPtr
launch::LaunchConfig::ConstPtr config() const
void handleRequiredNodeExit(const std::string &name)
launch::LaunchConfig::ConstPtr m_config
void log(const char *fmt, const Args &...args)