gPTP Documentation
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
WindowsNamedPipeIPC Class Reference

#include <windows_hal.hpp>

Inheritance diagram for WindowsNamedPipeIPC:
Inheritance graph
Collaboration diagram for WindowsNamedPipeIPC:
Collaboration graph

Public Member Functions

 WindowsNamedPipeIPC ()
 
 ~WindowsNamedPipeIPC ()
 
virtual bool init (OS_IPC_ARG *arg=NULL)
 Initializes the IPC arguments. More...
 
virtual bool update (int64_t ml_phoffset, int64_t ls_phoffset, FrequencyRatio ml_freqoffset, FrequencyRatio ls_freq_offset, uint64_t local_time, uint32_t sync_count, uint32_t pdelay_count, PortState port_state)
 Updates IPC interface values. More...
 

Detailed Description

Named pipe interface

Constructor & Destructor Documentation

WindowsNamedPipeIPC::WindowsNamedPipeIPC ( )
inline

Default constructor. Initializes the IPC interface

WindowsNamedPipeIPC::~WindowsNamedPipeIPC ( )
inline

Destroys the IPC interface

Member Function Documentation

virtual bool WindowsNamedPipeIPC::init ( OS_IPC_ARG arg = NULL)
virtual

Initializes the IPC arguments.

Parameters
arg[in] IPC arguments. Not in use
Returns
Always returns TRUE.

Implements OS_IPC.

virtual bool WindowsNamedPipeIPC::update ( int64_t  ml_phoffset,
int64_t  ls_phoffset,
FrequencyRatio  ml_freqoffset,
FrequencyRatio  ls_freq_offset,
uint64_t  local_time,
uint32_t  sync_count,
uint32_t  pdelay_count,
PortState  port_state 
)
virtual

Updates IPC interface values.

Parameters
ml_phoffsetMaster to local phase offset
ls_phoffsetLocal to system phase offset
ml_freqoffsetMaster to local frequency offset
ls_freq_offsetLocal to system frequency offset
local_timeLocal time
sync_countCounts of sync mesasges
pdelay_countCounts of pdelays
port_statePortState information
Returns
TRUE if sucess; FALSE if error

Implements OS_IPC.


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