WSF
WsfSpaceObserver.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 2016 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 WSFSPACEOBSERVER_HPP
13#define WSFSPACEOBSERVER_HPP
14
15#include "wsf_space_export.h"
16
17#include "UtCallback.hpp"
19class WsfOrbitalEvent;
20class UtOrbitalPropagatorBase;
21class WsfLocalTrack;
22class WsfPlatform;
23class WsfSimulation;
26
27namespace WsfObserver
28{
29using EclipseEntryCallback = UtCallbackListN<void(double, WsfSpaceMoverBase*)>;
30using EclipseExitCallback = UtCallbackListN<void(double, WsfSpaceMoverBase*)>;
31using OrbitColorChangedCallback = UtCallbackListN<void(double, WsfSpaceMoverBase*)>;
33 UtCallbackListN<void(double, WsfPlatform*, const WsfLocalTrack&, const UtOrbitalPropagatorBase&)>;
35 UtCallbackListN<void(double, WsfPlatform*, const WsfLocalTrack&, const UtOrbitalPropagatorBase&)>;
36using OrbitalManeuverInitiatedCallback = UtCallbackListN<void(double, WsfSpaceMoverBase*, const WsfOrbitalEvent&)>;
37using OrbitalManeuverUpdatedCallback = UtCallbackListN<void(double, WsfSpaceMoverBase*, const WsfOrbitalEvent&)>;
38using OrbitalManeuverCanceledCallback = UtCallbackListN<void(double, WsfSpaceMoverBase*, const WsfOrbitalEvent&)>;
39using OrbitalManeuverCompletedCallback = UtCallbackListN<void(double, WsfSpaceMoverBase*, const WsfOrbitalEvent&)>;
40using StagingOperationPerformedCallback = UtCallbackListN<void(double, const WsfOrbitalManeuvering&)>;
41
42WSF_SPACE_EXPORT EclipseEntryCallback& EclipseEntry(const WsfSimulation* aSimulationPtr);
43WSF_SPACE_EXPORT EclipseExitCallback& EclipseExit(const WsfSimulation* aSimulationPtr);
44WSF_SPACE_EXPORT OrbitColorChangedCallback& OrbitColorChanged(const WsfSimulation* aSimulationPtr);
52} // namespace WsfObserver
53
103
104#endif
Definition WsfLocalTrack.hpp:32
Definition WsfOrbitalEvent.hpp:50
Definition WsfOrbitalManeuvering.hpp:30
Platforms represent a entity within the simulation.
Definition WsfPlatform.hpp:115
WsfSimulationExtension()
Definition WsfSimulationExtension.cpp:23
The main controller for a simulation.
Definition WsfSimulation.hpp:109
Definition WsfSpaceMoverBase.hpp:70
Definition WsfSpaceObserver.hpp:57
WsfObserver::StagingOperationPerformedCallback StagingOperationPerformed
Definition WsfSpaceObserver.hpp:101
WsfObserver::EclipseEntryCallback EclipseEntry
Definition WsfSpaceObserver.hpp:59
WsfObserver::OrbitalManeuverInitiatedCallback OrbitalManeuverInitiated
Definition WsfSpaceObserver.hpp:75
WsfObserver::OrbitalManeuverCompletedCallback OrbitalManeuverCompleted
Definition WsfSpaceObserver.hpp:95
WsfObserver::OrbitalManeuverCanceledCallback OrbitalManeuverCanceled
Definition WsfSpaceObserver.hpp:89
WsfObserver::EclipseExitCallback EclipseExit
Definition WsfSpaceObserver.hpp:61
WsfObserver::OrbitalManeuverUpdatedCallback OrbitalManeuverUpdated
Definition WsfSpaceObserver.hpp:82
WsfObserver::OrbitColorChangedCallback OrbitColorChanged
Definition WsfSpaceObserver.hpp:63
WsfObserver::OrbitDeterminationUpdatedCallback OrbitDeterminationUpdated
Orbit determination fusion has updated the orbit for an object previously identified with initial orb...
Definition WsfSpaceObserver.hpp:69
WsfObserver::OrbitDeterminationInitiatedCallback OrbitDeterminationInitiated
Orbit determination fusion has found an initial orbit for a previously unknown object.
Definition WsfSpaceObserver.hpp:66
Observer definitions for cyber events.
Definition WsfAdvancedBehaviorObserver.hpp:22
WSF_SPACE_EXPORT OrbitColorChangedCallback & OrbitColorChanged(const WsfSimulation *aSimulationPtr)
WSF_SPACE_EXPORT OrbitalManeuverCanceledCallback & OrbitalManeuverCanceled(const WsfSimulation *aSimulationPtr)
UtCallbackListN< void(double, WsfSpaceMoverBase *, const WsfOrbitalEvent &)> OrbitalManeuverInitiatedCallback
Definition WsfSpaceObserver.hpp:36
WSF_SPACE_EXPORT OrbitalManeuverInitiatedCallback & OrbitalManeuverInitiated(const WsfSimulation *aSimulationPtr)
WSF_SPACE_EXPORT OrbitDeterminationUpdatedCallback & OrbitDeterminationUpdated(const WsfSimulation *aSimulationPtr)
UtCallbackListN< void(double, WsfSpaceMoverBase *)> EclipseExitCallback
Definition WsfSpaceObserver.hpp:30
WSF_SPACE_EXPORT OrbitDeterminationInitiatedCallback & OrbitDeterminationInitiated(const WsfSimulation *aSimulationPtr)
WSF_SPACE_EXPORT OrbitalManeuverUpdatedCallback & OrbitalManeuverUpdated(const WsfSimulation *aSimulationPtr)
UtCallbackListN< void(double, const WsfOrbitalManeuvering &)> StagingOperationPerformedCallback
Definition WsfSpaceObserver.hpp:40
UtCallbackListN< void(double, WsfSpaceMoverBase *, const WsfOrbitalEvent &)> OrbitalManeuverCompletedCallback
Definition WsfSpaceObserver.hpp:39
UtCallbackListN< void(double, WsfSpaceMoverBase *, const WsfOrbitalEvent &)> OrbitalManeuverCanceledCallback
Definition WsfSpaceObserver.hpp:38
UtCallbackListN< void(double, WsfSpaceMoverBase *)> OrbitColorChangedCallback
Definition WsfSpaceObserver.hpp:31
WSF_SPACE_EXPORT EclipseExitCallback & EclipseExit(const WsfSimulation *aSimulationPtr)
WSF_SPACE_EXPORT StagingOperationPerformedCallback & StagingOperationPerformed(const WsfSimulation *aSimulationPtr)
UtCallbackListN< void(double, WsfSpaceMoverBase *, const WsfOrbitalEvent &)> OrbitalManeuverUpdatedCallback
Definition WsfSpaceObserver.hpp:37
UtCallbackListN< void(double, WsfPlatform *, const WsfLocalTrack &, const UtOrbitalPropagatorBase &)> OrbitDeterminationUpdatedCallback
Definition WsfSpaceObserver.hpp:34
WSF_SPACE_EXPORT OrbitalManeuverCompletedCallback & OrbitalManeuverCompleted(const WsfSimulation *aSimulationPtr)
UtCallbackListN< void(double, WsfSpaceMoverBase *)> EclipseEntryCallback
Definition WsfSpaceObserver.hpp:29
UtCallbackListN< void(double, WsfPlatform *, const WsfLocalTrack &, const UtOrbitalPropagatorBase &)> OrbitDeterminationInitiatedCallback
Definition WsfSpaceObserver.hpp:32
WSF_SPACE_EXPORT EclipseEntryCallback & EclipseEntry(const WsfSimulation *aSimulationPtr)
Copyrights Multiple, All Rights Reserved