KiCad PCB EDA Suite
PYTHON_ACTION_PLUGINS Class Reference

#include <pcbnew_action_plugins.h>

Static Public Member Functions

static void register_action (PyObject *aPyAction)
 
static void deregister_action (PyObject *aPyAction)
 

Detailed Description

Definition at line 61 of file pcbnew_action_plugins.h.

Member Function Documentation

◆ deregister_action()

void PYTHON_ACTION_PLUGINS::deregister_action ( PyObject *  aPyAction)
static

Definition at line 188 of file pcbnew_action_plugins.cpp.

189 {
190  // deregister also destroys the previously created "PYTHON_ACTION_PLUGIN object"
191  ACTION_PLUGINS::deregister_object( (void*) aPyAction );
192 }
static bool deregister_object(void *aObject)
Deregister an object which builds a action.

References ACTION_PLUGINS::deregister_object().

◆ register_action()

void PYTHON_ACTION_PLUGINS::register_action ( PyObject *  aPyAction)
static

Definition at line 180 of file pcbnew_action_plugins.cpp.

181 {
182  PYTHON_ACTION_PLUGIN* fw = new PYTHON_ACTION_PLUGIN( aPyAction );
183 
184  fw->register_action();
185 }
void register_action()
It's the standard method of a "ACTION_PLUGIN" to register itself into the ACTION_PLUGINS singleton ma...

References ACTION_PLUGIN::register_action().


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