MEASUR-Tools-Suite v1.0.11
The MEASUR Tools Suite is a collection of industrial efficiency calculations written in C++ and with bindings for compilation to WebAssembly.
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | Friends | List of all members
LightingData Class Reference

Public Member Functions

 LightingData (std::string category, std::string type, int lamps_per_fixture, double lamp_wattage, int lamp_output, int lamp_life, int lamp_cri, double coefficient_of_utilization, double ballast_factor, double lumen_degradation_factor)
 Constructs a Lighting's data record with specified parameters.
 
void setID (int id)
 Sequential ID of the lighting default data.
 
int ID () const
 Gets the data sequential ID of the lighting default data.
 
std::string category () const
 Gets the Category of the lighting.
 
std::string type () const
 Gets the Type of the lighting.
 
int lampsPerFixture () const
 Gets the Lamps per Fixture of the lighting system.
 
double lampWattage () const
 Gets the Lamp Wattage of the lighting system.
 
int lampOutput () const
 Gets the Lamp Output of the lighting system.
 
int lampLife () const
 Gets the Lamp Life of the lighting system.
 
int lampCRI () const
 Gets the Lamp CRI of the lighting system.
 
double coefficientOfUtilization () const
 Gets the Coefficient of Utilization of the lighting system.
 
double ballastFactor () const
 Gets the Ballast Factor of the lighting system.
 
double lumenDegradationFactor () const
 Gets the Lumen Degradation Factor of the lighting system.
 

Private Attributes

int id_
 
std::string category_
 
std::string type_
 
int lamps_per_fixture_
 
double lamp_wattage_
 
int lamp_output_
 
int lamp_life_
 
int lamp_cri_
 
double coefficient_of_utilization_
 
double ballast_factor_
 
double lumen_degradation_factor_
 

Friends

class DefaultData
 

Detailed Description

Definition at line 12 of file lighting_data.h.

Constructor & Destructor Documentation

◆ LightingData()

LightingData::LightingData ( std::string  category,
std::string  type,
int  lamps_per_fixture,
double  lamp_wattage,
int  lamp_output,
int  lamp_life,
int  lamp_cri,
double  coefficient_of_utilization,
double  ballast_factor,
double  lumen_degradation_factor 
)
inline

Constructs a Lighting's data with the provided parameters, with an data ID of 0.

Parameters
[in]categorylighting system category @unit{\unitless}.
[in]typelighting system type @unit{\unitless}.
[in]lamps_per_fixturelighting system lamps per fixture @unit{\unitless}.
[in]lamp_wattagelighting system lamp wattage @unit{\watt}.
[in]lamp_outputlighting system lamp output @unit{\lumens}.
[in]lamp_lifelighting system lamp life @unit{\hours}.
[in]lamp_crilighting system lamp cri @unit{\unitless}.
[in]coefficient_of_utilizationlighting system coefficient of utilization @unit{\percentage}.
[in]ballast_factorlighting system ballast factor @unit{\unitless}.
[in]lumen_degradation_factorlighting system lumen degradation factor @unit{\unitless}.

Definition at line 28 of file lighting_data.h.

Member Function Documentation

◆ ballastFactor()

double LightingData::ballastFactor ( ) const
inline
Returns
ballastFactor of the lighting system.

Definition at line 100 of file lighting_data.h.

◆ category()

std::string LightingData::category ( ) const
inline
Returns
category of the lighting.

Definition at line 52 of file lighting_data.h.

◆ coefficientOfUtilization()

double LightingData::coefficientOfUtilization ( ) const
inline
Returns
coefficientOfUtilization of the lighting system.

Definition at line 94 of file lighting_data.h.

◆ ID()

int LightingData::ID ( ) const
inline
Returns
Sequential ID of the lighting default data.

Definition at line 46 of file lighting_data.h.

◆ lampCRI()

int LightingData::lampCRI ( ) const
inline
Returns
lampCRI of the lighting system.

Definition at line 88 of file lighting_data.h.

◆ lampLife()

int LightingData::lampLife ( ) const
inline
Returns
lampLife of the lighting system.

Definition at line 82 of file lighting_data.h.

◆ lampOutput()

int LightingData::lampOutput ( ) const
inline
Returns
lampOutput of the lighting system.

Definition at line 76 of file lighting_data.h.

◆ lampsPerFixture()

int LightingData::lampsPerFixture ( ) const
inline
Returns
lampsPerFixture of the lighting system.

Definition at line 64 of file lighting_data.h.

◆ lampWattage()

double LightingData::lampWattage ( ) const
inline
Returns
lampWattage of the lighting system.

Definition at line 70 of file lighting_data.h.

◆ lumenDegradationFactor()

double LightingData::lumenDegradationFactor ( ) const
inline
Returns
lumenDegradationFactor of the lighting system.

Definition at line 106 of file lighting_data.h.

◆ setID()

void LightingData::setID ( int  id)
inline

Used for default data initialization by adding a sequential data ID.

Parameters
[in]idSequential ID of the lighting default data.

Definition at line 40 of file lighting_data.h.

◆ type()

std::string LightingData::type ( ) const
inline
Returns
type of the lighting.

Definition at line 58 of file lighting_data.h.

Friends And Related Symbol Documentation

◆ DefaultData

friend class DefaultData
friend

Definition at line 122 of file lighting_data.h.

Member Data Documentation

◆ ballast_factor_

double LightingData::ballast_factor_
private

Definition at line 119 of file lighting_data.h.

◆ category_

std::string LightingData::category_
private

Definition at line 111 of file lighting_data.h.

◆ coefficient_of_utilization_

double LightingData::coefficient_of_utilization_
private

Definition at line 118 of file lighting_data.h.

◆ id_

int LightingData::id_
private

Definition at line 109 of file lighting_data.h.

◆ lamp_cri_

int LightingData::lamp_cri_
private

Definition at line 117 of file lighting_data.h.

◆ lamp_life_

int LightingData::lamp_life_
private

Definition at line 116 of file lighting_data.h.

◆ lamp_output_

int LightingData::lamp_output_
private

Definition at line 115 of file lighting_data.h.

◆ lamp_wattage_

double LightingData::lamp_wattage_
private

Definition at line 114 of file lighting_data.h.

◆ lamps_per_fixture_

int LightingData::lamps_per_fixture_
private

Definition at line 113 of file lighting_data.h.

◆ lumen_degradation_factor_

double LightingData::lumen_degradation_factor_
private

Definition at line 120 of file lighting_data.h.

◆ type_

std::string LightingData::type_
private

Definition at line 112 of file lighting_data.h.


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