#include <ConsoleReporting.hpp>
Public Member Functions | |
ConsoleReporting (std::string fr_name="ReportingComponent", std::ostream &console=std::cerr) | |
bool | screenComponent (const std::string &comp) |
bool | startHook () |
void | stopHook () |
Protected Attributes | |
std::ostream & | mconsole |
A component which writes data reports to a console.
Definition at line 14 of file ConsoleReporting.hpp.
OCL::ConsoleReporting::ConsoleReporting | ( | std::string | fr_name = "ReportingComponent" , |
std::ostream & | console = std::cerr |
||
) |
Create a reporting component which writes to a C++ stream.
Definition at line 15 of file ConsoleReporting.cpp.
bool OCL::ConsoleReporting::screenComponent | ( | const std::string & | comp | ) | [virtual] |
Writes the interface status of comp to the console.
Reimplemented from OCL::ReportingComponent.
Definition at line 48 of file ConsoleReporting.cpp.
bool OCL::ConsoleReporting::startHook | ( | ) | [virtual] |
Reimplemented from OCL::ReportingComponent.
Definition at line 21 of file ConsoleReporting.cpp.
void OCL::ConsoleReporting::stopHook | ( | ) | [virtual] |
Reimplemented from OCL::ReportingComponent.
Definition at line 41 of file ConsoleReporting.cpp.
std::ostream& OCL::ConsoleReporting::mconsole [protected] |
Console to write reports to.
Definition at line 21 of file ConsoleReporting.hpp.