LLCloneIOFactory< Pipe > Class Template Reference

Implementation for a facory which copies a particular pipe. More...

#include <llchainio.h>

Inheritance diagram for LLCloneIOFactory< Pipe >:

Inheritance graph
[legend]
Collaboration diagram for LLCloneIOFactory< Pipe >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLCloneIOFactory (Pipe *original)
virtual bool build (LLPumpIO::chain_t &chain, LLSD context) const
 Build the chian with in as the first and end as the last.

Protected Attributes

LLIOPipe::ptr_t mHandle
Pipe * mOriginal

Detailed Description

template<class Pipe>
class LLCloneIOFactory< Pipe >

Implementation for a facory which copies a particular pipe.

Definition at line 122 of file llchainio.h.


Constructor & Destructor Documentation

template<class Pipe>
LLCloneIOFactory< Pipe >::LLCloneIOFactory ( Pipe *  original  )  [inline]

Definition at line 125 of file llchainio.h.


Member Function Documentation

template<class Pipe>
virtual bool LLCloneIOFactory< Pipe >::build ( LLPumpIO::chain_t chain,
LLSD  context 
) const [inline, virtual]

Build the chian with in as the first and end as the last.

The caller of the LLChainIOFactory is responsible for managing the memory of the in pipe. All of the chains generated by the factory will be ref counted as usual, so the caller will also need to break the links in the chain.

Parameters:
chain The chain which will have new pipes appended
context A context for use by this factory if you choose Returns true if the call was successful.

Implements LLChainIOFactory.

Definition at line 129 of file llchainio.h.

References LLCloneIOFactory< Pipe >::mOriginal.


Member Data Documentation

template<class Pipe>
LLIOPipe::ptr_t LLCloneIOFactory< Pipe >::mHandle [protected]

Definition at line 136 of file llchainio.h.

template<class Pipe>
Pipe* LLCloneIOFactory< Pipe >::mOriginal [protected]

Definition at line 137 of file llchainio.h.

Referenced by LLCloneIOFactory< Pipe >::build().


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