21 #ifndef COMMON_RDM_GROUPSIZECALCULATOR_H_ 22 #define COMMON_RDM_GROUPSIZECALCULATOR_H_ 24 #include <ola/messaging/DescriptorVisitor.h> 45 : m_variable_sized_group_encountered(
false) {
49 bool Descend()
const {
return true; }
50 bool CalculateTokensRequired(
52 unsigned int *token_count);
69 std::stack<unsigned int> m_token_count;
70 bool m_variable_sized_group_encountered;
84 SINGLE_VARIABLE_GROUP,
85 MULTIPLE_VARIABLE_GROUPS,
86 NESTED_VARIABLE_GROUPS,
93 bool Descend()
const {
return false; }
94 calculator_state CalculateGroupSize(
95 unsigned int token_count,
97 unsigned int *group_repeat_count);
114 std::vector<const ola::messaging::FieldDescriptorGroup*> m_groups;
115 std::vector<const ola::messaging::FieldDescriptorInterface*> m_non_groups;
118 unsigned int DetermineGroupSize(
const 123 #endif // COMMON_RDM_GROUPSIZECALCULATOR_H_ Definition: Descriptor.h:84
Definition: GroupSizeCalculator.h:78
Definition: DescriptorVisitor.h:43
Definition: Descriptor.h:122
Definition: Descriptor.h:324
Definition: Descriptor.h:141
Definition: Descriptor.h:103
Definition: Descriptor.h:160
Definition: Descriptor.h:403
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Definition: Descriptor.h:190
Definition: GroupSizeCalculator.h:41