Scopira 20080306

scopira::tool::teeoflow Class Reference

#include <distflow.h>

Inheritance diagram for scopira::tool::teeoflow:
scopira::tool::oflow_i scopira::tool::flow_i scopira::tool::object

List of all members.

Public Member Functions

 teeoflow (bool doref)
 the two flows
virtual bool failed (void) const
 are we in a failed state?
virtual size_t write (const byte_t *_buf, size_t _size)
 write a raw block of data
void set_flow_a (oflow_i *r)
 sets the A (first) flow. may be null
void set_flow_b (oflow_i *r)
 sets the B (first) flow. may be null

Protected Types

typedef
scopira::tool::count2_ptr
< scopira::tool::oflow_i
holder_t
 output links

Protected Attributes

holder_t dm_a
holder_t dm_b

Detailed Description

a distoflow subset that only handles distribution to TWO oflows. The name tee comes from the unix command. Either oflow (A or B) may be null.

Author:
Aleksander Demko

Constructor & Destructor Documentation

scopira::tool::teeoflow::teeoflow ( bool  doref) [explicit]

the two flows

default constructor


The documentation for this class was generated from the following file: