clkmgr 2.0
Clock Manager API library to receive events from the PTP service
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TimeBaseRecord Class Reference

#include <timebase_configs.h>

Public Member Functions

size_t index () const
 
const std::string & name () const
 
const char * name_c () const
 
bool havePtp () const
 
const PTPCfgptp () const
 
bool haveSysClock () const
 

Detailed Description

Class to hold a single time base configuration

Member Function Documentation

◆ havePtp()

bool TimeBaseRecord::havePtp ( ) const

Query if we use PTP

Returns
true if this time base have PTP

◆ haveSysClock()

bool TimeBaseRecord::haveSysClock ( ) const

Query if synchronize the system clock

Returns
true if this time base does synchronize

◆ index()

size_t TimeBaseRecord::index ( ) const

Get index of the time base

Returns
index of the time base

◆ name()

const std::string & TimeBaseRecord::name ( ) const

Get name of the time base

Returns
name of the time base

◆ name_c()

const char * TimeBaseRecord::name_c ( ) const

Get name of the time base

Returns
name of the time base

◆ ptp()

const PTPCfg & TimeBaseRecord::ptp ( ) const

Get PTP configuration

Returns
PTP configuration

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