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

Define a group that can be used to group actions (and their events) of similar operations. More...

#include <tool_action.h>

Public Member Functions

 TOOL_ACTION_GROUP (std::string aName)
 
 TOOL_ACTION_GROUP (const TOOL_ACTION_GROUP &aOther)
 
int GetGroupID () const
 
const std::string & GetName () const
 
bool operator== (const TOOL_ACTION_GROUP &aOther) const
 

Private Attributes

int m_groupID
 
std::string m_name
 

Detailed Description

Define a group that can be used to group actions (and their events) of similar operations.

Definition at line 62 of file tool_action.h.

Constructor & Destructor Documentation

◆ TOOL_ACTION_GROUP() [1/2]

TOOL_ACTION_GROUP::TOOL_ACTION_GROUP ( std::string  aName)
inline

Definition at line 65 of file tool_action.h.

References m_groupID.

◆ TOOL_ACTION_GROUP() [2/2]

TOOL_ACTION_GROUP::TOOL_ACTION_GROUP ( const TOOL_ACTION_GROUP aOther)
inline

Definition at line 73 of file tool_action.h.

References GetGroupID(), GetName(), m_groupID, and m_name.

Member Function Documentation

◆ GetGroupID()

int TOOL_ACTION_GROUP::GetGroupID ( ) const
inline

Definition at line 81 of file tool_action.h.

References m_groupID.

Referenced by TOOL_ACTION_GROUP().

◆ GetName()

const std::string & TOOL_ACTION_GROUP::GetName ( ) const
inline

Definition at line 82 of file tool_action.h.

References m_name.

Referenced by TOOL_ACTION_GROUP().

◆ operator==()

bool TOOL_ACTION_GROUP::operator== ( const TOOL_ACTION_GROUP aOther) const
inline

Definition at line 84 of file tool_action.h.

References m_groupID.

Member Data Documentation

◆ m_groupID

int TOOL_ACTION_GROUP::m_groupID
private

Definition at line 90 of file tool_action.h.

Referenced by GetGroupID(), operator==(), and TOOL_ACTION_GROUP().

◆ m_name

std::string TOOL_ACTION_GROUP::m_name
private

Definition at line 91 of file tool_action.h.

Referenced by GetName(), and TOOL_ACTION_GROUP().


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