BIE::ProductFilter Class Reference

Product Filter: Computes the product of two real input fields. More...

#include <BinaryFilters.h>

Inheritance diagram for BIE::ProductFilter:
Collaboration diagram for BIE::ProductFilter:

List of all members.

Public Member Functions

 ProductFilter (RecordStream *stream)
 Creates an unconnect filter that can compute the product of two values in the given input or stream.
void compute ()
 Called when new input is available by the inheriting stream, this fills the filter output buffers.

Friends

class boost::serialization::access


Detailed Description

Product Filter: Computes the product of two real input fields.

The inputs for this filter are "x" and "y". The result (x*y) is placed by default in the new field "product".


Constructor & Destructor Documentation

BIE::ProductFilter::ProductFilter ( RecordStream stream  ) 

Creates an unconnect filter that can compute the product of two values in the given input or stream.


Member Function Documentation

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

Called when new input is available by the inheriting stream, this fills the filter output buffers.

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