MTC
Classes | Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
moveit::task_constructor::InterfaceState Class Reference

#include <storage.h>

Classes

struct  Priority
 

Public Types

enum  Status : uint8_t { ENABLED , ARMED , PRUNED }
 
using Solutions = std::deque< SolutionBase * >
 

Public Member Functions

 InterfaceState (const planning_scene::PlanningScenePtr &ps)
 create an InterfaceState from a planning scene
 
 InterfaceState (const planning_scene::PlanningSceneConstPtr &ps)
 
 InterfaceState (const planning_scene::PlanningSceneConstPtr &ps, const Priority &p)
 provide an initial priority for the state (for internal use only)
 
 InterfaceState (const InterfaceState &other)
 copy an existing InterfaceState, but not including incoming/outgoing trajectories
 
 InterfaceState (InterfaceState &&other)=default
 
InterfaceStateoperator= (const InterfaceState &other)=default
 
const planning_scene::PlanningSceneConstPtr & scene () const
 
const Solutions & incomingTrajectories () const
 
const Solutions & outgoingTrajectories () const
 
PropertyMapproperties ()
 
const PropertyMapproperties () const
 
bool operator< (const InterfaceState &other) const
 states are ordered by priority
 
const Prioritypriority () const
 
void updatePriority (const InterfaceState::Priority &priority)
 Update priority and call owner's notify() if possible.
 
void updateStatus (Status status)
 Update status, but keep current priority.
 
Interfaceowner () const
 

Static Public Member Functions

static const char * colorForStatus (unsigned int s)
 

Friends

class SolutionBase
 
class Interface
 

Detailed Description

InterfaceState describes a potential start or goal state for a planning stage.

A start or goal state for planning is essentially defined by the state of a planning scene.


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