data validator : verbose error state reporting

This commit is contained in:
Kabir Mohammed
2015-11-14 21:55:24 +05:30
parent 2d776aca14
commit 0d7cd22ae7
4 changed files with 108 additions and 23 deletions
@@ -80,6 +80,20 @@ public:
* @return the number of failovers
*/
unsigned failover_count();
/**
* Get the index of the failed sensor in the group
*
* @return index of the failed sensor
*/
int failover_index();
/**
* Get the error state of the failed sensor in the group
*
* @return bitmask with erro states of the failed sensor
*/
uint32_t failover_state();
/**
* Print the validator value