PLearn 0.1
Public Member Functions | Protected Attributes
PLearn::PL_LogPluginServer Class Reference

Server implementation of PL_LogPlugin :: outputs to client through opened socket. More...

#include <pl_log.h>

Inheritance diagram for PLearn::PL_LogPluginServer:
Inheritance graph
[legend]
Collaboration diagram for PLearn::PL_LogPluginServer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PL_LogPluginServer (PStream pstream)
virtual PStreamgetStream (PStream::mode_t outmode, const string &module_name, int requested_verbosity)

Protected Attributes

PStream m_pstream
PStream m_sstream

Detailed Description

Server implementation of PL_LogPlugin :: outputs to client through opened socket.

Definition at line 124 of file pl_log.h.


Constructor & Destructor Documentation

PLearn::PL_LogPluginServer::PL_LogPluginServer ( PStream  pstream) [inline]

Definition at line 127 of file pl_log.h.

        : m_pstream(pstream)
    { }

Member Function Documentation

PStream & PLearn::PL_LogPluginServer::getStream ( PStream::mode_t  outmode,
const string &  module_name,
int  requested_verbosity 
) [virtual]

Implements PLearn::PL_LogPlugin.

Definition at line 75 of file pl_log.cc.

{
    //gets everything as raw ascii, outputs it in desired format.
    //m_pstream.setOutMode(outmode);
    m_sstream= new ServerLogStreamBuf(m_pstream, module_name, requested_verbosity);
    m_sstream.setOutMode(outmode);
    //m_sstream.setOutMode(PStream::raw_ascii);
    return m_sstream;
}

Member Data Documentation

Definition at line 135 of file pl_log.h.

Definition at line 136 of file pl_log.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines