62 lines
1.2 KiB
C++
Executable File
62 lines
1.2 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Interface-Implementation of Grid
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
// Own
|
|
#include <Map/grid.h> // Interface
|
|
#include <Common/situation_map_logging.h>
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
namespace SituationMap
|
|
{
|
|
|
|
class MapImpl;
|
|
|
|
class GridImpl : public SituationMap::Grid
|
|
{
|
|
using BaseClass = SituationMap::Grid;
|
|
|
|
public:
|
|
|
|
explicit GridImpl(SituationMap::MapImpl *mapImpl);
|
|
virtual ~GridImpl();
|
|
|
|
GridImpl(const GridImpl &other) = delete;
|
|
GridImpl &operator=(GridImpl &other) = delete;
|
|
|
|
|
|
virtual GridType gridType() override;
|
|
virtual void setGridType(GridType gridType) override;
|
|
|
|
virtual void setVisible(bool visible) override;
|
|
virtual bool isVisible() override;
|
|
|
|
virtual int levelCount() override;
|
|
|
|
virtual bool isLabelVisible() override;
|
|
virtual void setLabelVisible(bool visible) override;
|
|
|
|
private :
|
|
LOGGER_T m_logger; ///< Interface of the Logging-Facility
|
|
|
|
class Private;
|
|
/**
|
|
* The private d->pointer to not break BC when changing internals of this class
|
|
*/
|
|
Private *d = nullptr;
|
|
|
|
};
|
|
|
|
|
|
} // namespace SituationMap
|
|
|
|
//----------------------------------------------------------------------------
|
|
|