19#include "UtCallback.hpp"
20#include "UtCallbackHolder.hpp"
73 bool IsGlobal()
const {
return mParentPlatformName ==
"Global Zones"; }
82 void OnProxyModified(
const ProxyChange& aProxyChange);
84 std::string mZoneSetName;
86 std::string mParentPlatformName;
90 std::vector<std::unique_ptr<Zone>> mSubzones;
92 UtCallbackHolder mProxyCallbacks;
93 UtCallback* mUpdateCallbackPtr{
nullptr};
#define VI_EXPORT
Definition ViExport.hpp:38
Definition WsfPM_Zone.hpp:57
Records a change to proxy data.
Definition ProxyChange.hpp:21
std::string GetZoneSetName() const
Returns the name of the zone/zone set.
Definition ZoneSet.hpp:64
ZoneSet(const ZoneSet &aRhs)=delete
bool IsGlobal() const
Returns whether this zone/zone set is defined globally (i.e., not on a platform).
Definition ZoneSet.hpp:73
WsfPM_Zone GetZoneSetNode() const
Returns the node corresponding to this zone/zone set.
Definition ZoneSet.hpp:70
void RemoveZoneSet()
Visually removes the zone from the map display.
Definition ZoneSet.cpp:164
std::string GetParentPlatformName() const
Returns the name of the parent platform of this zone/zone set.
Definition ZoneSet.hpp:67
Zone * GetZoneByAttachment(const wkf::AttachmentZone *aAttachmentZone) const
Definition ZoneSet.cpp:203
std::vector< Zone * > GetZonesWithReferencePlatform(const std::string &aRefPlatName) const
Definition ZoneSet.cpp:188
void UpdateZoneSet(const WsfPM_Zone &aZone)
Definition ZoneSet.cpp:157
bool SubzoneReferencesPlatform(const std::string &aRefPlatName) const
Definition ZoneSet.cpp:175
Definition lib/source/map/Zone.hpp:41
Definition ActionManager.hpp:28