KiCad PCB EDA Suite
JOB Class Reference

An simple container class that lets us dispatch output jobs to kifaces. More...

#include <job.h>

Inheritance diagram for JOB:
JOB_EXPORT_PCB_DRILL JOB_EXPORT_PCB_DXF JOB_EXPORT_PCB_GERBER JOB_EXPORT_PCB_PDF JOB_EXPORT_PCB_POS JOB_EXPORT_PCB_STEP JOB_EXPORT_PCB_SVG JOB_EXPORT_SCH_NETLIST JOB_EXPORT_SCH_PDF JOB_EXPORT_SCH_PYTHONBOM JOB_EXPORT_SCH_SVG JOB_FP_EXPORT_SVG JOB_FP_UPGRADE JOB_SYM_EXPORT_SVG JOB_SYM_UPGRADE

Public Member Functions

 JOB (const std::string &aType, bool aIsCli)
 
virtual ~JOB ()
 
const std::string & GetType () const
 
bool IsCli () const
 

Private Attributes

std::string m_type
 
bool m_isCli
 

Detailed Description

An simple container class that lets us dispatch output jobs to kifaces.

Definition at line 27 of file job.h.

Constructor & Destructor Documentation

◆ JOB()

JOB::JOB ( const std::string &  aType,
bool  aIsCli 
)
inline

Definition at line 30 of file job.h.

30: m_type( aType ), m_isCli( aIsCli ) {}
bool m_isCli
Definition: job.h:39
std::string m_type
Definition: job.h:38

◆ ~JOB()

virtual JOB::~JOB ( )
inlinevirtual

Definition at line 32 of file job.h.

32{}

Member Function Documentation

◆ GetType()

const std::string & JOB::GetType ( ) const
inline

Definition at line 34 of file job.h.

34{ return m_type; };

References m_type.

Referenced by JOB_DISPATCHER::RunJob().

◆ IsCli()

Member Data Documentation

◆ m_isCli

bool JOB::m_isCli
private

Definition at line 39 of file job.h.

Referenced by IsCli().

◆ m_type

std::string JOB::m_type
private

Definition at line 38 of file job.h.

Referenced by GetType().


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