F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
TlmPacketizerCfg.hpp
Go to the documentation of this file.
1/*
2 * TlmPacketizerComponentImplCfg.hpp
3 *
4 * Created on: Dec 10, 2017
5 * Author: tim
6 */
7
8// \copyright
9// Copyright 2009-2015, by the California Institute of Technology.
10// ALL RIGHTS RESERVED. United States Government Sponsorship
11// acknowledged.
12
13#ifndef SVC_TLMPACKETIZER_TLMPACKETIZERCOMPONENTIMPLCFG_HPP_
14#define SVC_TLMPACKETIZER_TLMPACKETIZERCOMPONENTIMPLCFG_HPP_
15
16#include <FpConfig.hpp>
17
18namespace Svc {
21 15; // !< Number of slots in the hash table.
22 // Works best when set to about twice the number of components producing telemetry
24 99; // !< The modulo value of the hashing function.
25 // Should be set to a little below the ID gaps to spread the entries around
26
28 1000; // !< Buckets assignable to a hash slot.
29 // Buckets must be >= number of telemetry channels in system
31 25; // !< Maximum number of missing telemetry channel checks
32
33// packet update mode
35 PACKET_UPDATE_ALWAYS, // Always send packets, even if no changes to channel data
36 PACKET_UPDATE_ON_CHANGE, // Only send packets if any of the channels updates
37 PACKET_UPDATE_AFTER_FIRST_CHANGE, // Always send packets, but only after first channel has been updated
38};
39
41} // namespace Svc
42
43#endif /* SVC_TLMPACKETIZER_TLMPACKETIZERCOMPONENTIMPLCFG_HPP_ */
PlatformUIntType NATIVE_UINT_TYPE
Definition BasicTypes.h:52
C++-compatible configuration header for fprime configuration.
@ PACKET_UPDATE_ON_CHANGE
@ PACKET_UPDATE_AFTER_FIRST_CHANGE
@ PACKET_UPDATE_ALWAYS
static const NATIVE_UINT_TYPE TLMPACKETIZER_MAX_MISSING_TLM_CHECK
static const NATIVE_UINT_TYPE TLMPACKETIZER_HASH_MOD_VALUE
static const NATIVE_UINT_TYPE TLMPACKETIZER_HASH_BUCKETS
static const PacketUpdateMode PACKET_UPDATE_MODE
static const NATIVE_UINT_TYPE MAX_PACKETIZER_PACKETS
static const NATIVE_UINT_TYPE TLMPACKETIZER_NUM_TLM_HASH_SLOTS