libdas2
das2 core C utilities
|
Objects representing a Das2 Stream as a whole. More...
Objects representing a Das2 Stream as a whole.
Go to the source code of this file.
Data Structures | |
struct | StreamDesc |
Describes the stream itself, in particular the compression used, current packetDescriptors, etc. More... | |
Functions | |
void | del_StreamDesc (StreamDesc *pThis) |
Delete a stream descriptor and all it's sub objects. More... | |
size_t | StreamDesc_getNPktDesc (const StreamDesc *pThis) |
Get the number of packet descriptors defined for this stream. More... | |
bool | StreamDesc_isValidId (const StreamDesc *pThis, int nPktId) |
Check to see if an packet ID has been defined for the stream. More... | |
DasDesc * | Das2Desc_decode (DasBuf *pBuf) |
Das2 Stream Descriptor Factory Function. More... | |
void del_StreamDesc | ( | StreamDesc * | pThis | ) |
Delete a stream descriptor and all it's sub objects.
pThis | The stream descriptor to erase, the pointer should be set to NULL by the caller. |
size_t StreamDesc_getNPktDesc | ( | const StreamDesc * | pThis | ) |
Get the number of packet descriptors defined for this stream.
pThis | The stream descriptor to query |
bool StreamDesc_isValidId | ( | const StreamDesc * | pThis, |
int | nPktId | ||
) |
Check to see if an packet ID has been defined for the stream.
pThis | The stream to check |
nPktId | The ID in question |
Das2 Stream Descriptor Factory Function.