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);
88 void enumerate_subfeatures();
99 sensors_feature_type
getType(){
return feature_->type;};
122 sensors_subfeature
const *subfeature);
124 sensors_subfeature_type
getType() {
return subfeature_->type; }
SensorChip(sensors_chip_name const *chip_name, const std::vector< std::string > &ignore)
friend class SensorChipFeature
const SensorChipFeature & feature_
sensors_subfeature_type getType()
const std::string & getName()
const std::string & getFeatureName() const
boost::shared_ptr< SensorChipSubFeature > SensorChipSubFeaturePtr
sensors_feature const * feature_
const std::string & getFeatureLabel() const
sensors_subfeature const * subfeature_
const std::string & getName() const
boost::shared_ptr< SensorChipFeature > SensorChipFeaturePtr
OtherSensor(const SensorChip &chip, sensors_feature const *feature)
sensors_chip_name const * internal_name_
std::vector< SensorChipSubFeaturePtr > sub_features_
std::vector< SensorChipFeaturePtr > features_
VoltageSensor(const SensorChip &chip, sensors_feature const *feature)
sensors_feature_type getType()
const std::string & getFullName() const
boost::shared_ptr< SensorChip > SensorChipPtr
FanSensor(const SensorChip &chip, sensors_feature const *feature)
const std::string & getFullLabel() const
TempSensor(const SensorChip &chip, sensors_feature const *feature)
std::string getChipName()
friend class SensorChipSubFeature