updating code from Flying Laptop
This is the framework of Flying Laptop OBSW version A.13.0.
This commit is contained in:
@@ -1,10 +1,3 @@
|
||||
/*
|
||||
* ManagesHealthIF.h
|
||||
*
|
||||
* Created on: 13.10.2015
|
||||
* Author: baetz
|
||||
*/
|
||||
|
||||
#ifndef FRAMEWORK_HEALTH_MANAGESHEALTHIF_H_
|
||||
#define FRAMEWORK_HEALTH_MANAGESHEALTHIF_H_
|
||||
|
||||
@@ -41,11 +34,6 @@ public:
|
||||
return (health == HasHealthIF::PERMANENT_FAULTY);
|
||||
}
|
||||
|
||||
virtual bool shouldBeMonitored(object_id_t object) {
|
||||
HasHealthIF::HealthState health = getHealth(object);
|
||||
return shouldBeMonitored(health);
|
||||
}
|
||||
|
||||
static bool isFaulty(HasHealthIF::HealthState health) {
|
||||
return ((health == HasHealthIF::FAULTY)
|
||||
|| (health == HasHealthIF::PERMANENT_FAULTY)
|
||||
|
||||
Reference in New Issue
Block a user