Public Member Functions | Protected Attributes | List of all members
cras::OfflineDiagUpdater Class Reference

#include <offline_diag_updater.h>

Inheritance diagram for cras::OfflineDiagUpdater:
Inheritance graph
[legend]

Public Member Functions

 OfflineDiagUpdater (const ::std::string &hwid)
 
virtual ::cras::optional<::diagnostic_msgs::DiagnosticArray > update (const ::ros::Time &now)
 
virtual ~OfflineDiagUpdater ()
 
- Public Member Functions inherited from diagnostic_updater::DiagnosticTaskVector
void add (const std::string &name, TaskFunction f)
 
void add (const std::string name, T *c, void(T::*f)(diagnostic_updater::DiagnosticStatusWrapper &))
 
void add (DiagnosticTask &task)
 
bool removeByName (const std::string name)
 

Protected Attributes

::std::string hwid_
 
::ros::Time next_time_
 
::ros::Duration period_ {1, 0}
 
- Protected Attributes inherited from diagnostic_updater::DiagnosticTaskVector
boost::mutex lock_
 

Additional Inherited Members

- Protected Member Functions inherited from diagnostic_updater::DiagnosticTaskVector
void addInternal (DiagnosticTaskInternal &task)
 
const std::vector< DiagnosticTaskInternal > & getTasks ()
 

Detailed Description

Definition at line 22 of file offline_diag_updater.h.

Constructor & Destructor Documentation

◆ OfflineDiagUpdater()

cras::OfflineDiagUpdater::OfflineDiagUpdater ( const ::std::string &  hwid)
explicit

◆ ~OfflineDiagUpdater()

virtual cras::OfflineDiagUpdater::~OfflineDiagUpdater ( )
virtual

Member Function Documentation

◆ update()

virtual ::cras::optional<::diagnostic_msgs::DiagnosticArray> cras::OfflineDiagUpdater::update ( const ::ros::Time now)

Member Data Documentation

◆ hwid_

::std::string cras::OfflineDiagUpdater::hwid_
protected

Definition at line 33 of file offline_diag_updater.h.

◆ next_time_

::ros::Time cras::OfflineDiagUpdater::next_time_
protected

Definition at line 31 of file offline_diag_updater.h.

◆ period_

::ros::Duration cras::OfflineDiagUpdater::period_ {1, 0}
protected

Definition at line 32 of file offline_diag_updater.h.


The documentation for this class was generated from the following file:


cras_cpp_common
Author(s): Martin Pecka
autogenerated on Tue Nov 26 2024 03:49:04