GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
mi_command_py Struct Reference
Inheritance diagram for mi_command_py:
mi_command

Public Member Functions

 mi_command_py (const char *name, micmdpy_object *object)
 
 ~mi_command_py ()
 
void swap_python_object (micmdpy_object *new_pyobj)
 
virtual void invoke (struct mi_parse *parse) const override
 
- Public Member Functions inherited from mi_command
 mi_command (const char *name, int *suppress_notification)
 
virtual ~mi_command ()=default
 
const char * name () const
 
bool preserve_user_selected_context () const
 
gdb::optional< scoped_restore_tmpl< int > > do_suppress_notification () const
 

Static Public Member Functions

static void validate_installation (micmdpy_object *cmd_obj)
 

Private Attributes

gdbpy_ref< micmdpy_objectm_pyobj
 

Detailed Description

Definition at line 82 of file py-micmd.c.

Constructor & Destructor Documentation

◆ mi_command_py()

mi_command_py::mi_command_py ( const char * name,
micmdpy_object * object )
inline

Definition at line 89 of file py-micmd.c.

References m_pyobj, and pymicmd_debug_printf.

◆ ~mi_command_py()

mi_command_py::~mi_command_py ( )
inline

Definition at line 97 of file py-micmd.c.

References m_pyobj, and pymicmd_debug_printf.

Member Function Documentation

◆ invoke()

void mi_command_py::invoke ( struct mi_parse * parse) const
overridevirtual

◆ swap_python_object()

void mi_command_py::swap_python_object ( micmdpy_object * new_pyobj)
inline

◆ validate_installation()

void mi_command_py::validate_installation ( micmdpy_object * cmd_obj)
static

Member Data Documentation

◆ m_pyobj

gdbpy_ref<micmdpy_object> mi_command_py::m_pyobj
private

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