WSF
src
core
wsf
source
WsfSinglePlatformObserver.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 2003-2015 The Boeing 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 WSFSINGLEPLATFORMOBSERVER_HPP
13
#define WSFSINGLEPLATFORMOBSERVER_HPP
14
15
#include "wsf_export.h"
16
class
WsfPlatform
;
17
29
class
WSF_EXPORT
WsfSinglePlatformObserver
30
{
31
public
:
32
virtual
~WsfSinglePlatformObserver
() {}
33
35
virtual
void
OnPlatformDeleting
(
double
aSimTime,
WsfPlatform
* aPlatformPtr) {}
36
38
virtual
void
OnPlatformDeleted
(
double
aSimTime,
WsfPlatform
* aPlatformPtr) {}
39
41
virtual
void
OnPlatformUpdated
(
double
aSimTime,
WsfPlatform
* aPlatformPtr) {}
42
};
43
44
#endif
WSF_EXPORT
#define WSF_EXPORT
Definition
WsfXIO_Export.hpp:35
WsfPlatform
Platforms represent a entity within the simulation.
Definition
WsfPlatform.hpp:115
WsfSinglePlatformObserver
Definition
WsfSinglePlatformObserver.hpp:30
WsfSinglePlatformObserver::OnPlatformUpdated
virtual void OnPlatformUpdated(double aSimTime, WsfPlatform *aPlatformPtr)
Called after each mover update.
Definition
WsfSinglePlatformObserver.hpp:41
WsfSinglePlatformObserver::OnPlatformDeleting
virtual void OnPlatformDeleting(double aSimTime, WsfPlatform *aPlatformPtr)
Called before the platform is actually deleted.
Definition
WsfSinglePlatformObserver.hpp:35
WsfSinglePlatformObserver::OnPlatformDeleted
virtual void OnPlatformDeleted(double aSimTime, WsfPlatform *aPlatformPtr)
Called just before the platform is removed from the simulation.
Definition
WsfSinglePlatformObserver.hpp:38
WsfSinglePlatformObserver::~WsfSinglePlatformObserver
virtual ~WsfSinglePlatformObserver()
Definition
WsfSinglePlatformObserver.hpp:32
Copyrights Multiple, All Rights Reserved