PF_API 0.52
Classes | Public Member Functions

OpenSkyNet::PF::Queue Class Reference

#include <PFQueue.h>

List of all members.

Classes

struct  QueueNode

Public Member Functions

 Queue ()
void init (const Math::Point< Utils::uint > &bin_)
bool isEmpty () const
bool enqueue (CD::DIRECTION dir_, const Math::Point< Utils::uint > &bin_)
CD::DIRECTION dequeue (Math::Point< Utils::uint > &bin_)
void deletePathDirsStartingWith (CD::DIRECTION dir_)
std::vector< CD::DIRECTIONreturnFrontPathDirsAsVector () const
bool getCurrBin (Math::Point< Utils::uint > &bin_) const
void setVisitedBin (const Math::Point< Utils::uint > &bin_, bool isVisited_)
 Queue ()
void init (const Math::Point< Utils::uint > &bin_)
bool isEmpty () const
bool enqueue (CD::DIRECTION dir_, const Math::Point< Utils::uint > &bin_)
CD::DIRECTION dequeue (Math::Point< Utils::uint > &bin_)
void deletePathDirsStartingWith (CD::DIRECTION dir_)
std::vector< CD::DIRECTIONreturnFrontPathDirsAsVector () const
bool getCurrBin (Math::Point< Utils::uint > &bin_) const
void setVisitedBin (const Math::Point< Utils::uint > &bin_, bool isVisited_)

Detailed Description

Queue class for use internally by PF::Manager.


Constructor & Destructor Documentation

OpenSkyNet::PF::Queue::Queue ( ) [inline]
OpenSkyNet::PF::Queue::Queue ( ) [inline]

Member Function Documentation

void OpenSkyNet::PF::Queue::deletePathDirsStartingWith ( CD::DIRECTION  dir_)
void OpenSkyNet::PF::Queue::deletePathDirsStartingWith ( CD::DIRECTION  dir_)
CD::DIRECTION OpenSkyNet::PF::Queue::dequeue ( Math::Point< Utils::uint > &  bin_) [inline]
CD::DIRECTION OpenSkyNet::PF::Queue::dequeue ( Math::Point< Utils::uint > &  bin_) [inline]
bool OpenSkyNet::PF::Queue::enqueue ( CD::DIRECTION  dir_,
const Math::Point< Utils::uint > &  bin_ 
) [inline]
bool OpenSkyNet::PF::Queue::enqueue ( CD::DIRECTION  dir_,
const Math::Point< Utils::uint > &  bin_ 
) [inline]
bool OpenSkyNet::PF::Queue::getCurrBin ( Math::Point< Utils::uint > &  bin_) const [inline]
bool OpenSkyNet::PF::Queue::getCurrBin ( Math::Point< Utils::uint > &  bin_) const [inline]
void OpenSkyNet::PF::Queue::init ( const Math::Point< Utils::uint > &  bin_)
void OpenSkyNet::PF::Queue::init ( const Math::Point< Utils::uint > &  bin_)
bool OpenSkyNet::PF::Queue::isEmpty ( ) const [inline]
bool OpenSkyNet::PF::Queue::isEmpty ( ) const [inline]
std::vector<CD::DIRECTION> OpenSkyNet::PF::Queue::returnFrontPathDirsAsVector ( ) const
std::vector<CD::DIRECTION> OpenSkyNet::PF::Queue::returnFrontPathDirsAsVector ( ) const
void OpenSkyNet::PF::Queue::setVisitedBin ( const Math::Point< Utils::uint > &  bin_,
bool  isVisited_ 
) [inline]
void OpenSkyNet::PF::Queue::setVisitedBin ( const Math::Point< Utils::uint > &  bin_,
bool  isVisited_ 
) [inline]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines