GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / V2-12-1 > pbs / rhel6-32
#include <PBI/Inline.h>
#include <PBI/Attribute.h>
#include <PBS/WCT.h>
#include <WCT_pvtdefs.h>
Defines | |
#define | WCT__EXP_PROTO INLINE_USR_EXP_PROTO |
Inline declaration for an exportable proto-type declaration. | |
#define | WCT__EXP_FNC INLINE_USR_EXP_FNC |
Inline declaration for an exportable function declaration. | |
#define | WCT__LCL_PROTO INLINE_USR_LCL_PROTO |
Inline declaration for a static/local proto-type declaration. | |
#define | WCT__LCL_FNC INLINE_USR_LCL_FNC |
Inline declaration for an static/local function declaration. | |
Functions | |
WCT__EXP_PROTO WCT_time | WCT__utb_get (void) ATTR_UNUSED_OK |
Fetches the current absolute time, using the UNIX epoch as a base/. | |
WCT__EXP_PROTO WCT_time | WCT__to_utb (WCT_time lat_epoch_time) ATTR_UNUSED_OK |
Converts a wall clock time specified with a base of the LAT epoch to a wall clock time specified with a base of the tradional UNIX epoch. | |
WCT__EXP_PROTO WCT_time | WCT__from_utb (WCT_time unix_epoch_time) ATTR_UNUSED_OK |
Converts a wall clock time specified with a base of the LAT epoch to a wall clock time specified with a base of the tradional UNIX epoch. | |
WCT__EXP_PROTO WCT_time_sat | WCT__sat_get (void) ATTR_UNUSED_OK |
Retrieves the current time in absolute time units. The format is in Spectrum-Astro Standard Time format. | |
WCT__EXP_PROTO WCT_time_sat | WCT__to_sat (WCT_time lat_epoch_time) ATTR_UNUSED_OK |
Converts a wall clock time specified with Spectrum-Astro Standard Format. | |
WCT__EXP_PROTO WCT_time | WCT__from_sat (WCT_time_sat sat_time) ATTR_UNUSED_OK |
Converts a Spectrum Astro Time Format to LAT format. |
CVS $Id: WCT_pvtdefs.ih,v 1.5 2011/03/31 01:09:46 russell Exp $
This file just vectors to the correct implementation
#define WCT__EXP_FNC INLINE_USR_EXP_FNC |
Inline declaration for an exportable function declaration.
The exact declaration of this symbol is dependent on both the compiler and whether the symbol WCT__EXPORT_FILE is defined.
#define WCT__EXP_PROTO INLINE_USR_EXP_PROTO |
Inline declaration for an exportable proto-type declaration.
The exact declaration of this symbol is dependent on both the compiler and whether the symbol WCT__EXPORT_FILE is defined.
#define WCT__LCL_FNC INLINE_USR_LCL_FNC |
Inline declaration for an static/local function declaration.
The exact declaration of this symbol is dependent on both the compiler and whether the symbol WCT__EXPORT_FILE is defined.
#define WCT__LCL_PROTO INLINE_USR_LCL_PROTO |
Inline declaration for a static/local proto-type declaration.
The exact declaration of this symbol is dependent on both the compiler and whether the symbol WCT__EXPORT_FILE is defined.
WCT__EXP_FNC WCT_time WCT__from_sat | ( | WCT_time_sat | sat_time | ) |
Converts a Spectrum Astro Time Format to LAT format.
sat_time | The wall clock time in Spectrum-Astro Format |
References _WCT_time_sat_u::ll, _WCT_time_sat_u::s, _WCT_time_sat_s::secs, _WCT_time_sat_s::usecs, WCT_K_NSECS_IN_A_SEC, and WCT_K_NSECS_IN_A_USEC.
Converts a wall clock time specified with a base of the LAT epoch to a wall clock time specified with a base of the tradional UNIX epoch.
unix_epoch_time | The wall clock time using the LAT epoch as a base |
References WCT_K_UTB_OFFSET_IN_NSECS.
Referenced by WCT__get().
WCT__EXP_FNC WCT_time_sat WCT__to_sat | ( | WCT_time | lat_epoch_time | ) |
Converts a wall clock time specified with Spectrum-Astro Standard Format.
lat_epoch_time | The wall clock time using the LAT epoch as a base |
References _WCT_time_sat_u::ll, _WCT_time_sat_u::s, _WCT_time_sat_s::secs, _WCT_time_sat_s::usecs, and WCT_EXTRACT_SECS_NSECS.
Referenced by WCT__sat_get().
Converts a wall clock time specified with a base of the LAT epoch to a wall clock time specified with a base of the tradional UNIX epoch.
lat_epoch_time | The wall clock time using the LAT epoch as a base |
References WCT_K_UTB_OFFSET_IN_NSECS.
WCT_time WCT__utb_get | ( | void | ) |
Fetches the current absolute time, using the UNIX epoch as a base/.
Referenced by WCT__get().