OpenASIP  2.0
Public Member Functions | List of all members
ProximDisasmAttrProvider Class Referenceabstract

#include <ProximDisasmAttrProvider.hh>

Inheritance diagram for ProximDisasmAttrProvider:
Inheritance graph
Collaboration diagram for ProximDisasmAttrProvider:
Collaboration graph

Public Member Functions

 ProximDisasmAttrProvider ()
 
virtual ~ProximDisasmAttrProvider ()
 
virtual void update ()
 
virtual wxGridCellAttr * moveCellAttr (InstructionAddress address, int move)=0
 

Detailed Description

Interface for highlighter classes which provide highlighting colours for disassembly grid cells.

Definition at line 44 of file ProximDisasmAttrProvider.hh.

Constructor & Destructor Documentation

◆ ProximDisasmAttrProvider()

ProximDisasmAttrProvider::ProximDisasmAttrProvider ( )

Constructor.

Definition at line 39 of file ProximDisasmAttrProvider.cc.

39  {
40 }

◆ ~ProximDisasmAttrProvider()

ProximDisasmAttrProvider::~ProximDisasmAttrProvider ( )
virtual

Destructor.

Definition at line 45 of file ProximDisasmAttrProvider.cc.

45  {
46 }

Member Function Documentation

◆ moveCellAttr()

wxGridCellAttr * ProximDisasmAttrProvider::moveCellAttr ( InstructionAddress  address,
int  move 
)
pure virtual

Returns style attribute for the disassembly grid cell with the given move.

Parameters
addressAddress of the cell's instruciton.
moveIndex of the cell's move in the instruction.
Returns
Style attribute for the cell with given move.

Implemented in DisasmTopCountAttrProvider, and DisasmExecPercentageAttrProvider.

Definition at line 56 of file ProximDisasmAttrProvider.cc.

56  {
57 
58  return new wxGridCellAttr();
59 }

Referenced by ProximDisassemblyGridTable::GetAttr().

◆ update()

void ProximDisasmAttrProvider::update ( )
virtual

This function is called when the simulation stops.

Implement in the derived class to update the attr provider state if necessary.

Reimplemented in DisasmTopCountAttrProvider.

Definition at line 68 of file ProximDisasmAttrProvider.cc.

68  {
69 }

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