Graphics::Drawing::Header Union Reference

Command header structure. More...

#include <Header.h>

Collaboration diagram for Graphics::Drawing::Header:

Public Types

enum class  Type : uint8_t { uint8 , uint16 , uint32 , resource }
 
enum class  DataType : uint8_t { charArray }
 
enum class  ResourceKind : uint8_t { text , image }
 
enum class  LengthSize : uint8_t { uint8 , uint16 }
 

Public Attributes

struct {
   uint8_t   index: 4
 Register index. More...
 
   Type   type: 2
 
   OpCode   opcode: 2
 Operation to perform. More...
 
   uint32_t   param
 
}; 
 Size of resource length field. More...
 
struct {
   ResourceKind   kind: 1
 
   LengthSize   lengthSize: 1
 
   DataType   dataType: 2
 
   Type   type: 2
 
   OpCode   opcode: 2
 = OpCode::store More...
 
resource
 
Command cmd: 6
 

Detailed Description

Command header structure.

Member Enumeration Documentation

◆ DataType

enum Graphics::Drawing::Header::DataType : uint8_t
strong
Enumerator
charArray 

◆ LengthSize

Enumerator
uint8 
uint16 

◆ ResourceKind

Enumerator
text 
image 

◆ Type

enum Graphics::Drawing::Header::Type : uint8_t
strong
Enumerator
uint8 
uint16 
uint32 
resource 

Member Data Documentation

◆ 

struct { ... }

Size of resource length field.

◆ cmd

Command Graphics::Drawing::Header::cmd

◆ dataType

DataType Graphics::Drawing::Header::dataType

◆ index

uint8_t Graphics::Drawing::Header::index

Register index.

◆ kind

ResourceKind Graphics::Drawing::Header::kind

◆ lengthSize

LengthSize Graphics::Drawing::Header::lengthSize

◆ opcode

OpCode Graphics::Drawing::Header::opcode

Operation to perform.

= OpCode::store

◆ param

uint32_t Graphics::Drawing::Header::param

◆ 

struct { ... } Graphics::Drawing::Header::resource

◆ type

Type Graphics::Drawing::Header::type

The documentation for this union was generated from the following file: