LLIOSleep Class Reference

This is a simple helper class which will hold a chain and process it later using pump mechanisms. More...

#include <llioutil.h>

Inheritance diagram for LLIOSleep:

Inheritance graph
[legend]
Collaboration diagram for LLIOSleep:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLIOSleep (F64 sleep_seconds)
virtual ~LLIOSleep ()

Protected Member Functions

EStatus process_impl (const LLChannelDescriptors &channels, buffer_ptr_t &buffer, bool &eos, LLSD &context, LLPumpIO *pump)
 Process the data in buffer.

Protected Attributes

F64 mSeconds

Detailed Description

This is a simple helper class which will hold a chain and process it later using pump mechanisms.

See also:
LLIOPipe

Definition at line 78 of file llioutil.h.


Constructor & Destructor Documentation

LLIOSleep::LLIOSleep ( F64  sleep_seconds  )  [inline]

Definition at line 81 of file llioutil.h.

virtual LLIOSleep::~LLIOSleep (  )  [inline, virtual]

Definition at line 82 of file llioutil.h.


Member Function Documentation

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

Process the data in buffer.

Definition at line 54 of file llioutil.cpp.

References mSeconds, LLPumpIO::sleepChain(), LLIOPipe::STATUS_BREAK, and LLIOPipe::STATUS_DONE.


Member Data Documentation

F64 LLIOSleep::mSeconds [protected]

Definition at line 99 of file llioutil.h.

Referenced by process_impl().


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