Open Lighting Architecture  0.10.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
ola::messaging::Descriptor Class Reference

Detailed Description

A descriptor is a group of fields which can't be repeated

Inheritance diagram for ola::messaging::Descriptor:
Inheritance graph
[legend]
Collaboration diagram for ola::messaging::Descriptor:
Collaboration graph
[legend]

Public Member Functions

 Descriptor (const std::string &name, const std::vector< const FieldDescriptor * > &fields)
 
void Accept (FieldDescriptorVisitor *visitor) const
 
- Public Member Functions inherited from ola::messaging::FieldDescriptorGroup
 FieldDescriptorGroup (const std::string &name, const std::vector< const FieldDescriptor * > &fields, uint16_t min_blocks, int16_t max_blocks)
 
bool FixedSize () const
 
bool LimitedSize () const
 
unsigned int MaxSize () const
 
unsigned int FieldCount () const
 
bool FixedBlockSize () const
 
unsigned int BlockSize () const
 
unsigned int MaxBlockSize () const
 
uint16_t MinBlocks () const
 
int16_t MaxBlocks () const
 
bool FixedBlockCount () const
 
const class FieldDescriptorGetField (unsigned int index) const
 
- Public Member Functions inherited from ola::messaging::FieldDescriptor
 FieldDescriptor (const std::string &name)
 
const std::string & Name () const
 

Additional Inherited Members

- Static Public Attributes inherited from ola::messaging::FieldDescriptorGroup
static const int16_t UNLIMITED_BLOCKS = -1
 
- Protected Attributes inherited from ola::messaging::FieldDescriptorGroup
std::vector< const class
FieldDescriptor * > 
m_fields
 

The documentation for this class was generated from the following files: