Go to the documentation of this file.
4 #ifndef ROSMON_MONITOR_MONITOR_H
5 #define ROSMON_MONITOR_MONITOR_H
7 #include "../fd_watcher.h"
8 #include "../launch/launch_config.h"
9 #include "../log_event.h"
14 #include <boost/signals2.hpp>
38 inline bool ok()
const
41 const std::vector<NodeMonitor::Ptr>&
nodes()
const
43 std::vector<NodeMonitor::Ptr>&
nodes()
57 template<
typename... Args>
58 void log(
const char* fmt, Args&& ... args);
60 template<
typename... Args>
FDWatcher::Ptr m_fdWatcher
launch::LaunchConfig::ConstPtr config() const
ros::WallTimer m_statTimer
void updateStats(const ros::WallTimerEvent &event)
const std::vector< NodeMonitor::Ptr > & nodes() const
void handleRequiredNodeExit(const std::string &name)
std::shared_ptr< const LaunchConfig > ConstPtr
launch::LaunchConfig::ConstPtr m_config
process_info::ProcessStat stat
std::map< int, ProcessInfo > m_processInfos
boost::signals2::signal< void(LogEvent)> logMessageSignal
void logTyped(LogEvent::Type type, const char *fmt, Args &&... args)
std::vector< NodeMonitor::Ptr > m_nodes
void log(const char *fmt, Args &&... args)
std::vector< NodeMonitor::Ptr > & nodes()
Monitor(launch::LaunchConfig::ConstPtr config, FDWatcher::Ptr watcher)
rosmon_core
Author(s): Max Schwarz
autogenerated on Wed Feb 21 2024 04:01:14