SF_Negation

Sonic Flow Blocks Reference Guide

The purpose of SF_Negation is to negate the incoming signal.

SF_Negation (const char* name = 0);

This is the constructor of a SF_Negation block. Following attributes of the class are specified in the constructor:

virtual ~SF_Negation ();

This is the destructor.

virtual void finish ();

virtual void initialize ();

virtual void execute ();

The initialize - execute - finish chain of function calls is used to carry out the simulation of a block. See SF_Block.

The initialize does nothing specific.

The execute carries out the actual simulation process. The negated values of the input signal X are copied pointwise to the output signal.

The finish does nothing.

enum Input_Indices {X};

enum Output_Indices {Y};


Last modified: Wed Dec 2 13:28:47 1998
jarno.seppanen@cs.tut.fi
Audio Research Group