Limiter Class Reference

Setter class that limits its output to between specified min and max values. More...

#include <Limiter.h>

Inheritance diagram for Limiter:

Inheritance graph
[legend]
Collaboration diagram for Limiter:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Limiter (int min, int max)
virtual void input (int value)


Detailed Description

Setter class that limits its output to between specified min and max values.

Author:
Mike McCauley (mikem@open.com.au)
Limiter limits its output to between specified min and max values The resulting output value is sent to the next Setter (the target) in the chain.

Constructor & Destructor Documentation

Limiter::Limiter ( int  min,
int  max 
)

Constructor. All output values will be constrained to be within min to max (inclusive)

Author:
Mike McCauley (mikem@open.com.au)


Member Function Documentation

void Limiter::input ( int  value  )  [virtual]

Input the value to be inverted

Parameters:
[in] value The input value

Reimplemented from Setter.

References Setter::input().


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

Generated on Wed Jul 21 07:33:52 2010 for RCKit by  doxygen 1.5.6