|
Nemiver
0.3
|
#include <nmv-i-var-walker.h>
Public Member Functions | |
| virtual void | connect (IDebugger *a_debugger, const UString &a_var_name)=0 |
| virtual void | connect (IDebugger *a_debugger, const IDebugger::VariableSafePtr a_var)=0 |
| virtual void | do_walk_variable (const UString &a_cookie="")=0 |
| virtual const IDebugger::VariableSafePtr | get_variable () const =0 |
| virtual IDebugger * | get_debugger () const =0 |
| gets the debugger the walker is connected to More... | |
| virtual void | set_maximum_member_depth (unsigned a_max_depth)=0 |
| virtual unsigned | get_maximum_member_depth () const =0 |
signals | |
| virtual sigc::signal< void, const IDebugger::VariableSafePtr > | visited_variable_node_signal () const =0 |
| virtual sigc::signal< void, const IDebugger::VariableSafePtr > | visited_variable_signal () const =0 |
Public Member Functions inherited from nemiver::common::DynModIface | |
| DynModIface (DynamicModuleSafePtr &a_dynmod) | |
| DynModIface (DynamicModule *a_dynmod) | |
| DynamicModule & | get_dynamic_module () const |
Public Member Functions inherited from nemiver::common::Object | |
| Object () | |
| Object (Object const &) | |
| Object & | operator= (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 | |
| IVarWalker (DynamicModule *a_dynmod) | |
Additional Inherited Members | |
Protected Attributes inherited from nemiver::common::Object | |
| SafePtr< ObjectPriv > | m_priv |
Walker object. Queries recursively a variable and its members for their type and contents. When a member is queried for its content and type, the variable is said have been "walked" or "visited". The Walker then emits a "variable-walked" signal for each variable member node that has been walked.
|
inlineprotected |
|
pure virtual |
|
pure virtual |
connect the walker to a variable and to a debugger that will be use to walk that variable
|
pure virtual |
|
pure virtual |
gets the debugger the walker is connected to
|
pure virtual |
|
pure virtual |
gets the root variable this walker is connected to. this will return a non null variable if and only if the visited_root_variabls_signal() has been emited already.
|
pure virtual |
accessor of the maximum depth of variable members to explore. this can prevent inifite recursions.
|
pure virtual |
emitted each time one of the members node of a variable is visited.
|
pure virtual |
emitted when the root variable (the one the walker has been connected has been totally visited. That means when all its members nodes have been visited.
1.8.17