RCKit
Public Member Functions | List of all members
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]

Public Member Functions

virtual void input (int value)
 
- Public Member Functions inherited from Setter
 Setter ()
 Constructor. More...
 
 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.

Member Function Documentation

◆ input()

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.

References Setter::input().


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