2 #include "ConsoleReporting.hpp" 3 #include <rtt/Logger.hpp> 4 #include "TableMarshaller.hpp" 5 #include "NiceHeaderMarshaller.hpp" 15 ConsoleReporting::ConsoleReporting(std::string fr_name , std::ostream& console )
21 bool ConsoleReporting::startHook()
23 RTT::Logger::In in(
"ConsoleReporting::startup");
25 RTT::marsh::MarshallInterface* fheader;
26 RTT::marsh::MarshallInterface* fbody;
27 if ( this->writeHeader)
35 log(Error) <<
"Could not write to console for reporting."<<RTT::endlog();
38 return ReportingComponent::startHook();
41 void ConsoleReporting::stopHook()
43 ReportingComponent::stopHook();
bool addMarshaller(RTT::marsh::MarshallInterface *headerM, RTT::marsh::MarshallInterface *bodyM)
Adds a Plugin to receive incomming data.
A component which writes data reports to a console.
bool screenComponent(const std::string &comp)
Writes the interface status of comp to the console.
This file contains the macros and definitions to create dynamically loadable components.
bool removeMarshallers()
Remove and delete all added Marshallers.
The Orocos Component Library.
A Component for periodically reporting Component Port contents to a human readable text format...
A marsh::MarshallInterface for generating a stream of numbers, ordered in columns.
std::ostream & mconsole
Console to write reports to.
bool screenImpl(const std::string &comp, std::ostream &output)
This method writes out the status of a component's interface.