43 m_multicell(route->isMultiCell()),
44 m_sessionId(sessionId),
45 m_status(search_status_incomplete) {
53 std::vector<ModelCoordinate>::const_iterator co_it = coords.begin();
54 for (; co_it != coords.end(); ++co_it) {
int32_t getSearchStatus() const
A small function which returns the current status of the search.
Route * getRoute()
Returns the associated route for this search.
void setSearchStatus(const SearchStatus status)
Sets the current status of the search.
Layer * getLayer() const
Gets the layer where this location is pointing to.
const Location & getStartNode()
Returns the start location.
void setRouteStatus(RouteStatusInfo status)
Sets route status.
RoutePatherSearch(Route *route, const int32_t sessionId)
Constructor.
bool m_specialCost
Indicates if the search should use special costs.
SearchStatus
An enumeration of the different status the search can be in.
CellCache * getCellCache()
Returns the CellCache of this layer.
virtual ~RoutePatherSearch()
Cell * getCell(const ModelCoordinate &mc)
Returns cell on this coordinate.
std::vector< Cell * > m_ignoredBlockers
Blockers from a multi cell object which should be ignored.
bool m_ignoreDynamicBlockers
Indicates if dynamic blockers should be ignored.
bool isDynamicBlockerIgnored()
Gets if the route ignores dynamic blocker.
SearchStatus m_status
An enumeration of the searches current status.
A basic cell on a CellCache.
int32_t getSessionId() const
Retrieves the session id.
const std::vector< ModelCoordinate > & getOccupiedArea()
Returns occupied coordinates for multi cell object.
const std::string & getCostId()
Returns cost identifier which is used for pathfinding.
bool m_multicell
Indicates if the route is for a multi cell object.
int32_t m_sessionId
An integer containing the session id for this search.
Route * m_route
Pointer to route.