Cthulhu  0.2.10
Cthulhu compiler collection
TraceArenaWidget Class Reference

#include <arena.hpp>

Public Types

enum  draw_mode_t : int { eDrawTree , eDrawFlat }
 the draw mode for the gui view of this allocator More...
 

Public Member Functions

 TraceArenaWidget (TraceArena &arena, int mode)
 
const char * get_title () const
 
void draw ()
 
bool draw_window ()
 

Data Fields

bool visible = false
 

Detailed Description

Definition at line 91 of file arena.hpp.

Member Enumeration Documentation

◆ draw_mode_t

the draw mode for the gui view of this allocator

Enumerator
eDrawTree 

draw the allocations as a tree using parent data

eDrawFlat 

draw the allocations as a flat list

Definition at line 111 of file arena.hpp.

Constructor & Destructor Documentation

◆ TraceArenaWidget()

TraceArenaWidget::TraceArenaWidget ( TraceArena arena,
int  mode 
)
inline

Definition at line 120 of file arena.hpp.

Member Function Documentation

◆ draw()

void TraceArenaWidget::draw ( )

Definition at line 509 of file arena.cpp.

◆ draw_window()

bool TraceArenaWidget::draw_window ( )

Definition at line 555 of file arena.cpp.

◆ get_title()

const char* TraceArenaWidget::get_title ( ) const
inline

Definition at line 127 of file arena.hpp.

Field Documentation

◆ visible

bool TraceArenaWidget::visible = false

Definition at line 125 of file arena.hpp.


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