ldas-tools-al
2.6.5
|
Class to keep track of leap seconds. More...
Classes | |
struct | data_type |
Data to keep track of when leap seconds have been added. More... | |
struct | jd_type |
Julian Date class. More... | |
Static Public Member Functions | |
static INT_2U | GetLeapSeconds (INT_4U TAI) |
Obtain the number of leap seconds. More... | |
static void | OffsetTableFilename (const std::string &Filename) |
Set the filename for the Offset Table. More... | |
Private Types | |
typedef std::list< data_type > | offset_table_type |
Static Private Member Functions | |
static void | update_table_filename_from_env () |
static void | update_table () |
static void | update_table (std::istream &Stream) |
Static Private Attributes | |
static offset_table_type | m_offset_table |
static ReadWriteLock::baton_type | m_offset_table_lock |
static ReadWriteLock::baton_type | m_offset_table_env_lock |
static std::string | m_offset_table_filename |
static time_t | m_offset_table_time_check = 0 |
static time_t | m_offset_table_modify_time = 0 |
static bool | m_offset_table_env_checked = false |
Class to keep track of leap seconds.
|
private |
Obtain the number of leap seconds.
Ensure the table is up to date
Calculate the leap seconds
|
static |
Set the filename for the Offset Table.
[in] | Filename | The name of the file containing the leap seconds data. |
|
inlinestaticprivate |
Block others from any modifications
Secondary check to ensure that the update really needs to happen
Establish next time to check for changes.
Block others from any modifications
Secondary check to ensure that the update really needs to happen
|
staticprivate |
|
inlinestaticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |