|
gPTP Documentation
|
#include <ipcdef.hpp>


Public Member Functions | |
| void | _init () |
| Initializes interface. More... | |
| void | init () |
| Initializes interface and clears the Offset message. More... | |
| void | init (int64_t ml_phoffset, FrequencyRatio ml_freqoffset, int64_t ls_phoffset, FrequencyRatio ls_freqoffset, uint64_t local_time) |
| Initializes the interface with specific values. More... | |
| void | init (Offset *offset) |
| Initializes the interface based on the Offset structure. More... | |
| int64_t | getMasterLocalOffset () |
| Gets master to local phase offset. More... | |
| FrequencyRatio | getMasterLocalFreqOffset () |
| Gets Master to local frequency offset. More... | |
| int64_t | getLocalSystemOffset () |
| Gets local to system phase offset. More... | |
| FrequencyRatio | getLocalSystemFreqOffset () |
| Gets Local to system frequency offset. More... | |
| uint64_t | getLocalTime () |
| Gets local time. More... | |
Public Member Functions inherited from WindowsNPipeMessage | |
| void | init () |
| Initializes the interface. More... | |
| bool | write (HANDLE pipe) |
| Writes to the named pipe. More... | |
| long | read_ol (HANDLE pipe, long offs, HANDLE event) |
| Reads from the pipe. More... | |
| long | read_ol_complete (HANDLE pipe) |
| Reads completely the overlapped result. More... | |
| long | read (HANDLE pipe, long offs) |
| Reads from the pipe. More... | |
| NPIPE_MSG_TYPE | getType () |
| Gets pipe message type. More... | |
Additional Inherited Members | |
Protected Attributes inherited from WindowsNPipeMessage | |
| DWORD | sz |
| NPIPE_MSG_TYPE | type |
| OVERLAPPED | ol_read |
| DWORD | ol_read_req |
Provides an interface to update the Offset information
|
inline |
Initializes interface.
|
inline |
Gets Local to system frequency offset.
|
inline |
Gets local to system phase offset.
|
inline |
Gets local time.
|
inline |
Gets Master to local frequency offset.
|
inline |
Gets master to local phase offset.
|
inline |
Initializes interface and clears the Offset message.
|
inline |
Initializes the interface with specific values.
| ml_phoffset | Master to local phase offset in nano-seconds |
| ml_freqoffset | Master to local frequency offset in the FrequencyRatio format |
| ls_phoffset | Local to system phase offset in nano-seconds |
| ls_freqoffset | Local to system frequency offset in the FrequencyRatio format |
| local_time | Local time in nanoseconds |
|
inline |