#include <libsensors_chip.h>
Public Member Functions | |
virtual void | buildStatus (diagnostic_updater::DiagnosticStatusWrapper &stat)=0 |
std::string | getChipName () |
const std::string & | getFeatureLabel () const |
const std::string & | getFeatureName () const |
const std::string & | getFullLabel () const |
const std::string & | getFullName () const |
SensorChipSubFeaturePtr | getSubFeatureByType (sensors_subfeature_type type) |
sensors_feature_type | getType () |
SensorChipFeature (const SensorChip &chip, sensors_feature const *feature) | |
Public Attributes | |
std::vector< SensorChipSubFeaturePtr > | sub_features_ |
Private Member Functions | |
void | enumerate_subfeatures () |
Private Attributes | |
const SensorChip & | chip_ |
sensors_feature const * | feature_ |
std::string | full_label_ |
std::string | full_name_ |
std::string | label_ |
std::string | name_ |
Friends | |
class | SensorChipSubFeature |
Abstract base class for a libsensors sensor chip feature
Definition at line 80 of file libsensors_chip.h.
SensorChipFeature::SensorChipFeature | ( | const SensorChip & | chip, |
sensors_feature const * | feature | ||
) |
Definition at line 107 of file libsensors_chip.cpp.
|
pure virtual |
Build a diagnostic status message that represents the current status of the sensor chip feature
Implemented in OtherSensor, VoltageSensor, TempSensor, and FanSensor.
|
private |
Definition at line 132 of file libsensors_chip.cpp.
|
inline |
Definition at line 100 of file libsensors_chip.h.
|
inline |
Definition at line 96 of file libsensors_chip.h.
|
inline |
Definition at line 95 of file libsensors_chip.h.
|
inline |
Definition at line 98 of file libsensors_chip.h.
|
inline |
Definition at line 97 of file libsensors_chip.h.
SensorChipSubFeaturePtr SensorChipFeature::getSubFeatureByType | ( | sensors_subfeature_type | type | ) |
Definition at line 144 of file libsensors_chip.cpp.
|
inline |
Definition at line 99 of file libsensors_chip.h.
|
friend |
Definition at line 108 of file libsensors_chip.h.
|
private |
Definition at line 86 of file libsensors_chip.h.
|
private |
Definition at line 87 of file libsensors_chip.h.
|
private |
Definition at line 85 of file libsensors_chip.h.
|
private |
Definition at line 84 of file libsensors_chip.h.
|
private |
Definition at line 83 of file libsensors_chip.h.
|
private |
Definition at line 82 of file libsensors_chip.h.
std::vector<SensorChipSubFeaturePtr> SensorChipFeature::sub_features_ |
Definition at line 91 of file libsensors_chip.h.