Aria: ArMapComponents.h File Reference

- Main Page
- Classes
- Files
- Related Pages

- File List
- File Members

# ArMapComponents.h File Reference

## Detailed Description

Contains the set of component classes used to implement Aria maps.

Date:
  06/27/08

Author:
  K. Cunningham

The ArMap class (defined in ArMap.h) is composed of several smaller classes that are defined in this header file. These include:

- ArMapScan: An implementation of the ArMapScanInterface. This contains all of the data related to the sensed obstacles (i.e. data points and lines). An instance of this class is created for each scan type that is defined in the map.

- ArMapObjects: An implementation of the ArMapObjectsInterface. This stores all of the map objects for the Aria map.

- ArMapInfo: An implementation of the ArMapInfoInterface. This contains all of the info (ArArgumentBuilder) tags defined for the map, including MapInfo, TaskInfo, and RouteInfo.

- ArMapSupplement: An implementation of the ArMapSupplementInterface. This is a repository for all of the extra data that does not fit into any of the above categories.

- ArMapSimple: The RealSubject of the ArMap Proxy. This implements the ArMapInterface and is an aggregate of all of the above map components.

The following "diagram" illustrates the basic hierarchy:

              ________ArMapSupplementInterface________
             ^                                        ^
             |   ________ArMapInfoInterface________   |
             |   ^                                ^   |
             |   |   __ArMapObjectsInterface___   |   |
             |   |   ^                        ^   |   |
             |   |   |   ArMapScanInterface   |   |   |
             |   |   |   ^                ^   |   |   |
             |   |   |   |                |   |   |   |
            ArMapInterface                |   |   |   |
            ^ (extends)                   |   |   |   | (extends)
            |                             |   |   |   |
            |                             |   |   |   |
         ArMapSimple +----------> ArMapScan   |   |   |
                     | (contains)             |   |   |
                     +-----------> ArMapObjects   |   |
                     |                            |   |
                     +------------------> ArMapInfo   |
                     |                                |
                     +----------------> ArMapSupplement

See also:
  ArMapInterface

  ArMap

`#include "ArMapInterface.h"`

## Classes
struct | ArDataTagCaseCmpOp
| Comparator used to sort scan data types in a case-insensitive manner. More...
class | ArMapInfo
| A container for the various "info" tags in an Aria map. More...
class | ArMapObjects
| The collection of map objects that are contained in an Aria map. More...
class | ArMapScan
| The map data related to the sensable obstacles in the environment. More...
class | ArMapSimple
| Simple map that can be read from and written to a file. More...
class | ArMapSupplement
| Supplemental data associated with an Aria map. More...
## Typedefs
typedef std::map< std::string, std::string, ArDataTagCaseCmpOp > | ArDataTagToScanTypeMap
| Type definition for a map of data tags to scan types.
typedef std::map< std::string, ArMapScan *, ArStrCaseCmpOp > | ArTypeToScanMap
| Type definition for a map of scan types to scan data.