12#ifndef WSFCOMMEVENT_HPP
13#define WSFCOMMEVENT_HPP
15#include "wsf_export.h"
47 size_t mXmtrPlatformIndex;
51 size_t mRcvrPlatformIndex;
66 double mLastStatusChangeTime;
76 GenericEvent(
double aSimTime,
const std::shared_ptr<T>& aContextPtr,
const std::function<
void()>& aFunc)
78 , mContextPtr{aContextPtr}
86 if (!mContextPtr.expired())
94 std::weak_ptr<T> mContextPtr;
95 std::function<void()> mFunction;
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
EventDisposition
Definition WsfEvent.hpp:37
@ cDELETE
Delete the event from the event queue.
Definition WsfEvent.hpp:38
Definition WsfComm.hpp:43
static void ScheduleDeliverMessageEvent(double aSimTime, Comm *aXmtrPtr, Comm *aRcvrPtr, Message *aCommMessagePtr)
Definition WsfCommEvent.cpp:80
Event(double aSimTime, Comm *aXmtrPtr)
Definition WsfCommEvent.cpp:34
EventDisposition Execute() override
Definition WsfCommEvent.cpp:55
GenericEvent(double aSimTime, const std::shared_ptr< T > &aContextPtr, const std::function< void()> &aFunc)
Definition WsfCommEvent.hpp:76
EventDisposition Execute() override
Definition WsfCommEvent.hpp:84
~GenericEvent() override=default
Definition WsfCommMessage.hpp:51
Definition WsfComm.cpp:34
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32