#include <sample_holder.h>
Signals | |
void | changed () |
void | timeoutChanged (const ros::Duration &timeout) |
void | updated (bool up_to_date) |
Public Member Functions | |
ros::Duration | getTimeout () const |
bool | isUpToDate () const |
SampleHolder (StateMonitor *monitor, const ros::Duration &timeout) | |
void | setTimeout (const ros::Duration &timeout) |
void | update () |
~SampleHolder () | |
Private Slots | |
void | expired () |
Private Member Functions | |
void | setUpToDate (bool up_to_date) |
Private Attributes | |
ros::Duration | timeout_ |
QTimer * | timer_ |
bool | up_to_date_ |
Definition at line 11 of file sample_holder.h.
mrta::SampleHolder::SampleHolder | ( | StateMonitor * | monitor, |
const ros::Duration & | timeout | ||
) |
Definition at line 7 of file sample_holder.cpp.
Definition at line 15 of file sample_holder.cpp.
void mrta::SampleHolder::changed | ( | ) | [signal] |
void mrta::SampleHolder::expired | ( | ) | [private, slot] |
Definition at line 63 of file sample_holder.cpp.
ros::Duration mrta::SampleHolder::getTimeout | ( | ) | const |
Definition at line 29 of file sample_holder.cpp.
bool mrta::SampleHolder::isUpToDate | ( | ) | const |
Definition at line 27 of file sample_holder.cpp.
void mrta::SampleHolder::setTimeout | ( | const ros::Duration & | timeout | ) |
Definition at line 46 of file sample_holder.cpp.
void mrta::SampleHolder::setUpToDate | ( | bool | up_to_date | ) | [private] |
Definition at line 31 of file sample_holder.cpp.
void mrta::SampleHolder::timeoutChanged | ( | const ros::Duration & | timeout | ) | [signal] |
void mrta::SampleHolder::update | ( | ) |
Definition at line 61 of file sample_holder.cpp.
void mrta::SampleHolder::updated | ( | bool | up_to_date | ) | [signal] |
ros::Duration mrta::SampleHolder::timeout_ [private] |
Definition at line 28 of file sample_holder.h.
QTimer* mrta::SampleHolder::timer_ [private] |
Definition at line 29 of file sample_holder.h.
bool mrta::SampleHolder::up_to_date_ [private] |
Definition at line 27 of file sample_holder.h.