KiCad PCB EDA Suite
KIWAY_MGR Class Reference

Class KIWAY_MGR is a container for all KIWAYS [and PROJECTS]. More...

#include <kiway_mgr.h>

Public Member Functions

bool OnStart (wxApp *aProcess)
 
void OnEnd ()
 
KIWAYoperator[] (int aIndex)
 

Private Types

typedef boost::ptr_vector< KIWAYKIWAYS
 

Private Attributes

KIWAYS m_kiways
 

Detailed Description

Class KIWAY_MGR is a container for all KIWAYS [and PROJECTS].

This class needs to work both for a C++ project manager and an a wxPython one (after being moved into a header later).

Definition at line 38 of file kiway_mgr.h.

Member Typedef Documentation

◆ KIWAYS

typedef boost::ptr_vector<KIWAY> KIWAY_MGR::KIWAYS
private

Definition at line 59 of file kiway_mgr.h.

Member Function Documentation

◆ OnEnd()

void KIWAY_MGR::OnEnd ( )

◆ OnStart()

bool KIWAY_MGR::OnStart ( wxApp *  aProcess)

◆ operator[]()

KIWAY& KIWAY_MGR::operator[] ( int  aIndex)
inline

Definition at line 48 of file kiway_mgr.h.

49  {
50  wxASSERT( m_kiways.size() ); // stuffed in OnStart()
51  return m_kiways[aIndex];
52  }
KIWAYS m_kiways
Definition: kiway_mgr.h:61

References m_kiways.

Member Data Documentation

◆ m_kiways

KIWAYS KIWAY_MGR::m_kiways
private

Definition at line 61 of file kiway_mgr.h.

Referenced by operator[]().


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