PlayerCc::VectorMapProxy Class Reference

The VectorMapProxy class is used to interface to a vectormap. More...

#include <playerc++.h>

Inheritance diagram for PlayerCc::VectorMapProxy:
Collaboration diagram for PlayerCc::VectorMapProxy:

List of all members.


Detailed Description

The VectorMapProxy class is used to interface to a vectormap.

Public Member Functions

 VectorMapProxy (PlayerClient *aPc, uint32_t aIndex=0)
 Constructor.
 ~VectorMapProxy ()
 Destructor.
void GetMapInfo ()
 Request map information from the underlying device.
void GetLayerData (unsigned layer_index)
 Request data for a specific layer from the underlying device.
int GetLayerCount () const
 Get how many layers are in the map.
std::vector< std::string > GetLayerNames () const
 Get the names of each of the layers.
int GetFeatureCount (unsigned layer_index) const
 Get how many features are in a particular layer.
const uint8_t * GetFeatureData (unsigned layer_index, unsigned feature_index) const
 Get the feature data for a layer and feature.
size_t GetFeatureDataCount (unsigned layer_index, unsigned feature_index) const
 Get how long the feature data is for a layer and feature.

Private Member Functions

void Subscribe (uint32_t aIndex)
void Unsubscribe ()

Private Attributes

playerc_vectormap_tmDevice
bool map_info_cached

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