HAL
hal::GraphicsModule::ModulePin Struct Reference

#include <graphics_module.h>

Collaboration diagram for hal::GraphicsModule::ModulePin:
Collaboration graph

Public Member Functions

bool operator== (const ModulePin &rhs) const
 
bool operator< (const ModulePin &rhs) const
 

Public Attributes

QString name
 
u32 mNetId
 

Detailed Description

Represents one pin (both input or output) of a module. It stores the pin type name and the id of the net connected to the pin. Besides, it provides comparison functions.

Definition at line 59 of file graphics_module.h.

Member Function Documentation

◆ operator<()

bool hal::GraphicsModule::ModulePin::operator< ( const ModulePin rhs) const
inline

The comparison is done based only on the name of both modules. (See gui_utility::numeratedOrderCompare)

Definition at line 73 of file graphics_module.h.

References name, and hal::gui_utility::numeratedOrderCompare().

◆ operator==()

bool hal::GraphicsModule::ModulePin::operator== ( const ModulePin rhs) const
inline

Two ModulePins are considered equal if both their names and their connected nets are the same

Definition at line 67 of file graphics_module.h.

References mNetId, and name.

Member Data Documentation

◆ mNetId

u32 hal::GraphicsModule::ModulePin::mNetId

The id of the net connected to this pin

Definition at line 64 of file graphics_module.h.

Referenced by operator==().

◆ name

QString hal::GraphicsModule::ModulePin::name

The name of the pin type

Definition at line 62 of file graphics_module.h.

Referenced by operator<(), and operator==().


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