Nemiver  0.3
Public Member Functions | Protected Member Functions | List of all members
nemiver::ExprMonitor Class Reference

A widget that can monitor the state of a given set of variables. More...

#include <nmv-expr-monitor.h>

Inheritance diagram for nemiver::ExprMonitor:
nemiver::common::Object

Public Member Functions

 ExprMonitor (IDebugger &a_dbg, IPerspective &a_perspective)
 
virtual ~ExprMonitor ()
 
Gtk::Widget & widget ()
 
void add_expression (const IDebugger::VariableSafePtr a_expr)
 
void add_expressions (const IDebugger::VariableList &a_exprs)
 
bool expression_is_monitored (const IDebugger::Variable &a_expr) const
 
void remove_expression (const IDebugger::VariableSafePtr a_expr)
 
void remove_expressions (const IDebugger::VariableList &a_exprs)
 
void re_init_widget (bool a_remember_variables)
 
- Public Member Functions inherited from nemiver::common::Object
 Object ()
 
 Object (Object const &)
 
Objectoperator= (Object const &)
 
virtual ~Object ()
 
void ref ()
 
void unref ()
 
void enable_refcount (bool a_enabled=true)
 
bool is_refcount_enabled () const
 
long get_refcount () const
 
void attach_object (const UString &a_key, const Object *a_object)
 
bool get_attached_object (const UString &a_key, const Object *&a_object)
 

Protected Member Functions

 ExprMonitor ()
 

Additional Inherited Members

- Protected Attributes inherited from nemiver::common::Object
SafePtr< ObjectPrivm_priv
 

Detailed Description

A widget that can monitor the state of a given set of variables.

Each time the debugger stops, this widget updates the state of the variables that have been added to it. Whenever a variable has gone out of scope [when it hasn't been created by address] the widget is supposed to clearly show it

Constructor & Destructor Documentation

◆ ExprMonitor() [1/2]

nemiver::ExprMonitor::ExprMonitor ( )
protected

◆ ExprMonitor() [2/2]

nemiver::ExprMonitor::ExprMonitor ( IDebugger a_dbg,
IPerspective a_perspective 
)

◆ ~ExprMonitor()

virtual nemiver::ExprMonitor::~ExprMonitor ( )
virtual

Member Function Documentation

◆ add_expression()

void nemiver::ExprMonitor::add_expression ( const IDebugger::VariableSafePtr  a_expr)

◆ add_expressions()

void nemiver::ExprMonitor::add_expressions ( const IDebugger::VariableList a_exprs)

◆ expression_is_monitored()

bool nemiver::ExprMonitor::expression_is_monitored ( const IDebugger::Variable a_expr) const

◆ re_init_widget()

void nemiver::ExprMonitor::re_init_widget ( bool  a_remember_variables)

◆ remove_expression()

void nemiver::ExprMonitor::remove_expression ( const IDebugger::VariableSafePtr  a_expr)

◆ remove_expressions()

void nemiver::ExprMonitor::remove_expressions ( const IDebugger::VariableList a_exprs)

◆ widget()

Gtk::Widget& nemiver::ExprMonitor::widget ( )

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