#include <softwarePLL.h>
Definition at line 20 of file softwarePLL.h.
SoftwarePLL::~SoftwarePLL |
( |
| ) |
|
|
inline |
SoftwarePLL::SoftwarePLL |
( |
| ) |
|
|
inlineprivate |
double SoftwarePLL::AllowedTimeDeviation |
( |
| ) |
const |
|
inline |
void SoftwarePLL::AllowedTimeDeviation |
( |
double |
val | ) |
|
|
inline |
double SoftwarePLL::extraPolateRelativeTimeStamp |
( |
uint32_t |
tick | ) |
|
uint32_t SoftwarePLL::ExtrapolationDivergenceCounter |
( |
| ) |
const |
|
inline |
void SoftwarePLL::ExtrapolationDivergenceCounter |
( |
uint32_t |
val | ) |
|
|
inline |
int SoftwarePLL::findDiffInFifo |
( |
double |
diff, |
|
|
double |
tol |
|
) |
| |
uint64_t SoftwarePLL::FirstTick |
( |
| ) |
const |
|
inline |
void SoftwarePLL::FirstTick |
( |
uint64_t |
val | ) |
|
|
inline |
double SoftwarePLL::FirstTimeStamp |
( |
| ) |
const |
|
inline |
void SoftwarePLL::FirstTimeStamp |
( |
double |
val | ) |
|
|
inline |
bool SoftwarePLL::getCorrectedTimeStamp |
( |
uint32_t & |
sec, |
|
|
uint32_t & |
nanoSec, |
|
|
uint32_t |
tick |
|
) |
| |
bool SoftwarePLL::getDemoFileData |
( |
std::string |
fileName, |
|
|
std::vector< uint32_t > & |
tickVec, |
|
|
std::vector< uint32_t > & |
secVec, |
|
|
std::vector< uint32_t > & |
nanoSecVec |
|
) |
| |
double SoftwarePLL::InterpolationSlope |
( |
| ) |
const |
|
inline |
void SoftwarePLL::InterpolationSlope |
( |
double |
val | ) |
|
|
inline |
bool SoftwarePLL::IsInitialized |
( |
| ) |
const |
|
inline |
void SoftwarePLL::IsInitialized |
( |
bool |
val | ) |
|
|
inline |
bool SoftwarePLL::nearSameTimeStamp |
( |
double |
relTimeStamp1, |
|
|
double |
relTimeStamp2 |
|
) |
| |
|
private |
bool SoftwarePLL::pushIntoFifo |
( |
double |
curTimeStamp, |
|
|
uint32_t |
curtick |
|
) |
| |
void SoftwarePLL::testbed |
( |
| ) |
|
|
static |
bool SoftwarePLL::updateInterpolationSlope |
( |
| ) |
|
|
private |
bool SoftwarePLL::updatePLL |
( |
uint32_t |
sec, |
|
|
uint32_t |
nanoSec, |
|
|
uint32_t |
curtick |
|
) |
| |
Updates PLL internale State should be called only with network send timestamps.
- Parameters
-
sec | System Timetamp from received network packed |
nsec | System Timestamp from received network packed |
curtick | micro Seconds since scanner start from SOPAS Datagram |
- Returns
- PLL is in valid state (true)
Definition at line 124 of file softwarePLL.cpp.
double SoftwarePLL::allowedTimeDeviation |
|
private |
double SoftwarePLL::dClockDiffFeedBack |
|
private |
double SoftwarePLL::dTAvgFeedback |
|
private |
uint32_t SoftwarePLL::extrapolationDivergenceCounter |
|
private |
const int SoftwarePLL::fifoSize = 7 |
|
staticprivate |
uint64_t SoftwarePLL::firstTick |
|
private |
double SoftwarePLL::firstTimeStamp |
|
private |
double SoftwarePLL::interpolationSlope |
|
private |
bool SoftwarePLL::isInitialized |
|
private |
uint32_t SoftwarePLL::lastValidTick |
|
private |
double SoftwarePLL::lastValidTimeStamp |
|
private |
const double SoftwarePLL::MaxAllowedTimeDeviation = 0.001 |
|
staticprivate |
const uint32_t SoftwarePLL::MaxExtrapolationCounter = 5 |
|
staticprivate |
uint32_t SoftwarePLL::mostRecentNanoSec |
|
private |
uint32_t SoftwarePLL::mostRecentSec |
|
private |
double SoftwarePLL::mostRecentTimeStamp |
|
private |
int SoftwarePLL::numberValInFifo |
|
private |
uint32_t SoftwarePLL::tickFifo[fifoSize] |
|
private |
The documentation for this class was generated from the following files: