The base class for all graphics commands. More...
#include <kanzi/gfx/commands.hpp>
Public Member Functions | |
| uint32_t | getSize () const |
| Gets the command size in bytes. | |
| uint8_t | getTag () const |
| Gets the command tag. | |
| CommandType | getType () const |
| Gets the command type. | |
| void | setTag (uint8_t tag) |
| Sets the command tag. | |
Protected Member Functions | |
| BaseCommand (CommandType t, uint32_t s) | |
| Constructor. | |
| BaseCommand (const BaseCommand &other) | |
| Copy Constructor. | |
| BaseCommand & | operator= (const BaseCommand &other) |
| Assignment operator. | |
The base class for all graphics commands.
|
inlineprotected |
Constructor.
| t | The command type. |
| s | The command size in bytes. |
|
inlineprotected |
Copy Constructor.
| other | The copy source. |
|
inline |
Gets the command type.
|
inline |
Gets the command size in bytes.
|
inline |
Gets the command tag.
The upper 4 bits of this tag are reserved for internal use.
Sets the command tag.
Used to attach metadata to the command. The upper 4 bits of this tag are reserved for internal use.
| tag | The command tag. |
|
inlineprotected |
Assignment operator.
| other | The assignment source. |