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 &rhs) const
 
bool operator!= (const SimpleGoalState::StateEnum &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 80 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 116 of file simple_goal_state.h.

Constructor & Destructor Documentation

◆ SimpleGoalState() [1/2]

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

Definition at line 123 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 rhs) const
inline

Definition at line 141 of file simple_goal_state.h.

◆ operator!=() [2/2]

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

Definition at line 136 of file simple_goal_state.h.

◆ operator==() [1/2]

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

Definition at line 126 of file simple_goal_state.h.

◆ operator==() [2/2]

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

Definition at line 131 of file simple_goal_state.h.

◆ toString()

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

Definition at line 146 of file simple_goal_state.h.

Member Data Documentation

◆ state_

StateEnum actionlib::SimpleGoalState::state_

Definition at line 162 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 Fri May 19 2023 02:36:55