|
LuciadCPillar 2025.0.07
|
Event that indicates that some property of the map has changed. More...
#include <luciad/maps/Map.h>
Public Member Functions | |
| MapEvent (std::shared_ptr< Map > map, std::string changedProperty) | |
| Creates a new map event for the given map and changed property. More... | |
| const std::string & | getChangedProperty () const |
| Returns the name of the property that changed. More... | |
| const std::shared_ptr< Map > & | getMap () const |
| Returns the map. More... | |
Event that indicates that some property of the map has changed.
| luciad::MapEvent::MapEvent | ( | std::shared_ptr< Map > | map, |
| std::string | changedProperty | ||
| ) |
Creates a new map event for the given map and changed property.
| map | the Map from which the event originates |
| changedProperty | the changed property |
| const std::string & luciad::MapEvent::getChangedProperty | ( | ) | const |
Returns the name of the property that changed.
Possible values are defined on the Map class. Examples are Map::propertyBackgroundColor and Map::propertyCamera.
| const std::shared_ptr< Map > & luciad::MapEvent::getMap | ( | ) | const |
Returns the map.