KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PLUGIN_TRAVERSER Class Reference
Inheritance diagram for PLUGIN_TRAVERSER:

Public Member Functions

 PLUGIN_TRAVERSER (std::function< void(const wxFileName &)> aAction)
 
wxDirTraverseResult OnFile (const wxString &aFilePath) override
 
wxDirTraverseResult OnDir (const wxString &dirPath) override
 

Private Attributes

std::function< void(const wxFileName &)> m_action
 

Detailed Description

Definition at line 49 of file api_plugin_manager.cpp.

Constructor & Destructor Documentation

◆ PLUGIN_TRAVERSER()

PLUGIN_TRAVERSER::PLUGIN_TRAVERSER ( std::function< void(const wxFileName &)>  aAction)
inlineexplicit

Definition at line 55 of file api_plugin_manager.cpp.

Member Function Documentation

◆ OnDir()

wxDirTraverseResult PLUGIN_TRAVERSER::OnDir ( const wxString &  dirPath)
inlineoverride

Definition at line 70 of file api_plugin_manager.cpp.

◆ OnFile()

wxDirTraverseResult PLUGIN_TRAVERSER::OnFile ( const wxString &  aFilePath)
inlineoverride

Definition at line 60 of file api_plugin_manager.cpp.

References m_action.

Member Data Documentation

◆ m_action

std::function<void( const wxFileName& )> PLUGIN_TRAVERSER::m_action
private

Definition at line 52 of file api_plugin_manager.cpp.

Referenced by OnFile().


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