#include <AttributeNumber.h>
Inheritance diagram for aja::AttributeNumber:
Public Member Functions | |
AttributeNumber (byte_t id) | |
construct a number attribute | |
~AttributeNumber () | |
number_t | getNumber () |
Function return number of attribute. | |
void | setNumber (number_t num) |
Function set number of attribute. | |
bool | buildAja (OutputBuffer &out) |
Function build AJA binary form of Number Attribute. | |
bool | parseAttrData (buffer_t buffer, unsigned int size, unsigned int &pos) |
Function parse number for this attribute. | |
void | getValueStr (std::string &out) |
Abstract function put into string parameter his value in string form. | |
number_t | getItemSize () |
Function return complete size of number attribute. | |
Protected Attributes | |
number_t | mNumber |
Number Attribute can store, parse and build 32 unsigned int numbers.
|
construct a number attribute
|
|
|
|
Function build AJA binary form of Number Attribute.
Reimplemented from aja::AttributeItem. |
|
Function return complete size of number attribute.
Reimplemented from aja::AttributeItem. |
|
Function return number of attribute.
|
|
Abstract function put into string parameter his value in string form. In this overriden function is code for every child attribute type who convert his value to string form.
Implements aja::AttributeItem. |
|
Function parse number for this attribute. This is overriden function called when is needed parse data for number attribute
Implements aja::AttributeItem. |
|
Function set number of attribute.
|
|
|