GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSE / V1-4-0
Constituent: qse_print     Tag: linux-gcc
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | _CCSDS_istreamHdr |
Opaque structure reserving enough space for a CCSDS TELEM packet header, includes the 2 bytes to round it to 16 bytes. More... | |
Typedefs | |
typedef _CCSDS_istream | CCSDS_istream |
typedef int(* | CCSDS_istreamReader )(void *prm, void *buf, int nbytes, int pbytes) |
Routine to read the specified number of bytes from the input stream. | |
typedef int(* | CCSDS_istreamTeller )(const void *prm) |
Routine to give the current position in the stream. As an example, for files, this will do an ftell. | |
typedef int(* | CCSDS_istreamCloser )(void *prm) |
Routine to read the specified number of bytes from the input stream. | |
typedef _CCSDS_istreamHdr | CCSDS_istreamHdr |
Typedef for struct _CCSDS_istreamHdr. | |
typedef enum _CCSDS_ISTREAM_SIV_S | CCSDS_ISTREAM_SIV_S |
Typedef for CCSDS_ISTREAM_SIV_S. | |
typedef enum _CCSDS_ISTREAM_SIV_V | CCSDS_ISTREAM_SIV_V |
Typedef for CCSDS_ISTREAM_SIV_V. | |
typedef enum _CCSDS_ISTREAM_SIV_M | CCSDS_ISTREAM_SIV_M |
Typedef for CCSDS_ISTREAM_SIV_M. | |
typedef enum _CCSDS_ISTREAM_PKT_STATE_K | CCSDS_ISTREAM_PKT_STATE_K |
Typedef for enum _CCSDS_ISTREAM_PKT_STATE_K. | |
Enumerations | |
enum | _CCSDS_ISTREAM_SIV_S { CCSDS_ISTREAM_SIV_S_SEQGAP = 16, CCSDS_ISTREAM_SIV_S_PRV_FIRST = 1, CCSDS_ISTREAM_SIV_S_PRV_LAST = 1, CCSDS_ISTREAM_SIV_S_PRV = 2, CCSDS_ISTREAM_SIV_S_CUR_FIRST = 1, CCSDS_ISTREAM_SIV_S_CUR_LAST = 1, CCSDS_ISTREAM_SIV_S_CUR = 2, CCSDS_ISTREAM_SIV_S_RSVD_20 = 1, CCSDS_ISTREAM_SIV_S_RSVD_21 = 1, CCSDS_ISTREAM_SIV_S_RSVD_22 = 1, CCSDS_ISTREAM_SIV_S_RSVD_23 = 1, CCSDS_ISTREAM_SIV_S_ERR = 8, CCSDS_ISTREAM_SIV_S_ERR_EOS = 1, CCSDS_ISTREAM_SIV_S_ERR_RDHDR = 1, CCSDS_ISTREAM_SIV_S_ERR_BADHDR = 1, CCSDS_ISTREAM_SIV_S_ERR_SEQ = 1, CCSDS_ISTREAM_SIV_S_ERR_SEQNUM = 1, CCSDS_ISTREAM_SIV_S_ERR_RDDAT = 1, CCSDS_ISTREAM_SIV_S_ERR_OVRRUN = 1, CCSDS_ISTREAM_SIV_S_ERR_SUMMARY = 1 } |
State Information Vector, bit field sizes. More... | |
enum | _CCSDS_ISTREAM_SIV_V { CCSDS_ISTREAM_SIV_V_SEQGAP = 0, CCSDS_ISTREAM_SIV_V_PRV_FIRST = 16, CCSDS_ISTREAM_SIV_V_PRV_LAST = 17, CCSDS_ISTREAM_SIV_V_PRV = 16, CCSDS_ISTREAM_SIV_V_CUR_FIRST = 18, CCSDS_ISTREAM_SIV_V_CUR_LAST = 19, CCSDS_ISTREAM_SIV_V_CUR = 18, CCSDS_ISTREAM_SIV_V_RSVD_20 = 20, CCSDS_ISTREAM_SIV_V_RSVD_21 = 21, CCSDS_ISTREAM_SIV_V_RSVD_22 = 22, CCSDS_ISTREAM_SIV_V_RSVD_23 = 23, CCSDS_ISTREAM_SIV_V_ERR = 24, CCSDS_ISTREAM_SIV_V_ERR_EOS = 24, CCSDS_ISTREAM_SIV_V_ERR_RDHDR = 25, CCSDS_ISTREAM_SIV_V_ERR_BADHDR = 26, CCSDS_ISTREAM_SIV_V_ERR_SEQ = 27, CCSDS_ISTREAM_SIV_V_ERR_SEQNUM = 28, CCSDS_ISTREAM_SIV_V_ERR_RDDAT = 29, CCSDS_ISTREAM_SIV_V_ERR_OVRRUN = 30, CCSDS_ISTREAM_SIV_V_ERR_SUMMARY = 31 } |
State Information Vector, right justified bit field offsets. More... | |
enum | _CCSDS_ISTREAM_SIV_M { CCSDS_ISTREAM_SIV_M_SEQGAP, CCSDS_ISTREAM_SIV_M_PRV_FIRST, CCSDS_ISTREAM_SIV_M_PRV_LAST, CCSDS_ISTREAM_SIV_M_PRV, CCSDS_ISTREAM_SIV_M_CUR_FIRST, CCSDS_ISTREAM_SIV_M_CUR_LAST, CCSDS_ISTREAM_SIV_M_CUR, CCSDS_ISTREAM_SIV_M_RSVD_20, CCSDS_ISTREAM_SIV_M_RSVD_21, CCSDS_ISTREAM_SIV_M_RSVD_22, CCSDS_ISTREAM_SIV_M_RSVD_23, CCSDS_ISTREAM_SIV_M_ERR_EOS, CCSDS_ISTREAM_SIV_M_ERR_RDHDR, CCSDS_ISTREAM_SIV_M_ERR_BADHDR, CCSDS_ISTREAM_SIV_M_ERR_SEQ, CCSDS_ISTREAM_SIV_M_ERR_SEQNUM, CCSDS_ISTREAM_SIV_M_ERR_RDDAT, CCSDS_ISTREAM_SIV_M_ERR_OVRRUN, CCSDS_ISTREAM_SIV_M_ERR_SUMMARY, CCSDS_ISTREAM_SIV_M_ERR } |
State Information Vector, in place mask. More... | |
enum | _CCSDS_ISTREAM_PKT_STATE_K { CCSDS_ISTREAM_PKT_STATE_K_MID = 0, CCSDS_ISTREAM_PKT_STATE_K_FIRST = 1, CCSDS_ISTREAM_PKT_STATE_K_LAST = 2, CCSDS_ISTREAM_PKT_STATE_K_ONLY = 3 } |
Enumerates the values of a packet's state. | |
enum | _CCSDS_ISTREAM_SIV_K { CCSDS_ISTREAM_SIV_K_PRV_ONLY, CCSDS_ISTREAM_SIV_K_PRV_FIRST, CCSDS_ISTREAM_SIV_K_PRV_MID, CCSDS_ISTREAM_SIV_K_PRV_LAST, CCSDS_ISTREAM_SIV_K_CUR_ONLY, CCSDS_ISTREAM_SIV_K_CUR_FIRST, CCSDS_ISTREAM_SIV_K_CUR_MID, CCSDS_ISTREAM_SIV_K_CUR_LAST } |
Enumerates the values of in place fields of the SIV word. These are all convenience symbols, all being derived from previously defined symbols. | |
Functions | |
int | CCSDS_istreamSizeof (void) |
CCSDS_istream * | CCSDS_istreamNew (void) |
int | CCSDS_istreamConstruct (CCSDS_istream *istream) |
int | CCSDS_istreamConnect (CCSDS_istream *istream, void *prm, CCSDS_istreamReader read, CCSDS_istreamCloser close, CCSDS_istreamTeller tell) |
int | CCSDS_istreamHdrRead (CCSDS_istream *istream, CCSDS_istreamHdr *hdr) |
int | CCSDS_istreamDatRead (CCSDS_istream *istream, const CCSDS_istreamHdr *hdr, CCSDS_apidDsc *dsc) |
int | CCSDS_istreamFileOpen (CCSDS_istream *istream, const char *filename, unsigned int options, unsigned char *buf, unsigned int buf_size) |
unsigned int | CCSDS_istreamTell (const CCSDS_istream *istream) |
int | CCSDS_istreamClose (CCSDS_istream *istream) |
int | CCSDS_istreamDestroy (CCSDS_istream *istream) |
void | CCSDS_istreamHdrPrint (const CCSDS_istreamHdr *hdr) |
static __inline int | CCSDS_istreamSivConstruct (void) |
Initializes the State Information Vector to a known and beign state. | |
static __inline int | CCSDS_istreamSivIsError (int siv) |
Returns non-zero if State Information Vector, siv, is in error. | |
static __inline int | CCSDS_istreamSivIsFirst (int siv) |
Returns non-zero if the current packet is the first packet, either alone or in a sequence. | |
static __inline int | CCSDS_istreamSivIsLast (int siv) |
Returns non-zero if the current packet is the last packet, either alone or in a sequence. | |
static __inline int | CCSDS_istreamSivIsMid (int siv) |
Returns non-zero if the current packet is the middle packet in a sequence. | |
static __inline int | CCSDS_istreamSivIsOnly (int siv) |
Returns non-zero if the current packet is the only packet, i.e. bare packet, not a member of a sequence. | |
Variables | |
enum _CCSDS_ISTREAM_SIV_K | CCSDS_ISTREAM_SIV_K |
Typedef for enum _CCSDS_ISTREAM_SIV_K. |
CVS $Id: CCSDS_istream.h,v 1.4 2006/05/08 17:47:07 russell Exp $
|
Typedef for enum _CCSDS_ISTREAM_PKT_STATE_K. A packet's state is determined by the values of 2 bits, with bit 0 representing the 'is first packet' and bit 1 representing 'is last packet' Under these definitions
|
|
Routine to read the specified number of bytes from the input stream.
|
|
Routine to read the specified number of bytes from the input stream.
|
|
Routine to give the current position in the stream. As an example, for files, this will do an ftell.
|
|
|
State Information Vector, bit field sizes.
|
|
State Information Vector, right justified bit field offsets.
|
|
Initializes the State Information Vector to a known and beign state.
|
|
Returns non-zero if State Information Vector, siv, is in error.
|
|
Returns non-zero if the current packet is the first packet, either alone or in a sequence.
|
|
Returns non-zero if the current packet is the last packet, either alone or in a sequence.
|
|
Returns non-zero if the current packet is the middle packet in a sequence.
|
|
Returns non-zero if the current packet is the only packet, i.e. bare packet, not a member of a sequence.
|