Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
actionlib::SimpleGoalState Class Reference

Thin wrapper around an enum in order providing a simplified version of the communication state, but with less states than CommState. More...

#include <simple_goal_state.h>

Public Types

enum  StateEnum { PENDING, ACTIVE, DONE }
 Defines the various states the SimpleGoalState can be in. More...
 

Public Member Functions

bool operator!= (const SimpleGoalState::StateEnum &rhs) const
 
bool operator!= (const SimpleGoalState &rhs) const
 
bool operator== (const SimpleGoalState &rhs) const
 
bool operator== (const SimpleGoalState::StateEnum &rhs) const
 
 SimpleGoalState (const StateEnum &state)
 
std::string toString () const
 

Public Attributes

StateEnum state_
 

Private Member Functions

 SimpleGoalState ()
 

Detailed Description

Thin wrapper around an enum in order providing a simplified version of the communication state, but with less states than CommState.

Definition at line 48 of file simple_goal_state.h.

Member Enumeration Documentation

◆ StateEnum

Defines the various states the SimpleGoalState can be in.

Enumerator
PENDING 
ACTIVE 
DONE 

Definition at line 52 of file simple_goal_state.h.

Constructor & Destructor Documentation

◆ SimpleGoalState() [1/2]

actionlib::SimpleGoalState::SimpleGoalState ( const StateEnum state)
inline

Definition at line 59 of file simple_goal_state.h.

◆ SimpleGoalState() [2/2]

actionlib::SimpleGoalState::SimpleGoalState ( )
private

Member Function Documentation

◆ operator!=() [1/2]

bool actionlib::SimpleGoalState::operator!= ( const SimpleGoalState::StateEnum rhs) const
inline

Definition at line 72 of file simple_goal_state.h.

◆ operator!=() [2/2]

bool actionlib::SimpleGoalState::operator!= ( const SimpleGoalState rhs) const
inline

Definition at line 77 of file simple_goal_state.h.

◆ operator==() [1/2]

bool actionlib::SimpleGoalState::operator== ( const SimpleGoalState rhs) const
inline

Definition at line 62 of file simple_goal_state.h.

◆ operator==() [2/2]

bool actionlib::SimpleGoalState::operator== ( const SimpleGoalState::StateEnum rhs) const
inline

Definition at line 67 of file simple_goal_state.h.

◆ toString()

std::string actionlib::SimpleGoalState::toString ( ) const
inline

Definition at line 82 of file simple_goal_state.h.

Member Data Documentation

◆ state_

StateEnum actionlib::SimpleGoalState::state_

Definition at line 98 of file simple_goal_state.h.


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


actionlib
Author(s): Eitan Marder-Eppstein, Vijay Pradeep, Mikael Arguedas
autogenerated on Mon Feb 28 2022 21:34:39