My Project
Loading...
Searching...
No Matches
room Class Reference

#include <room.h>

Public Member Functions

void adjustFanChange (int fan_change)
 room ()
void adjust ()
void forceAdjust (int fan_percent)
void updateInfo ()
void addRule (const rule new_rule)
void removeRule (int rule_index)
void modifyRule (int rule_index, const rule new_rule)
rule getRule (int rule_index) const
QVector< rulegetRules () const
 room (QString name)
QString getName () const
float getCO2 () const
float getTemp () const
float getNoise () const
int getFanPercent () const
QJsonObject toJSON () const

Static Public Member Functions

static room fromJSON (const QJsonObject &obj)

Constructor & Destructor Documentation

◆ room() [1/2]

room::room ( )

◆ room() [2/2]

room::room ( QString name)

Member Function Documentation

◆ addRule()

void room::addRule ( const rule new_rule)

◆ adjust()

void room::adjust ( )

◆ adjustFanChange()

void room::adjustFanChange ( int fan_change)

◆ forceAdjust()

void room::forceAdjust ( int fan_percent)

◆ fromJSON()

room room::fromJSON ( const QJsonObject & obj)
static

◆ getCO2()

float room::getCO2 ( ) const

◆ getFanPercent()

int room::getFanPercent ( ) const

◆ getName()

QString room::getName ( ) const

◆ getNoise()

float room::getNoise ( ) const

◆ getRule()

rule room::getRule ( int rule_index) const

◆ getRules()

QVector< rule > room::getRules ( ) const

◆ getTemp()

float room::getTemp ( ) const

◆ modifyRule()

void room::modifyRule ( int rule_index,
const rule new_rule )

◆ removeRule()

void room::removeRule ( int rule_index)

◆ toJSON()

QJsonObject room::toJSON ( ) const

◆ updateInfo()

void room::updateInfo ( )

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