ComSquare
Public Member Functions | Public Attributes | List of all members
ComSquare::Debugger::Register Struct Reference

Struct containing information about a register. More...

#include <RegisterViewer.hpp>

Collaboration diagram for ComSquare::Debugger::Register:

Public Member Functions

 Register (uint24_t addr, std::string usedBits, std::string regName, std::function< unsigned int(SNES &)> getValue, std::function< void(SNES &, unsigned int)> setValue, RegisterType regType)
 

Public Attributes

uint24_t address
 Where this register is located on the bus. More...
 
std::string bits
 Specify witch bits are concerned if not all bytes are concerned. More...
 
std::string name
 The name of this register. More...
 
std::function< unsigned(SNES &)> get
 How to get this value. More...
 
std::function< void(SNES &, unsigned)> set
 How to set this value. More...
 
RegisterType type
 How this value should be displayed/asked for input. More...
 

Detailed Description

Struct containing information about a register.

Constructor & Destructor Documentation

◆ Register()

ComSquare::Debugger::Register::Register ( uint24_t  addr,
std::string  usedBits,
std::string  regName,
std::function< unsigned int(SNES &)>  getValue,
std::function< void(SNES &, unsigned int)>  setValue,
RegisterType  regType 
)

Member Data Documentation

◆ address

uint24_t ComSquare::Debugger::Register::address

Where this register is located on the bus.

◆ bits

std::string ComSquare::Debugger::Register::bits

Specify witch bits are concerned if not all bytes are concerned.

◆ get

std::function<unsigned(SNES &)> ComSquare::Debugger::Register::get

How to get this value.

◆ name

std::string ComSquare::Debugger::Register::name

The name of this register.

◆ set

std::function<void(SNES &, unsigned)> ComSquare::Debugger::Register::set

How to set this value.

◆ type

RegisterType ComSquare::Debugger::Register::type

How this value should be displayed/asked for input.


The documentation for this struct was generated from the following files: