OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::AirDuctData Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/DeviceCore/DevFan.h>

Collaboration diagram for Slic3r::AirDuctData:

Public Member Functions

bool operator== (const AirDuctData &other) const
bool operator!= (const AirDuctData &other) const
bool IsSupportCoolingFilter () const
bool IsCoolingFilerOn () const
bool IsExaustFanExit () const

Public Attributes

int curren_mode {0}
std::map< int, AirMode > modes
std::vector< AirParts > parts
int m_sub_mode = -1
bool m_support_cooling_filter = false

Detailed Description

Member Function Documentation

◆ IsCoolingFilerOn()

bool Slic3r::AirDuctData::IsCoolingFilerOn ( ) const
inline
94{ return m_sub_mode == 1; }
int m_sub_mode
Definition DevFan.h:78

References m_sub_mode.

◆ IsExaustFanExit()

bool Slic3r::AirDuctData::IsExaustFanExit ( ) const
inline
96 {
97 for (auto &p : parts) {
98 if (p.id == int(AIR_FUN::FAN_CHAMBER_0_IDX)) return true;
99 }
100 return false;
101 }
@ FAN_CHAMBER_0_IDX
Definition DevFan.h:21
std::vector< AirParts > parts
Definition DevFan.h:76

References Slic3r::FAN_CHAMBER_0_IDX, and parts.

◆ IsSupportCoolingFilter()

bool Slic3r::AirDuctData::IsSupportCoolingFilter ( ) const
inline
bool m_support_cooling_filter
Definition DevFan.h:79

References m_support_cooling_filter.

◆ operator!=()

bool Slic3r::AirDuctData::operator!= ( const AirDuctData & other) const
inline
89 {
90 return !(operator==(other));
91 };
bool operator==(const AirDuctData &other) const
Definition DevFan.h:82

References operator==().

Here is the call graph for this function:

◆ operator==()

bool Slic3r::AirDuctData::operator== ( const AirDuctData & other) const
inline
83 {
84 return (curren_mode == other.curren_mode) && (modes == other.modes) && (parts == other.parts) &&
85 (m_sub_mode == other.m_sub_mode) && (m_support_cooling_filter == other.m_support_cooling_filter);
86 };
int curren_mode
Definition DevFan.h:74
std::map< int, AirMode > modes
Definition DevFan.h:75

References curren_mode, m_sub_mode, m_support_cooling_filter, modes, and parts.

Referenced by operator!=().

Here is the caller graph for this function:

Member Data Documentation

◆ curren_mode

int Slic3r::AirDuctData::curren_mode {0}
74{0};

Referenced by operator==().

◆ m_sub_mode

int Slic3r::AirDuctData::m_sub_mode = -1

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

◆ m_support_cooling_filter

bool Slic3r::AirDuctData::m_support_cooling_filter = false

◆ modes

std::map<int, AirMode> Slic3r::AirDuctData::modes

◆ parts


The documentation for this struct was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/DeviceCore/DevFan.h