libwallaby  v24
The wallaby standard library
SensorLogic::Or Class Reference

#include <sensor_logic.hpp>

Inheritance diagram for SensorLogic::Or:
SensorLogic::Base Sensor< bool >

Public Member Functions

 Or (const Sensor< bool > *a, const Sensor< bool > *b, bool owns=false)
 
virtual bool value () const
 
- Public Member Functions inherited from SensorLogic::Base
 Base (const Sensor< bool > *a, const Sensor< bool > *b, bool owns=false)
 
 ~Base ()
 
const Sensor< bool > * a () const
 
const Sensor< bool > * b () const
 
bool owns () const
 
- Public Member Functions inherited from Sensor< bool >
virtual ~Sensor ()
 

Constructor & Destructor Documentation

◆ Or()

SensorLogic::Or::Or ( const Sensor< bool > *  a,
const Sensor< bool > *  b,
bool  owns = false 
)

Member Function Documentation

◆ value()

virtual bool SensorLogic::Or::value ( ) const
virtual

Implements Sensor< bool >.


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