Download Goby v2 - gobysoft

Transcript
17.35
goby::common::FlexOstream Class Reference
164
• void insert (boost::posix_time::ptime t, const std::string &s, Group ∗g)
Add a string to the gui.
Utility
•
•
•
•
size_t panel_from_group (Group ∗g)
void recalculate_win ()
void cleanup ()
void alive (bool alive)
User Input Thread
• void run_input ()
run in its own thread to take input from the user
17.34.1
Detailed Description
Enables the Verbosity == gui mode of the Goby logger and displays an NCurses gui for the logger content.
Definition at line 44 of file flex_ncurses.h.
The documentation for this class was generated from the following files:
• goby/common/logger/flex_ncurses.h
• src/common/logger/flex_ncurses.cpp
17.35
goby::common::FlexOstream Class Reference
Forms the basis of the Goby logger: std::ostream derived class for holding the FlexOStreamBuf.
#include <goby/common/logger/flex_ostream.h>
Inherits std::ostream.
Public Member Functions
• FlexOstream (const FlexOstream &)
• FlexOstream & operator= (const FlexOstream &)
• void refresh ()
Get a reference to the Goby logger mutex for scoped locking.
• void set_group (const std::string &s)
Initialization
• void add_group (const std::string &name, Colors::Color color=Colors::nocolor, const std::string &description="")
• void set_name (const std::string &s)
Set the name of the application that the logger is serving.
• void enable_gui ()
• bool is (goby::common::logger::Verbosity verbosity, logger_lock::LockAction lock_action=logger_lock::none)
• void add_stream (logger::Verbosity verbosity=logger::VERBOSE, std::ostream ∗os=0)
Attach a stream object (e.g. std::cout, std::ofstream, ...) to the logger with desired verbosity.
• void add_stream (goby::common::protobuf::GLogConfig::Verbosity verbosity=goby::common::protobuf::GLogConfig::VERBOSE, std::ostream ∗os=0)
Overloaded insert stream operator<<
Generated on Wed Mar 26 2014 01:41:49 for Goby v2 by Doxygen