Experimental/Incomplete


Classes

class  libthrowable::ColoredString
 Class for printing colored text to a terminal. More...

Functions

static void libthrowable::TracePoint::setThreadName (const std::string &name) throw ()
 Sets a name for the current thread.

Variables

const unsigned libthrowable::c_white = 0
 White, sometimes grey without c_intensity.
const unsigned libthrowable::c_black = 1
 Black.
const unsigned libthrowable::c_yellow = 2
 Yellow, sometimes orange or brown without c_intensity.
const unsigned libthrowable::c_red = 3
 Red.
const unsigned libthrowable::c_magenta = 4
 Magenta.
const unsigned libthrowable::c_blue = 5
 Blue.
const unsigned libthrowable::c_cyan = 6
 Cyan.
const unsigned libthrowable::c_green = 7
 Green.
const unsigned libthrowable::c_nochange = 8
 Passing this value will preserve the previous color settings.
const unsigned libthrowable::c_intensity = 128
 Not a real color, but can be ORed together with another color to add intensity and/or make the text appear bold.

Detailed Description

Experimental and incomplete APIs you should most likely not use for now.

Function Documentation

static void libthrowable::TracePoint::setThreadName ( const std::string &  name  )  throw () [static, inherited]

Sets a name for the current thread.

This name will be displayed in a TracePoint's output instead of the thread's id.

Note:
This function will be available even if threads are disabled. In that case, all arguments will be discarded.
Warning:
This feature is considered to be experiental. It may be removed or changed with the next relase. Don't use it for now.


Variable Documentation

const unsigned libthrowable::c_black = 1

Black.

const unsigned libthrowable::c_blue = 5

Blue.

const unsigned libthrowable::c_cyan = 6

Cyan.

const unsigned libthrowable::c_green = 7

Green.

const unsigned libthrowable::c_intensity = 128

Not a real color, but can be ORed together with another color to add intensity and/or make the text appear bold.

const unsigned libthrowable::c_magenta = 4

Magenta.

const unsigned libthrowable::c_nochange = 8

Passing this value will preserve the previous color settings.

const unsigned libthrowable::c_red = 3

Red.

const unsigned libthrowable::c_white = 0

White, sometimes grey without c_intensity.

const unsigned libthrowable::c_yellow = 2

Yellow, sometimes orange or brown without c_intensity.


Generated on Wed Jan 9 18:07:17 2008 for libthrowable by  doxygen 1.5.4  Hosted on  SourceForge.net Logo