TwiceAsNice  2019-02-18
Public Types | Public Member Functions | List of all members
MGIO_INSERT_BUTTON Class Reference

#include <mgio_insert_button.h>

Inheritance diagram for MGIO_INSERT_BUTTON:
Inheritance graph
Collaboration diagram for MGIO_INSERT_BUTTON:
Collaboration graph

Public Types

enum  Button {
  IOB_NONE = -1, IOB_ESC = 0, IOB_SET = 1, IOB_LEFT = 2,
  IOB_RIGHT = 3, IOB_UP = 4, IOB_DOWN = 5, IOB_LONG_ESC = 6
}
 

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...
 
virtual IOResult ask (MGenDevice &root)
 Basic verifications to call before running the actual command implementation. More...
 
 MGIO_INSERT_BUTTON (Button button)
 

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 Enumeration Documentation

◆ Button

Enumerator
IOB_NONE 
IOB_ESC 
IOB_SET 
IOB_LEFT 
IOB_RIGHT 
IOB_UP 
IOB_DOWN 
IOB_LONG_ESC 

Constructor & Destructor Documentation

◆ MGIO_INSERT_BUTTON()

MGIO_INSERT_BUTTON::MGIO_INSERT_BUTTON ( Button  button)
inline

Member Function Documentation

◆ ask()

virtual IOResult MGIO_INSERT_BUTTON::ask ( MGenDevice root)
inlinevirtual

Basic verifications to call before running the actual command implementation.

Reimplemented from MGC.

◆ opCode()

virtual IOByte MGIO_INSERT_BUTTON::opCode ( ) const
inlinevirtual

Returning the character operation code of the command.

Implements MGC.

◆ opMode()

virtual IOMode MGIO_INSERT_BUTTON::opMode ( ) const
inlinevirtual

Returning the operation mode for this command.

Implements MGC.


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