upkie  11.0.0
Open-source wheeled biped robots
Observer Class Reference

Base class for observers. More...

Public Member Functions

virtual ~Observer ()
 Destructor is virtual to deallocate lists of observers properly.
 
virtual std::string prefix () const noexcept
 Prefix of outputs in the observation dictionary.
 
virtual void reset (const Dictionary &config)
 Reset observer. More...
 
virtual void read (const Dictionary &observation)
 Read inputs from other observations. More...
 
virtual void write (Dictionary &observation)
 Write outputs, called if reading was successful. More...
 

Detailed Description

Base class for observers.

Observers read and write from/to observation dictionaries.


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