Public Member Functions | Private Attributes | List of all members
multi_robot_router::RouteCoordinatorWrapper Class Reference

#include <route_coordinator.h>

Public Member Functions

bool checkSegment (const Vertex &_next, const uint32_t _startTime, const int32_t _endTime, const uint32_t _diameterPixel, int32_t &_collisionRobot, bool _ignoreGoal=false) const
 calls checkSegment of the routeCoordinator using robot More...
 
int32_t findPotentialUntilRobotOnSegment (const uint32_t _robot, const uint32_t _segId) const
 calls findPotentialUntilRobotOnSegment of the routeCoordinator using robot More...
 
int32_t findSegNr (const uint32_t _robot, const uint32_t _potential) const
 calls findSegNr of the routeCoordinator using robot More...
 
const uint32_t getEnd () const
 calls getEnd of the routeCoordinator using robot More...
 
std::vector< std::pair< uint32_t, float > > getListOfRobotsHigherPrioritizedRobots (const uint32_t _robot, const uint32_t _segId, const int32_t _potential) const
 calls getListOfRobotsHigherPrioritizedRobots of the routeCoordinator using robot More...
 
const uint32_t getStart () const
 calls getStart of the routeCoordinator using robot More...
 
bool isGoal (const Vertex &_seg) const
 calls isGoal of the routeCoordinator using robot More...
 
 RouteCoordinatorWrapper (const uint32_t _robot, const RouteCoordinator &_routeCoordinater)
 constructor to save the routecoordinator and the current robot More...
 

Private Attributes

uint32_t robot_
 
const RouteCoordinatorrouteCoordinator_
 

Detailed Description

Definition at line 122 of file route_coordinator.h.

Constructor & Destructor Documentation

multi_robot_router::RouteCoordinatorWrapper::RouteCoordinatorWrapper ( const uint32_t  _robot,
const RouteCoordinator _routeCoordinater 
)

constructor to save the routecoordinator and the current robot

holds a static reference to the Routecoordinator and enables to call the route Coordinators const methods using the saved robotId

Definition at line 33 of file route_coordinator.cpp.

Member Function Documentation

bool multi_robot_router::RouteCoordinatorWrapper::checkSegment ( const Vertex _next,
const uint32_t  _startTime,
const int32_t  _endTime,
const uint32_t  _diameterPixel,
int32_t &  _collisionRobot,
bool  _ignoreGoal = false 
) const

calls checkSegment of the routeCoordinator using robot

Definition at line 39 of file route_coordinator.cpp.

int32_t multi_robot_router::RouteCoordinatorWrapper::findPotentialUntilRobotOnSegment ( const uint32_t  _robot,
const uint32_t  _segId 
) const

calls findPotentialUntilRobotOnSegment of the routeCoordinator using robot

Definition at line 44 of file route_coordinator.cpp.

int32_t multi_robot_router::RouteCoordinatorWrapper::findSegNr ( const uint32_t  _robot,
const uint32_t  _potential 
) const

calls findSegNr of the routeCoordinator using robot

const uint32_t multi_robot_router::RouteCoordinatorWrapper::getEnd ( ) const

calls getEnd of the routeCoordinator using robot

Definition at line 49 of file route_coordinator.cpp.

std::vector< std::pair< uint32_t, float > > multi_robot_router::RouteCoordinatorWrapper::getListOfRobotsHigherPrioritizedRobots ( const uint32_t  _robot,
const uint32_t  _segId,
const int32_t  _potential 
) const

calls getListOfRobotsHigherPrioritizedRobots of the routeCoordinator using robot

Definition at line 54 of file route_coordinator.cpp.

const uint32_t multi_robot_router::RouteCoordinatorWrapper::getStart ( ) const

calls getStart of the routeCoordinator using robot

Definition at line 59 of file route_coordinator.cpp.

bool multi_robot_router::RouteCoordinatorWrapper::isGoal ( const Vertex _seg) const

calls isGoal of the routeCoordinator using robot

Definition at line 64 of file route_coordinator.cpp.

Member Data Documentation

uint32_t multi_robot_router::RouteCoordinatorWrapper::robot_
private

Definition at line 160 of file route_coordinator.h.

const RouteCoordinator* multi_robot_router::RouteCoordinatorWrapper::routeCoordinator_
private

Definition at line 161 of file route_coordinator.h.


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


tuw_multi_robot_router
Author(s): Benjamin Binder
autogenerated on Mon Jun 10 2019 15:42:49