fgms 0.11.8
The
FlightGear MultiPlayer Server
project
logstream_base Struct Reference

A helper class. More...

#include <logstream.hxx>

Inheritance diagram for logstream_base:
logstream

Public Member Functions

 logstream_base ()
 

Public Attributes

logbuf lbuf
 

Detailed Description

A helper class.

Ensures a streambuf and ostream are constructed and destroyed in the correct order. The streambuf must be created before the ostream but bases are constructed before members. Thus, making this class a private base of logstream, declared to the left of ostream, we ensure the correct order of construction and destruction.

Definition at line 271 of file logstream.hxx.

Constructor & Destructor Documentation

logstream_base::logstream_base ( )
inline

Definition at line 274 of file logstream.hxx.

Member Data Documentation

logbuf logstream_base::lbuf

The documentation for this struct was generated from the following file: