WSF
WsfXIO_PlatformListService.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 WSFXIO_PLATFORMSERVICE_HPP
13#define WSFXIO_PLATFORMSERVICE_HPP
14
15#include "wsf_export.h"
16
17#include "GenUniqueId.hpp"
18class WsfPlatform;
19class WsfSimulation;
28
31{
32public:
34
35 void SubscriptionCancelled(WsfXIO_Subscription* aSubscriptionPtr) override;
36
37private:
38 void HandleRequest(WsfXIO_RequestPkt& aPkt);
39
40 void PlatformInitialized(double aSimTime, WsfPlatform* aPlatformPtr);
41
42 void PlatformDeleted(double aSimTime, WsfPlatform* aPlatformPtr);
43
44 bool CanSendPlatform(WsfPlatform& aPlatform);
45
46 WsfXIO_Simulation& mXIO_Simulation;
47 WsfSimulation& mSimulation;
48 WsfXIO_Destination mDestination;
49};
50
51#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Platforms represent a entity within the simulation.
Definition WsfPlatform.hpp:115
The main controller for a simulation.
Definition WsfSimulation.hpp:109
Definition WsfXIO_Destination.hpp:26
Definition WsfXIO_PlatformListRequest.hpp:24
WsfXIO_PlatformListService(WsfXIO_Simulation &aXIO_Simulation)
Definition WsfXIO_PlatformListService.cpp:25
Definition WsfXIO_PacketRegistry.hpp:195
A request for data from an application.
Definition WsfXIO_PacketRegistry.hpp:155
WsfXIO_Service(WsfXIO_Interface *aInterfacePtr)
Definition WsfXIO_Service.cpp:21
virtual void SubscriptionCancelled(WsfXIO_Subscription *aSubscriptionPtr)
Definition WsfXIO_Service.cpp:134
Definition WsfXIO_Simulation.hpp:49
A WsfXIO_Subscription wraps information about a remote request for information.
Definition WsfXIO_Subscription.hpp:30
Copyrights Multiple, All Rights Reserved