GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSE / V1-4-0
Constituent: qseprint     Tag: linux-gcc
#include "PBI/Endianness.h"
Include dependency graph for QSE_ctx.h:
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | _QSE_ctxOpen |
The Event Context's Datagram Opening Information. More... | |
struct | _QSE_ctxDid |
Contains the datagram indentification information. More... | |
struct | _QSE_ctxCounters |
Maps out the counters. More... | |
struct | _QSE_ctxTimetone |
The time/clock information associated with a timetone message. More... | |
struct | _QSE_ctxTime |
The time/clock information for the 1-second of the first event and the previous 1-second period. More... | |
struct | _QSE_ctxClose |
The Event Context's Datagram Closing Information. More... | |
struct | _QSE_ctx |
Binds together all the meta-information about an event. More... | |
Typedefs | |
typedef _QSE_ctxOpen | QSE_ctxOpen |
Typedef for struct _QSE_ctxOpen. | |
typedef enum _QSE_CTXDID_FLAG_V | QSE_CTXDID_FLAG_V |
Typedef for enum _QSE_CTXDID_FLAG_V. | |
typedef enum _QSE_CTXDID_FLAG_M | QSE_CTXDID_FLAG_M |
Typedef for enum _QSE_CTXDID_FLAG_M. | |
typedef _QSE_ctxDid | QSE_ctxDid |
Typedef for struct _QSE_ctxDid. | |
typedef _QSE_ctxCounters | QSE_ctxCounters |
Typedef for struct _QSE_ctxCounters. | |
typedef enum _QSE_CTXTIMETONEFLAGS_S | QSE_CTXTIMETONEFLAGS_S |
Typedef for enum _QSE_CTXTIMETONEFLAGS_S. | |
typedef enum _QSE_CTXTIMETONEFLAGS_V | QSE_CTXTIMETONEFLAGS_V |
Typedef for enum _QSE_CTXTIMETONEFLAGS_V. | |
typedef enum _QSE_CTXTIMETONEFLAGS_M | QSE_CTXTIMETONEFLAGS_M |
Typedef for enum _QSE_CTXTIMETONEFLAGS_M. | |
typedef _QSE_ctxTimetone | QSE_ctxTimetone |
Typedef for struct _QSE_ctxTimetone. | |
typedef _QSE_ctxTime | QSE_ctxTime |
Typedef for struct _QSE_ctxTime. | |
typedef _QSE_ctxClose | QSE_ctxClose |
Typedef for struct _QSE_ctxClose. | |
typedef _QSE_ctx | QSE_ctx |
Typedef for QSE_ctx. | |
Enumerations | |
enum | _QSE_CTXDID_FLAG_V { QSE_CTXDID_FLAG_V_DGM_FIRST = 0 } |
Enumeration of the bits of the QSE_ctxDid flag field, right justified shift value. More... | |
enum | _QSE_CTXDID_FLAG_M { QSE_CTXDID_FLAG_M_DGM_FIRST = (1 << QSE_CTXDID_FLAG_V_DGM_FIRST) } |
Enumeration of the bits of the QSE_ctxDid flag field, in place mask. More... | |
enum | _QSE_CTXTIMETONEFLAGS_S { QSE_CTXTIMETONEFLAGS_S_SIMULATED_VALUE = 1, QSE_CTXTIMETONEFLAGS_S_SIMULATED_PPS_CPU = 1, QSE_CTXTIMETONEFLAGS_S_SIMULATED_PPS_GEM = 1, QSE_CTXTIMETONEFLAGS_S_NO_MESSAGE = 1, QSE_CTXTIMETONEFLAGS_S_CNT_GPS_NO_LOCK = 12, QSE_CTXTIMETONEFLAGS_S_ERR_GPS_NO_LOCK = 1, QSE_CTXTIMETONEFLAGS_S_SA_RSVD = 15 } |
Enumerates the timetone flags word, right-shift values. More... | |
enum | _QSE_CTXTIMETONEFLAGS_V { QSE_CTXTIMETONEFLAGS_V_SIMULATED_VALUE = 0, QSE_CTXTIMETONEFLAGS_V_SIMULATED_PPS_CPU = 1, QSE_CTXTIMETONEFLAGS_V_SIMULATED_PPS_GEM = 2, QSE_CTXTIMETONEFLAGS_V_NO_MESSAGE = 3, QSE_CTXTIMETONEFLAGS_V_CNT_GPS_NO_LOCK = 4, QSE_CTXTIMETONEFLAGS_V_ERR_GPS_NO_LOCK = 16, QSE_CTXTIMETONEFLAGS_V_SA_RSVD = 17 } |
Enumerates the timetone flags word, right-shift values. More... | |
enum | _QSE_CTXTIMETONEFLAGS_M { QSE_CTXTIMETONEFLAGS_M_SIMULATED_VALUE = 0x1, QSE_CTXTIMETONEFLAGS_M_SIMULATED_PPS_CPU = 0x2, QSE_CTXTIMETONEFLAGS_M_SIMULATED_PPS_GEM = 0x4, QSE_CTXTIMETONEFLAGS_M_NO_MESSAGE = 0x8, QSE_CTXTIMETONEFLAGS_M_CNT_GPS_NO_LOCK = 0x0000FFF0, QSE_CTXTIMETONEFLAGS_M_ERR_GPS_NO_LOCK = 0x00010000, QSE_CTXTIMETONEFLAGS_M_SA_RSVD = 0xfffe0000 } |
Enumerates the timetone flags word, in place mask values. More... | |
Functions | |
void | QSE_ctxConstruct (QSE_ctx *ctx) |
CVS $Id: QSE_ctx.h,v 1.8 2006/09/13 22:09:01 russell Exp $
|
Typedef for struct _QSE_ctxClose.
|
|
Typedef for struct _QSE_ctxCounters.
If the time range proves to be inadequate, only the transport layer definition will be changed, as the presentation layer representation of 64-bits is exceeds the projected mission time (or, for that matter, the project life of the universe). If event counter range is a bit dicier, since the presentation layer only devotes 32-bits to it. This should be adequate. |
|
Typedef for struct _QSE_ctxDid.
|
|
Typedef for struct _QSE_ctxOpen.
|
|
Typedef for struct _QSE_ctxTime.
// Get the 25 bit difference deltaTicks = (time->cur.ticks - time->prv.ticks) & 0x1fffff; // Get the elapsed time, in seconds deltaTime = (time->cur.seconds - time->prv.seconds); // Calculate the frequency frequency = deltaClock / deltaTime; // Calculate the number of elapsed GEM clock ticks since // the current timetone message elapsedTicks = (time->eticks - cur->ticks) & 0x1ffffff; // Converted the elapsed ticks to elapsed seconds elapsedTime = elapsedTicks / frequency; // Get the absolute time time = cur->seconds + elapsedTime;
|
|
Typedef for enum _QSE_CTXTIMETONEFLAGS_M.
|
|
Typedef for enum _QSE_CTXTIMETONEFLAGS_S.
|
|
Typedef for enum _QSE_CTXTIMETONEFLAGS_V.
|
|
Enumeration of the bits of the QSE_ctxDid flag field, in place mask.
|
|
Enumeration of the bits of the QSE_ctxDid flag field, right justified shift value.
|
|
|
Enumerates the timetone flags word, right-shift values.
|
|
Enumerates the timetone flags word, right-shift values.
|