SatCat5
satcat5::ptp::Callback Class Referenceabstract

Detailed Description

PTP callback accepts each complete measurement from the Source.

To use this API, derive a child class that defines ptp_ready(...) and then call ptp::Source::add_callback(...).

Definition at line 38 of file ptp_source.h.

#include <ptp_source.h>

Inheritance diagram for satcat5::ptp::Callback:
[legend]
Collaboration diagram for satcat5::ptp::Callback:
[legend]

Public Member Functions

virtual void ptp_ready (const satcat5::ptp::Measurement &data)=0
 The child class MUST override this method.
 

Protected Member Functions

 Callback (satcat5::ptp::Source *source)
 If a source pointer is provided, call add_callback.
 

Protected Attributes

satcat5::ptp::Source *const m_source
 

Private Attributes

satcat5::ptp::Callbackm_next
 

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