Made to Order Software Corporation Logo

LLChatLib: LLSimpleIOFactory< Pipe > Class Template Reference

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 >:
Collaboration diagram for LLSimpleIOFactory< Pipe >:

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.


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.


The documentation for this class was generated from the following file:
  • /home/doug/src/oss/slitechat/trunk/LLChatLib/llmessage/llchainio.h
Generated on Thu Sep 23 17:18:46 2010 for LLChatLib by  doxygen 1.6.3