HMIConsoleOutput Class Reference

This component can be used to display messages on the standard output. More...

#include <HMIConsoleOutput.hpp>

List of all members.

Public Member Functions

 HMIConsoleOutput (const std::string &name="cout")
void updateHook ()
void enableColor (bool yesno=true)
 Enable or disable using a colored prompt.
void setPrompt (const std::string &prompt)
 Set the prompt text.
void display (const std::string &what)
 Display a message on standard output.
template<class T >
void enqueue (const T &what)
 Put a message in the queue.
void displayBool (bool what)
 Display a boolean on standard output.
void displayInt (int what)
 Display an integer on standard output.
void displayDouble (double what)
 Display a double on standard output.
template<class T >
void dolog (const T &what)
void log (const std::string &what)
void logBool (bool what)
 Log a boolean on standard output.
void logInt (int what)
 Log an integer on standard output.
void logDouble (double what)
 Log a double on standard output.

Detailed Description

This component can be used to display messages on the standard output.

It is known as the 'cout' component in scripts.

HMI == Human-Machine Interface

Definition at line 51 of file HMIConsoleOutput.hpp.


Member Function Documentation

void enqueue ( const T &  what  )  [inline]

Put a message in the queue.

The message must be convertible to a stream using operator<<().

Definition at line 167 of file HMIConsoleOutput.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Dec 23 15:05:28 2010 for OrocosComponentLibrary by  doxygen 1.6.3