LLPipeStringInjector Class Reference

Simple class which writes a string and then marks the stream as done. More...

#include <llpipeutil.h>

Inheritance diagram for LLPipeStringInjector:

Inheritance graph
[legend]
Collaboration diagram for LLPipeStringInjector:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPipeStringInjector (const std::string &string)

Protected Member Functions

virtual EStatus process_impl (const LLChannelDescriptors &channels, buffer_ptr_t &buffer, bool &eos, LLSD &context, LLPumpIO *pump)

Private Attributes

std::string mString

Detailed Description

Simple class which writes a string and then marks the stream as done.

Definition at line 48 of file llpipeutil.h.


Constructor & Destructor Documentation

LLPipeStringInjector::LLPipeStringInjector ( const std::string &  string  )  [inline]

Definition at line 51 of file llpipeutil.h.


Member Function Documentation

LLIOPipe::EStatus LLPipeStringInjector::process_impl ( const LLChannelDescriptors channels,
buffer_ptr_t buffer,
bool &  eos,
LLSD context,
LLPumpIO pump 
) [protected, virtual]

Definition at line 61 of file llpipeutil.cpp.

References mString, LLChannelDescriptors::out(), and LLIOPipe::STATUS_DONE.


Member Data Documentation

std::string LLPipeStringInjector::mString [private]

Definition at line 64 of file llpipeutil.h.

Referenced by process_impl().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:39 2010 for Second Life Viewer by  doxygen 1.4.7