Graphics::Drawing::Header Union Reference

Command header structure. More...

#include <Header.h>

Collaboration diagram for Graphics::Drawing::Header:

Public Types

enum  Type : uint8_t { Type::uint8, Type::uint16, Type::uint32, Type::resource }
 
enum  DataType : uint8_t { DataType::charArray }
 
enum  ResourceKind : uint8_t { ResourceKind::text, ResourceKind::image }
 
enum  LengthSize : uint8_t { LengthSize::uint8, LengthSize::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

Enumerator
charArray 

◆ LengthSize

Enumerator
uint8 
uint16 

◆ ResourceKind

Enumerator
text 
image 

◆ Type

Enumerator
uint8 
uint16 
uint32 
resource 

Member Data Documentation

◆ @70

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

◆ resource

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

◆ type

Type Graphics::Drawing::Header::type

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