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 62 of file pcbnew_action_plugins.h.

Member Function Documentation

◆ deregister_action()

void PYTHON_ACTION_PLUGINS::deregister_action ( PyObject *  aPyAction)
static

Definition at line 187 of file pcbnew_action_plugins.cpp.

188 {
189  // deregister also destroys the previously created "PYTHON_ACTION_PLUGIN object"
190  ACTION_PLUGINS::deregister_object( (void*) aPyAction );
191 }
static bool deregister_object(void *aObject)
Function deregister_object Anyone calls this method to 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 179 of file pcbnew_action_plugins.cpp.

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

References ACTION_PLUGIN::register_action().


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