CCSDS 124.0-B-1 C++ 1.0.0
CCSDS 124.0-B-1 Lossless Compression
Loading...
Searching...
No Matches
config.hpp File Reference

CCSDS 124.0-B-1 compile-time configuration. More...

#include <cstddef>
#include <cstdint>
Include dependency graph for config.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ccsds124
 

Macros

#define CCSDS124_MAX_PACKET_LENGTH   65535U
 Maximum packet length in bits (CCSDS max: 65535)
 
#define CCSDS124_NO_EXCEPTIONS   0
 
#define CCSDS124_NO_RTTI   0
 

Typedefs

using ccsds124::word_t = std::uint32_t
 32-bit word type for bit vector storage (matches C implementation)
 

Variables

constexpr int ccsds124::VERSION_MAJOR = 1
 
constexpr int ccsds124::VERSION_MINOR = 0
 
constexpr int ccsds124::VERSION_PATCH = 0
 
constexpr std::size_t ccsds124::MAX_PACKET_LENGTH = 65535U
 
constexpr std::size_t ccsds124::MAX_PACKET_BYTES = (MAX_PACKET_LENGTH + 7U) / 8U
 
constexpr std::size_t ccsds124::MAX_ROBUSTNESS = 7U
 
constexpr std::size_t ccsds124::MAX_HISTORY = 16U
 
constexpr std::size_t ccsds124::MAX_VT_HISTORY = 16U
 
constexpr std::size_t ccsds124::MAX_OUTPUT_BYTES = MAX_PACKET_BYTES * 6U
 
constexpr std::size_t ccsds124::BITS_PER_WORD = 32U
 

Detailed Description

CCSDS 124.0-B-1 compile-time configuration.

Definition in file config.hpp.