roo_control
API Documentation for roo_control
Loading...
Searching...
No Matches
roo_control::BoundSelector< BinaryLogicalState > Class Reference

BinaryLogicalState specialization with stricter value checks. More...

#include <bound_selector.h>

Inheritance diagram for roo_control::BoundSelector< BinaryLogicalState >:
[legend]
Collaboration diagram for roo_control::BoundSelector< BinaryLogicalState >:
[legend]

Public Member Functions

 BoundSelector (roo_transceivers::Universe &universe, const roo_transceivers::SensorBinding &binding)
 
bool getState (BinaryLogicalState &result) const override
 Retrieves the current state, or returns false when it cannot be read.
 
- Public Member Functions inherited from roo_control::Selector< BinaryLogicalState >
virtual ~Selector ()=default
 

Detailed Description

BinaryLogicalState specialization with stricter value checks.

Definition at line 38 of file bound_selector.h.

Constructor & Destructor Documentation

◆ BoundSelector()

roo_control::BoundSelector< BinaryLogicalState >::BoundSelector ( roo_transceivers::Universe &  universe,
const roo_transceivers::SensorBinding &  binding 
)
inline

Definition at line 33 of file bound_selector.h.

Member Function Documentation

◆ getState()

bool roo_control::BoundSelector< BinaryLogicalState >::getState ( BinaryLogicalState result) const
inlineoverridevirtual

Retrieves the current state, or returns false when it cannot be read.

Implements roo_control::Selector< BinaryLogicalState >.

Definition at line 45 of file bound_selector.h.


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