roo_transceivers
API Documentation for roo_transceivers
Loading...
Searching...
No Matches
roo_transceivers::BoundSensor Class Reference

#include <binding.h>

Public Member Functions

 BoundSensor (Universe &universe, const SensorBinding *binding)
 
Measurement read () const
 Reads the bound sensor or returns an initial measurement if unbound.
 

Friends

roo_logging::Stream & operator<< (roo_logging::Stream &os, const BoundSensor &sensor)
 

Detailed Description

Definition at line 67 of file binding.h.

Constructor & Destructor Documentation

◆ BoundSensor()

roo_transceivers::BoundSensor::BoundSensor ( Universe universe,
const SensorBinding binding 
)
inline

Definition at line 69 of file binding.h.

Member Function Documentation

◆ read()

Measurement roo_transceivers::BoundSensor::read ( ) const
inline

Reads the bound sensor or returns an initial measurement if unbound.

Definition at line 73 of file binding.h.

References roo_transceivers::SensorBinding::get(), roo_transceivers::SensorLocator::isDefined(), and roo_transceivers::Universe::read().

Friends And Related Symbol Documentation

◆ operator<<

roo_logging::Stream & operator<< ( roo_logging::Stream &  os,
const BoundSensor sensor 
)
friend

Definition at line 16 of file binding.cpp.


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