TwiceAsNice  2019-02-18
Public Types | Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
MGIO_READ_DISPLAY_FRAME Class Reference

#include <mgio_read_display_frame.h>

Inheritance diagram for MGIO_READ_DISPLAY_FRAME:
Inheritance graph
Collaboration diagram for MGIO_READ_DISPLAY_FRAME:
Collaboration graph

Public Types

typedef std::array< unsigned char, frame_size *8 > ByteFrame
 

Public Member Functions

virtual IOByte opCode () const
 Returning the character operation code of the command. More...
 
virtual IOMode opMode () const
 Returning the operation mode for this command. More...
 
ByteFrameget_frame (ByteFrame &frame) const
 
virtual IOResult ask (MGenDevice &root)
 Basic verifications to call before running the actual command implementation. More...
 
 MGIO_READ_DISPLAY_FRAME ()
 

Protected Attributes

IOBuffer bitmap_frame
 

Static Protected Attributes

static std::size_t const frame_size = (128 * 64) / 8
 

Additional Inherited Members

- Private Member Functions inherited from MGC
char constname () const
 
 MGC (IOBuffer query, IOBuffer answer)
 
virtual ~MGC ()
 
- Private Attributes inherited from MGC
IOBuffer query
 
IOBuffer answer
 

Member Typedef Documentation

◆ ByteFrame

typedef std::array<unsigned char, frame_size * 8> MGIO_READ_DISPLAY_FRAME::ByteFrame

Constructor & Destructor Documentation

◆ MGIO_READ_DISPLAY_FRAME()

MGIO_READ_DISPLAY_FRAME::MGIO_READ_DISPLAY_FRAME ( )
inline

Member Function Documentation

◆ ask()

virtual IOResult MGIO_READ_DISPLAY_FRAME::ask ( MGenDevice root)
inlinevirtual

Basic verifications to call before running the actual command implementation.

Reimplemented from MGC.

◆ get_frame()

ByteFrame& MGIO_READ_DISPLAY_FRAME::get_frame ( ByteFrame frame) const
inline

◆ opCode()

virtual IOByte MGIO_READ_DISPLAY_FRAME::opCode ( ) const
inlinevirtual

Returning the character operation code of the command.

Implements MGC.

◆ opMode()

virtual IOMode MGIO_READ_DISPLAY_FRAME::opMode ( ) const
inlinevirtual

Returning the operation mode for this command.

Implements MGC.

Member Data Documentation

◆ bitmap_frame

IOBuffer MGIO_READ_DISPLAY_FRAME::bitmap_frame
protected

◆ frame_size

std::size_t const MGIO_READ_DISPLAY_FRAME::frame_size = (128 * 64) / 8
staticprotected

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