CARMA C++
sza::antenna::control::SzaShare::SzaClock Class Reference

The following structure is used by the SZA UTC clock. More...

#include <carma/antenna/sza/antenna/control/Share.h>

Public Member Functions

double getUtc ()
 Get the current UTC as a Modified Julian Date. More...
 
double getUtc ()
 Get the current UTC as a Modified Julian Date. More...
 
void setClock (unsigned long mjd, unsigned long sec, unsigned long nanoSeconds)
 Set the current time. More...
 
void setClock (sza::util::TimeVal &time)
 Set the current time via a TimeVal ref. More...
 
void setClock ()
 Fill the internal time representation with the current time. More...
 
void setClock (unsigned long mjd, unsigned long sec, unsigned long nanoSeconds)
 Set the current time. More...
 
void setClock (sza::util::TimeVal &time)
 Set the current time via a TimeVal ref. More...
 
void setClock ()
 Fill the internal time representation with the current time. More...
 
 SzaClock ()
 Constructor. More...
 
 SzaClock ()
 Constructor. More...
 
 ~SzaClock ()
 Destructor. More...
 
 ~SzaClock ()
 Destructor. More...
 

Detailed Description

The following structure is used by the SZA UTC clock.

Definition at line 236 of file Share.h.

Constructor & Destructor Documentation

sza::antenna::control::SzaShare::SzaClock::SzaClock ( )

Constructor.

sza::antenna::control::SzaShare::SzaClock::~SzaClock ( )

Destructor.

Exceptions
Exception
sza::antenna::control::SzaShare::SzaClock::SzaClock ( )

Constructor.

sza::antenna::control::SzaShare::SzaClock::~SzaClock ( )

Destructor.

Exceptions
Exception

Member Function Documentation

double sza::antenna::control::SzaShare::SzaClock::getUtc ( )

Get the current UTC as a Modified Julian Date.

Exceptions
Exception
double sza::antenna::control::SzaShare::SzaClock::getUtc ( )

Get the current UTC as a Modified Julian Date.

Exceptions
Exception
void sza::antenna::control::SzaShare::SzaClock::setClock ( unsigned long  mjd,
unsigned long  sec,
unsigned long  nanoSeconds 
)

Set the current time.

Exceptions
Exception
void sza::antenna::control::SzaShare::SzaClock::setClock ( sza::util::TimeVal time)

Set the current time via a TimeVal ref.

Exceptions
Exception
void sza::antenna::control::SzaShare::SzaClock::setClock ( )

Fill the internal time representation with the current time.

Exceptions
Exception
void sza::antenna::control::SzaShare::SzaClock::setClock ( unsigned long  mjd,
unsigned long  sec,
unsigned long  nanoSeconds 
)

Set the current time.

Exceptions
Exception
void sza::antenna::control::SzaShare::SzaClock::setClock ( sza::util::TimeVal time)

Set the current time via a TimeVal ref.

Exceptions
Exception
void sza::antenna::control::SzaShare::SzaClock::setClock ( )

Fill the internal time representation with the current time.

Exceptions
Exception

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