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


Public Member Functions | |
| bool | isSyncedWithGm () const |
| uint32_t | getSyncedWithGmEventCount () const |
| bool | isAsCapable () const |
| uint32_t | getAsCapableEventCount () const |
| bool | isCompositeEventMet () const |
| uint32_t | getCompositeEventCount () const |
Public Member Functions inherited from ClockEventBase | |
| int64_t | getClockOffset () const |
| bool | isOffsetInRange () const |
| uint32_t | getOffsetInRangeEventCount () const |
| uint64_t | getSyncInterval () const |
| uint64_t | getGmIdentity () const |
| std::string | getGmIdentityStr () const |
| bool | isGmChanged () const |
| uint32_t | getGmChangedEventCount () const |
| uint64_t | getNotificationTimestamp () const |
Friends | |
| class | ClockEventHandler |
| class | ClockSyncData |
| class | TimeBaseState |
Extends the ClockEventBase class to include attributes specific to Precision Time Protocol (PTP) synchronization, such as:
| uint32_t PTPClockEvent::getAsCapableEventCount | ( | ) | const |
Get the count of IEEE 802.1AS capable event
| uint32_t PTPClockEvent::getCompositeEventCount | ( | ) | const |
Get the count of composite event
| uint32_t PTPClockEvent::getSyncedWithGmEventCount | ( | ) | const |
Get the count of clock synced with grandmaster event
| bool PTPClockEvent::isAsCapable | ( | ) | const |
Check if the clock is an IEEE 802.1AS capable
| bool PTPClockEvent::isCompositeEventMet | ( | ) | const |
Check if all the conditions in the subscribed composite event are met
| bool PTPClockEvent::isSyncedWithGm | ( | ) | const |
Check if the PTP clock is synchronized with a grandmaster