Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
rosmon::UI Class Reference

#include <ui.h>

Classes

struct  ChannelInfo
 

Public Member Functions

void log (const std::string &channel, const std::string &str)
 
 UI (monitor::Monitor *monitor, const FDWatcher::Ptr &fdWatcher)
 
void update ()
 
 ~UI ()
 

Private Member Functions

bool anyMuted ()
 
void checkWindowSize ()
 
void drawStatusLine ()
 
void handleInput ()
 
bool isMuted (const std::string &s)
 
void mute (const std::string &s)
 
void muteAll ()
 
void setupColors ()
 
void unmute (const std::string &s)
 
void unmuteAll ()
 

Private Attributes

int m_columns
 
FDWatcher::Ptr m_fdWatcher
 
monitor::Monitorm_monitor
 
std::unordered_set< std::string > m_mutedSet
 
std::map< std::string, ChannelInfom_nodeColorMap
 
int m_selectedNode
 
ros::WallTimer m_sizeTimer
 
std::string m_strSetColor
 
Terminal m_term
 

Detailed Description

Definition at line 19 of file ui.h.

Constructor & Destructor Documentation

rosmon::UI::UI ( monitor::Monitor monitor,
const FDWatcher::Ptr fdWatcher 
)
explicit

Definition at line 36 of file ui.cpp.

rosmon::UI::~UI ( )

Definition at line 68 of file ui.cpp.

Member Function Documentation

bool rosmon::UI::anyMuted ( )
inlineprivate

Definition at line 46 of file ui.h.

void rosmon::UI::checkWindowSize ( )
private

Definition at line 280 of file ui.cpp.

void rosmon::UI::drawStatusLine ( )
private

Definition at line 100 of file ui.cpp.

void rosmon::UI::handleInput ( )
private

Definition at line 287 of file ui.cpp.

bool rosmon::UI::isMuted ( const std::string &  s)
inlineprivate

Definition at line 49 of file ui.h.

void rosmon::UI::log ( const std::string &  channel,
const std::string &  str 
)

Definition at line 218 of file ui.cpp.

void rosmon::UI::mute ( const std::string &  s)
inlineprivate

Definition at line 52 of file ui.h.

void rosmon::UI::muteAll ( )
inlineprivate

Definition at line 58 of file ui.h.

void rosmon::UI::setupColors ( )
private

Definition at line 73 of file ui.cpp.

void rosmon::UI::unmute ( const std::string &  s)
inlineprivate

Definition at line 55 of file ui.h.

void rosmon::UI::unmuteAll ( )
inlineprivate

Definition at line 61 of file ui.h.

void rosmon::UI::update ( )

Definition at line 263 of file ui.cpp.

Member Data Documentation

int rosmon::UI::m_columns
private

Definition at line 69 of file ui.h.

FDWatcher::Ptr rosmon::UI::m_fdWatcher
private

Definition at line 65 of file ui.h.

monitor::Monitor* rosmon::UI::m_monitor
private

Definition at line 64 of file ui.h.

std::unordered_set<std::string> rosmon::UI::m_mutedSet
private

Definition at line 72 of file ui.h.

std::map<std::string, ChannelInfo> rosmon::UI::m_nodeColorMap
private

Definition at line 74 of file ui.h.

int rosmon::UI::m_selectedNode
private

Definition at line 76 of file ui.h.

ros::WallTimer rosmon::UI::m_sizeTimer
private

Definition at line 70 of file ui.h.

std::string rosmon::UI::m_strSetColor
private

Definition at line 78 of file ui.h.

Terminal rosmon::UI::m_term
private

Definition at line 67 of file ui.h.


The documentation for this class was generated from the following files:


rosmon_core
Author(s): Max Schwarz
autogenerated on Wed Jul 10 2019 03:10:12