a class that holds information about one output channel (file, device, stream, peripheral, etc.)
More...
#include <OSOutput.h>
a class that holds information about one output channel (file, device, stream, peripheral, etc.)
Definition at line 41 of file OSOutput.h.
OSOutputChannel::OSOutputChannel |
( |
std::string |
name | ) |
|
Constructor.
- Parameters
-
name | holds the name of the file or device that applies to this output device in all code areas |
OSOutputChannel::~OSOutputChannel |
( |
| ) |
|
std::string OSOutputChannel::Name |
( |
| ) |
|
Get the name of the output channel.
Set the print level for a particular area.
- Parameters
-
area | holds the area of the code to which this option is to be applied |
level | holds a valid print level |
- Returns
- whether the set() was successful
Set the print level for all areas.
- Parameters
-
level | holds a valid print level |
- Returns
- whether the set() was successful
Set different print levels for all areas.
- Parameters
-
level | holds an array of valid print levels |
dim | holds the number of entries in the array level |
- Returns
- whether the set() was successful
Test if the device accepts a particular combination of print level and area (i.e., if the output should be printed)
Send one string to the output device provided that the output device "accepts" the output (i.e., the print level applicable to the area that originated the output exceeds the level of the print statement.
- Parameters
-
area | the area in which the output string originated |
level | the print level associated with the string |
str | the string that is to be printed |
void OSOutputChannel::flushBuffer |
( |
| ) |
|
bool OSOutputChannel::Open |
( |
| ) |
|
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/OS-2.10.1/src/OSUtils/OSOutput.h