My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::antenna::control::SpecificShare::SpecificClock Class Reference

#include <SpecificShare.h>

Public Member Functions

 SpecificClock ()
 
 ~SpecificClock ()
 
void setClock (unsigned long mjd, unsigned long sec, unsigned long nanoSeconds)
 
void setClock (gcp::util::TimeVal &time)
 
void setClock ()
 
double getUtc ()
 

Detailed Description

The following structure is used by the EXPSTUB UTC clock.

Constructor & Destructor Documentation

SpecificShare::SpecificClock::SpecificClock ( )

Constructor.

....................................................................... Allocate an object to hold UTC clock information.

SpecificShare::SpecificClock::~SpecificClock ( )

Destructor.

Exceptions
Exception....................................................................... Delete a SpecificClock object.

Member Function Documentation

double SpecificShare::SpecificClock::getUtc ( )

Get the current UTC as a Modified Julian Date.

Exceptions
Exception....................................................................... Return the current UTC as a Modified Julian Date.

Output: return double The UTC as a Modified Julian Date

void SpecificShare::SpecificClock::setClock ( unsigned long  mjd,
unsigned long  sec,
unsigned long  nanoSeconds 
)

Set the current time.

Exceptions
Exception....................................................................... Adjust the SZA UTC clock.

Input:

mjd long The MJD UTC day count. sec long The number of seconds into the above day

void SpecificShare::SpecificClock::setClock ( gcp::util::TimeVal time)

Set the current time via a TimeVal ref.

Exceptions
Exception....................................................................... Adjust the SZA UTC clock.

Input:

mjd long The MJD UTC day count. sec long The number of seconds into the above day

void SpecificShare::SpecificClock::setClock ( void  )

Fill the internal time representation with the current time.

Exceptions
Exception....................................................................... Set the SZA UTC to the current time.

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