MRXT: The Multi-Robot eXploration Tool
Multi-Robot autonomous exploration and mapping simulator.
Public Member Functions | Private Attributes
landmarksData Class Reference

Implements an array of landmarks returned by a sensor. More...

#include <landmarksData.h>

List of all members.

Public Member Functions

 landmarksData ()
 Default Constructor.
 landmarksData (int nLandmarks)
 Builds the structure reserving space for nLandmarks.
 landmarksData (const landmarksData &)
 Copy constructor.
 ~landmarksData ()
 Default destructor.
void addLandmark (const landmark &lm)
 sets the landmark n of the array
void clear ()
 clear the data
landmark & getLandmark (int n) const
 returns the landmark n of the array
landmark * getLandmarks ()
 returns a pointer to the data
int getNLandmarks () const
 returns the number of landmarks
landmarksData & operator= (const landmarksData &lmd)
 asignment operator
void reserve (int nLandmarks)
 resize the array to nLandmarks (this operation deletes the previous data)

Private Attributes

float distMAX
float distMIN
float gammaMAX
landmark * landmarks
unsigned short marksReserved
unsigned short nLandmarks

Detailed Description

Implements an array of landmarks returned by a sensor.

Definition at line 57 of file landmarksData.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs