VR-Link API Documentation for HLA 1.3
Classes | Typedefs | Enumerations | Functions | Variables

Functions in vlPrint.h provide an error and print facility for vrlink. More...

Go to the source code of this file.

Classes

class  DtPrinter
 DtPrinter is an abstract base class which provides an interface for output. More...
class  DtFilePrinter
 DtFilePrinter is a subclass of DtPrinter which opens a file and dumps all information received from DtOutputStream to the file. More...
class  DtStdoutPrinter
 DtStdoutPrinter is a subclass of DtPrinter which copies all input received from DtOutputStream to the systems standard output device. More...
class  DtStderrPrinter
 class DtStderrPrinter is a subclass of DtPrinter which copies all input received from DtOutputStream to the systems standard error device. More...
class  DtOutputStreamBuffer
 DtOutputStreamBuffer is the internal buffer for DtOutputStream it has no value to VR-Link developers and should not be subclassed or modified. More...
class  DtOutputStream
 DtOutputStream is used for all toolkit output. More...

Typedefs

typedef void(* DtAbortFunc )()

Enumerations

enum  DtNotifyLevelType {
  DtNlFatal = 0, DtNlWarn = 1, DtNlInfo = 2, DtNlVerbose = 3,
  DtNlDebug = 4
}
 Default is DtNlInfo. More...

Functions

void DtSetVrLinkPrinter (DtPrinter *newPrinter)
 DtSetVrLinkPrinter is provided for backwards compatibility.
void DtAbort ()
 DtAbort() exits the program.
void DtSetAbortFunc (DtAbortFunc func)
DtAbortFunc DtGetAbortFunc ()
void DtFatalError (const char *str,...)
 These functions print messages using DtOutputStreams depending on the notify level.
void DtFatalPerror (const char *str,...)
 These functions print messages using DtOutputStreams depending on the notify level.
void DtWarnPerror (const char *str,...)
 These functions print messages using DtOutputStreams depending on the notify level.
void DtFatalNetPerror (const char *str,...)
 These functions print messages using DtOutputStreams depending on the notify level.
void DtWarnNetPerror (const char *str,...)
 These functions print messages using DtOutputStreams depending on the notify level.

Variables

int DtNotifyLevel
 DtNotifyLevel is used to control the level of diagnostics output by VR-Link.
DtStdoutPrinter DtStandardOutConsole
 This class is a basic DtPrinter instance which can be used with DtOutputStream instances.
DtStderrPrinter DtStandardErrorConsole
 This class is a basic DtPrinter instance which can be used with DtOutputStream instances.
DtOutputStream DtFatal
 These DtOutputStream instances are used for all print messaging in VR-Link.
DtOutputStream DtWarn
 These DtOutputStream instances are used for all print messaging in VR-Link.
DtOutputStream DtInfo
 DtInfo is an global instance of a DtOutputStream.
DtOutputStream DtVerbose
 These DtOutputStream instances are used for all print messaging in VR-Link.
DtOutputStream DtDebug
 These DtOutputStream instances are used for all print messaging in VR-Link.

Detailed Description

Functions in vlPrint.h provide an error and print facility for vrlink.

Enumeration Type Documentation

Default is DtNlInfo.

Notification Levels

Enumerator:
DtNlFatal 
DtNlWarn 
DtNlInfo 
DtNlVerbose 
DtNlDebug 

Variable Documentation

int DtNotifyLevel

DtNotifyLevel is used to control the level of diagnostics output by VR-Link.

It should be set to one of the levels defined in the enumeration DtNotifyLevelType. Each level includes messages for all lower levels as well. The default level is DtNlInfo, i.e. all messages except debug statements.

Referenced by DtCmdLine::StdOutput::failure(), DtCmdLine::CmdLine::parse(), DtCmdLine::StdOutput::usage(), DtCmdLine::StdOutput::version(), DtCmdLine::HelpVisitor::visit(), and DtCmdLine::VersionVisitor::visit().


Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)