Open Lighting Architecture
0.9.1
|
This calculates the required nmuber of tokens for a group which contains no variable-sized groups.
bool ola::rdm::StaticGroupTokenCalculator::CalculateTokensRequired | ( | const class ola::messaging::FieldDescriptorGroup * | descriptor, |
unsigned int * | token_count | ||
) |
For a group of fields, figure out the number of inputs required to build a single instance of the group. This assumes that the group does not contain any variable-sized groups but it may contain fixed sized nested groups.
descriptor | the group descriptor |
token_count | the number of inputs required to build a single instance of this group. |