KiCad PCB EDA Suite
Loading...
Searching...
No Matches
JOB_REGISTRY Class Reference

#include <job_registry.h>

Public Types

typedef std::unordered_map< wxString, JOB_REGISTRY_ENTRYREGISTRY_MAP_T
 

Static Public Member Functions

static bool Add (const wxString &aName, JOB_REGISTRY_ENTRY entry)
 
static KIWAY::FACE_T GetKifaceType (const wxString &aName)
 
template<typename T >
static T * CreateInstance (const wxString &aName)
 
static const REGISTRY_MAP_TGetRegistry ()
 

Static Private Member Functions

static REGISTRY_MAP_TgetRegistry ()
 

Detailed Description

Definition at line 34 of file job_registry.h.

Member Typedef Documentation

◆ REGISTRY_MAP_T

typedef std::unordered_map<wxString, JOB_REGISTRY_ENTRY> JOB_REGISTRY::REGISTRY_MAP_T

Definition at line 37 of file job_registry.h.

Member Function Documentation

◆ Add()

bool JOB_REGISTRY::Add ( const wxString &  aName,
JOB_REGISTRY_ENTRY  entry 
)
static

Definition at line 23 of file job_registry.cpp.

References getRegistry().

◆ CreateInstance()

template<typename T >
static T * JOB_REGISTRY::CreateInstance ( const wxString &  aName)
inlinestatic

Definition at line 44 of file job_registry.h.

◆ GetKifaceType()

KIWAY::FACE_T JOB_REGISTRY::GetKifaceType ( const wxString &  aName)
static

◆ GetRegistry()

static const REGISTRY_MAP_T & JOB_REGISTRY::GetRegistry ( )
inlinestatic

Definition at line 55 of file job_registry.h.

Referenced by PANEL_JOBS::OnAddJobClick().

◆ getRegistry()

JOB_REGISTRY::REGISTRY_MAP_T & JOB_REGISTRY::getRegistry ( )
staticprivate

Definition at line 49 of file job_registry.cpp.

Referenced by Add(), and GetKifaceType().


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