Go to the documentation of this file.
40 #ifndef SENSOR_CHIP_H_
41 #define SENSOR_CHIP_H_
44 #include <sensors/sensors.h>
46 #include <boost/shared_ptr.hpp>
68 const std::vector<std::string> &ignore);
122 sensors_subfeature
const *subfeature);
SensorChipSubFeature(const SensorChipFeature &feature, sensors_subfeature const *subfeature)
void enumerate_subfeatures()
VoltageSensor(const SensorChip &chip, sensors_feature const *feature)
const std::string & getFeatureName() const
const sensors_subfeature * subfeature_
std::string getChipName()
virtual void buildStatus(diagnostic_updater::DiagnosticStatusWrapper &stat)
const std::string & getName()
const std::string & getFullName() const
virtual void buildStatus(diagnostic_updater::DiagnosticStatusWrapper &stat)=0
std::vector< SensorChipFeaturePtr > features_
boost::shared_ptr< SensorChipSubFeature > SensorChipSubFeaturePtr
virtual void buildStatus(diagnostic_updater::DiagnosticStatusWrapper &stat)
sensors_subfeature_type getType()
const sensors_feature * feature_
const std::string & getName() const
TempSensor(const SensorChip &chip, sensors_feature const *feature)
const std::string & getFeatureLabel() const
virtual void buildStatus(diagnostic_updater::DiagnosticStatusWrapper &stat)
const SensorChipFeature & feature_
boost::shared_ptr< SensorChipFeature > SensorChipFeaturePtr
FanSensor(const SensorChip &chip, sensors_feature const *feature)
const std::string & getFullLabel() const
std::vector< SensorChipSubFeaturePtr > sub_features_
OtherSensor(const SensorChip &chip, sensors_feature const *feature)
SensorChip(sensors_chip_name const *chip_name, const std::vector< std::string > &ignore)
sensors_feature_type getType()
const sensors_chip_name * internal_name_
boost::shared_ptr< SensorChip > SensorChipPtr
SensorChipSubFeaturePtr getSubFeatureByType(sensors_subfeature_type type)
SensorChipFeature(const SensorChip &chip, sensors_feature const *feature)
virtual void buildStatus(diagnostic_updater::DiagnosticStatusWrapper &stat)