LLSimpleIOFactory< Pipe > Class Template Reference

Basic implementation for making a factory that returns a 'chain' of one object. More...

#include <llchainio.h>

Inheritance diagram for LLSimpleIOFactory< Pipe >:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

template<class Pipe>
class LLSimpleIOFactory< Pipe >

Basic implementation for making a factory that returns a 'chain' of one object.

Definition at line 107 of file llchainio.h.


Member Function Documentation

template<class Pipe>
virtual bool LLSimpleIOFactory< 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 110 of file llchainio.h.


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