|
clkmgr 2.0
Clock Manager API library to receive events from the PTP service
|
#include <subscription.h>

Public Member Functions | |
| virtual bool | setEventMask (uint32_t newEventMask) |
| uint32_t | getEventMask () const |
| void | setClockOffsetThreshold (uint32_t threshold) |
| uint32_t | getClockOffsetThreshold () const |
Protected Member Functions | |
| void | modifyEventMask (uint32_t newEventMask) |
Manage event masks and clock offset thresholds for clock synchronization event subscriptions.
| uint32_t ClockSubscriptionBase::getClockOffsetThreshold | ( | ) | const |
Get the threshold of clock offset
| uint32_t ClockSubscriptionBase::getEventMask | ( | ) | const |
Get the value of the event mask
|
protected |
Modify the event mask.
| [in] | newEventMask | The new event mask to set. |
| void ClockSubscriptionBase::setClockOffsetThreshold | ( | uint32_t | threshold | ) |
Set the threshold of clock offset
| [in] | threshold | Threshold of clock offset |
|
virtual |
Set the event mask
| [in] | newEventMask | The new event mask to set |
Reimplemented in PTPClockSubscription, and SysClockSubscription.