DiagnosticTask is an abstract base class for collecting diagnostic data. More...
#include <diagnostic_updater.h>

Public Member Functions | |
| DiagnosticTask (const std::string name) | |
| Constructs a DiagnosticTask setting its name in the process.  More... | |
| const std::string & | getName () | 
| Returns the name of the DiagnosticTask.  More... | |
| virtual void | run (diagnostic_updater::DiagnosticStatusWrapper &stat)=0 | 
| Fills out this Task's DiagnosticStatusWrapper.  More... | |
| virtual | ~DiagnosticTask () | 
Private Attributes | |
| const std::string | name_ | 
DiagnosticTask is an abstract base class for collecting diagnostic data.
Subclasses are provided for generating common diagnostic information.
A DiagnosticTask has a name, and a function that is called to create a DiagnosticStatusWrapper.
Definition at line 98 of file diagnostic_updater.h.
      
  | 
  inline | 
Constructs a DiagnosticTask setting its name in the process.
Definition at line 104 of file diagnostic_updater.h.
      
  | 
  inlinevirtual | 
Virtual destructor as this is a base class.
Definition at line 123 of file diagnostic_updater.h.
      
  | 
  inline | 
Returns the name of the DiagnosticTask.
Definition at line 110 of file diagnostic_updater.h.
      
  | 
  pure virtual | 
      
  | 
  private | 
Definition at line 127 of file diagnostic_updater.h.