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

Selector backed by a bound sensor from roo_transceivers. More...

#include <bound_selector.h>

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

Public Member Functions

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

Detailed Description

template<typename State>
class roo_control::BoundSelector< State >

Selector backed by a bound sensor from roo_transceivers.

Definition at line 10 of file bound_selector.h.

Constructor & Destructor Documentation

◆ BoundSelector()

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

Definition at line 12 of file bound_selector.h.

Member Function Documentation

◆ getState()

template<typename State >
bool roo_control::BoundSelector< State >::getState ( State &  result) const
inlineoverridevirtual

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

Implements roo_control::Selector< State >.

Definition at line 16 of file bound_selector.h.


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