|
SatCat5
|
A source for ptp::Measurement events, usually a ptp::Client.
To use this class, derive a child class and call notify_callbacks for each completed ptp::Measurement handshake. That method will call ptp_ready for each registered Callback object.
Definition at line 19 of file ptp_source.h.
#include <ptp_source.h>
Public Member Functions | |
| void | add_callback (satcat5::ptp::Callback *callback) |
| void | remove_callback (satcat5::ptp::Callback *callback) |
Protected Member Functions | |
| void | notify_callbacks (const satcat5::ptp::Measurement &meas) |
| Notify all Callback objects of a new Measurement. | |
Protected Attributes | |
| satcat5::util::List< satcat5::ptp::Callback > | m_callbacks |
| Linked list of registered callback objects. | |