Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
lama_jockeys::Jockey Class Reference

#include <jockey.h>

Inheritance diagram for lama_jockeys::Jockey:
Inheritance graph
[legend]

List of all members.

Public Member Functions

std::string getName () const

Protected Member Functions

ros::Duration getCompletionDuration () const
ros::Duration getInterruptionsDuration () const
ros::Time getInterruptionTime () const
ros::Time getResumeTime () const
ros::Time getStartTime () const
void initAction ()
void interrupt ()
bool isInterrupted () const
 Jockey (const std::string &name)
virtual void onContinue ()
virtual void onInterrupt ()
void resume ()

Protected Attributes

std::string jockey_name_
ros::ServiceClient map_agent_
ros::NodeHandle nh_
ros::NodeHandle private_nh_

Private Attributes

bool interrupted_
 True if the jockey is interrupted.
ros::Time interruption_time_
 Timestamp when interruption started.
ros::Duration interruptions_duration_
 Total interruption time (not including the current one)
ros::Time resume_time_
 Timestamp when normal behavior was resumed.
ros::Time start_time_
 Timestamp when a non-interrupting goal was received.

Detailed Description

Definition at line 18 of file jockey.h.


Constructor & Destructor Documentation

lama_jockeys::Jockey::Jockey ( const std::string &  name) [protected]

Definition at line 10 of file jockey.cpp.


Member Function Documentation

Definition at line 56 of file jockey.cpp.

Definition at line 35 of file jockey.h.

Definition at line 33 of file jockey.h.

std::string lama_jockeys::Jockey::getName ( ) const [inline]

Definition at line 22 of file jockey.h.

ros::Time lama_jockeys::Jockey::getResumeTime ( ) const [inline, protected]

Definition at line 34 of file jockey.h.

ros::Time lama_jockeys::Jockey::getStartTime ( ) const [inline, protected]

Definition at line 32 of file jockey.h.

void lama_jockeys::Jockey::initAction ( ) [protected]
void lama_jockeys::Jockey::interrupt ( ) [protected]

Definition at line 27 of file jockey.cpp.

bool lama_jockeys::Jockey::isInterrupted ( ) const [inline, protected]

Definition at line 31 of file jockey.h.

void lama_jockeys::Jockey::onContinue ( ) [protected, virtual]
void lama_jockeys::Jockey::onInterrupt ( ) [protected, virtual]
void lama_jockeys::Jockey::resume ( ) [protected]

Definition at line 36 of file jockey.cpp.


Member Data Documentation

True if the jockey is interrupted.

Definition at line 49 of file jockey.h.

Timestamp when interruption started.

Definition at line 51 of file jockey.h.

Total interruption time (not including the current one)

Definition at line 53 of file jockey.h.

std::string lama_jockeys::Jockey::jockey_name_ [protected]

Definition at line 40 of file jockey.h.

Definition at line 41 of file jockey.h.

Definition at line 38 of file jockey.h.

Definition at line 39 of file jockey.h.

Timestamp when normal behavior was resumed.

Definition at line 52 of file jockey.h.

Timestamp when a non-interrupting goal was received.

Definition at line 50 of file jockey.h.


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


jockeys
Author(s): Gaël Ecorchard , Karel Košnar
autogenerated on Sat Jun 8 2019 19:03:15