RCKit
Public Member Functions
Inverter Class Reference

Setter object that inverts its value. More...

#include <Inverter.h>

Inheritance diagram for Inverter:
Inheritance graph
[legend]
Collaboration diagram for Inverter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void input (int value)
- Public Member Functions inherited from Setter
 Setter ()
 Constructor.
 Setter (Setter *target)
 Constructor with setting the target.
virtual void setTarget (Setter *target)
virtual void failsafe ()
void setFailsafeValue (int failsafeValue)
 Sets the failsafeValue.
int failsafeValue ()

Additional Inherited Members

- Protected Attributes inherited from Setter
Setter_target
 This is the instance of Setter that will be given the transfotmed output value.
int _failsafeValue

Detailed Description

Setter object that inverts its value.

Author:
Mike McCauley (mikem.nosp@m.@air.nosp@m.spayc.nosp@m.e.co.nosp@m.m)

Inverter inverts its input value and passes it the resulting value to the next Setter (the target) in the chain.

Examples:
TestSuite.pde.

Member Function Documentation

void Inverter::input ( int  value)
virtual

Input the value to be inverted

Parameters:
[in]valueThe input value
Author:
Mike McCauley (mikem.nosp@m.@air.nosp@m.spayc.nosp@m.e.co.nosp@m.m)

Reimplemented from Setter.

Examples:
TestSuite.pde.

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