Ginga  0.13.6
 All Classes Namespaces Functions Variables
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
br::pucrio::telemidia::ginga::core::system::time::Stc Class Reference

Public Member Functions

uint64_t getReference ()
 
void setReference (uint64_t pcr)
 
void setReference (uint64_t base, uint64_t ext)
 
uint64_t getStc ()
 
uint64_t getStcBase ()
 
uint64_t getStcExt ()
 
double getBaseToSecond ()
 

Static Public Member Functions

static int timevalSubtract (struct timeval *result, struct timeval *x, struct timeval *y)
 
static uint64_t baseExtToStc (uint64_t base, uint64_t ext)
 
static uint64_t stcToBase (uint64_t stc)
 
static uint64_t stcToExt (uint64_t stc)
 
static double stcToSecond (uint64_t stc)
 
static double baseToSecond (uint64_t base)
 
static uint64_t secondToStc (double seconds)
 
static uint64_t secondToBase (double seconds)
 

Protected Member Functions

virtual void refreshStcSample ()
 

Protected Attributes

uint64_t stc
 
struct timeval clockRef
 
uint64_t reference
 

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