WSF
WsfZoneObserver.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2020 Infoscitex, a DCS Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef WSFZONEOBSERVER_HPP
13#define WSFZONEOBSERVER_HPP
14
15#include "wsf_export.h"
16
17#include "UtCallback.hpp"
18#include "WsfZone.hpp"
19class WsfSimulation;
20
21namespace WsfObserver
22{
23using ZoneFillColorChangedCallback = UtCallbackListN<void(const WsfZone&)>;
24using ZoneLineColorChangedCallback = UtCallbackListN<void(const WsfZone&)>;
25
28} // namespace WsfObserver
29
40
41#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
The main controller for a simulation.
Definition WsfSimulation.hpp:109
Definition WsfZone.hpp:63
Observer definitions for cyber events.
Definition WsfAdvancedBehaviorObserver.hpp:22
UtCallbackListN< void(const WsfZone &)> ZoneFillColorChangedCallback
Definition WsfZoneObserver.hpp:23
WSF_EXPORT ZoneFillColorChangedCallback & ZoneFillColorChanged(const WsfSimulation *aSimulation)
WSF_EXPORT ZoneLineColorChangedCallback & ZoneLineColorChanged(const WsfSimulation *aSimulation)
UtCallbackListN< void(const WsfZone &)> ZoneLineColorChangedCallback
Definition WsfZoneObserver.hpp:24
Definition WsfZoneObserver.hpp:33
WsfObserver::ZoneFillColorChangedCallback ZoneFillColorChanged
Provide a callback to query the zone fill color whenever it is changed.
Definition WsfZoneObserver.hpp:35
WsfObserver::ZoneLineColorChangedCallback ZoneLineColorChanged
Provide a callback to query the zone line color whenever it is changed.
Definition WsfZoneObserver.hpp:38
Copyrights Multiple, All Rights Reserved