21 #ifndef COMMON_RDM_VARIABLEFIELDSIZECALCULATOR_H_
22 #define COMMON_RDM_VARIABLEFIELDSIZECALCULATOR_H_
24 #include <ola/messaging/DescriptorVisitor.h>
50 MULTIPLE_VARIABLE_FIELDS,
51 NESTED_VARIABLE_GROUPS,
58 bool Descend()
const {
return false; }
60 unsigned int data_size,
62 unsigned int *variable_field_repeat_count);
79 unsigned int m_fixed_size_sum;
80 std::vector<const ola::messaging::StringFieldDescriptor*>
81 m_variable_string_fields;
82 std::vector<const ola::messaging::FieldDescriptorGroup*>
83 m_variable_group_fields;
85 unsigned int DetermineGroupSize(
const
90 #endif // COMMON_RDM_VARIABLEFIELDSIZECALCULATOR_H_
Definition: Descriptor.h:84
Definition: DescriptorVisitor.h:43
Definition: Descriptor.h:122
Definition: Descriptor.h:320
Definition: VariableFieldSizeCalculator.h:41
Definition: Descriptor.h:141
Definition: Descriptor.h:103
Definition: Descriptor.h:160
calculator_state CalculateFieldSize(unsigned int data_size, const class ola::messaging::Descriptor *, unsigned int *variable_field_repeat_count)
Definition: VariableFieldSizeCalculator.cpp:47
Definition: Descriptor.h:399
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Definition: Descriptor.h:190