BIE::AdditionFilter Class Reference

Addition Filter: Computes the sum of two real input fields. More...

#include <BinaryFilters.h>

Inheritance diagram for BIE::AdditionFilter:
Collaboration diagram for BIE::AdditionFilter:

List of all members.

Public Member Functions

 AdditionFilter (RecordStream *stream)
 Creates an unconnected addition filter for the given input or output stream.
void compute ()
 Called to compute the result of the addition when a value is pushed or pulled on a stream.

Friends

class boost::serialization::access


Detailed Description

Addition Filter: Computes the sum of two real input fields.

The input fields for this filter are "x" and "y". The result (x+y) is by default placed in the new field "sum".


Member Function Documentation

void BIE::AdditionFilter::compute (  )  [virtual]

Called to compute the result of the addition when a value is pushed or pulled on a stream.

Implements BIE::RecordStreamFilter.


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

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:12 2010 by doxygen