SMACC
|
#include <smacc_updatable.h>
Public Member Functions | |
ISmaccUpdatable () | |
ISmaccUpdatable (ros::Duration duration) | |
void | executeUpdate () |
void | setUpdatePeriod (ros::Duration duration) |
Protected Member Functions | |
virtual void | update ()=0 |
Private Attributes | |
boost::optional< ros::Duration > | periodDuration_ |
ros::Time | lastUpdate_ |
Definition at line 15 of file smacc_updatable.h.
smacc::ISmaccUpdatable::ISmaccUpdatable | ( | ) |
Definition at line 6 of file smacc_updatable.cpp.
smacc::ISmaccUpdatable::ISmaccUpdatable | ( | ros::Duration | duration | ) |
Definition at line 11 of file smacc_updatable.cpp.
void smacc::ISmaccUpdatable::executeUpdate | ( | ) |
Definition at line 22 of file smacc_updatable.cpp.
References lastUpdate_, periodDuration_, and update().
void smacc::ISmaccUpdatable::setUpdatePeriod | ( | ros::Duration | duration | ) |
Definition at line 17 of file smacc_updatable.cpp.
References periodDuration_.
|
protectedpure virtual |
Implemented in cl_ros_publisher::CbDefaultPublishLoop, cl_move_base_z::CbUndoPathBackwards2, cl_move_base_z::Pose, cl_move_group_interface::CbMoveEndEffectorTrajectory, cl_move_base_z::CpTFListener, smacc::event_generators::EgConditionalGenerator, and smacc::state_reactors::EgRandomGenerator.
Referenced by executeUpdate().
|
private |
Definition at line 29 of file smacc_updatable.h.
Referenced by executeUpdate().
|
private |
Definition at line 28 of file smacc_updatable.h.
Referenced by executeUpdate(), and setUpdatePeriod().