12#ifndef WSFCOMMSLOTGROUPLAYERJTIDS_HPP
13#define WSFCOMMSLOTGROUPLAYERJTIDS_HPP
18#include "UtCallback.hpp"
19#include "UtCallbackHolder.hpp"
50 bool Receive(
double aSimTime,
Comm* aXmtrPtr,
Message& aMessage,
bool& aNotifyNextLayer)
override;
51 bool Send(
double aSimTime,
size_t aLayerIndex,
Message& aMessage,
bool& aNotifyNextLayer)
override;
96 double mSecondsPerSlot;
109 double mLastReceiveTime;
111 std::vector<WsfJTIDS_SlotGroup*> mSlotGroups;
112 std::map<WsfStringId, WsfStringId> mCmdChainToGroup;
114 UtCallbackHolder mCallbacks;
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
Definition WsfCommandChain.hpp:36
Definition WsfJTIDS_SlotGroup.hpp:48
A base class for messages sent among simulation communication objects, processors and sensors.
Definition WsfMessage.hpp:33
Definition WsfComm.hpp:43
A base class defining the interface for the implementation classes. (Implementor).
Definition WsfCommLayer.hpp:127
Definition WsfCommMessage.hpp:51
bool Receive(double aSimTime, Comm *aXmtrPtr, Message &aMessage, bool &aNotifyNextLayer) override
Definition WsfCommSlotGroupLayerJTIDS.cpp:191
int GetSlotsPerFrame() const
Return the number of slots in a frame (slots/set * sets/frame).
Definition WsfCommSlotGroupLayerJTIDS.hpp:73
double GetSecondsPerSlot() const
Return the number of seconds in a slot.
Definition WsfCommSlotGroupLayerJTIDS.hpp:67
~SlotGroupLayerJTIDS() override
Definition WsfCommSlotGroupLayerJTIDS.cpp:45
int GetSlotsPerSet() const
Return the number of slots per set.
Definition WsfCommSlotGroupLayerJTIDS.hpp:76
int GetSetsPerFrame() const
Return the number of sets per frame.
Definition WsfCommSlotGroupLayerJTIDS.hpp:70
void TurnOff(double aSimTime)
Definition WsfCommSlotGroupLayerJTIDS.cpp:264
bool ProcessInput(UtInput &aInput) override
Definition WsfCommSlotGroupLayerJTIDS.cpp:89
bool ProcessLayerMessage(double aSimTime, layer::Message aMessage, Message *aCommMessagePtr) override
Process a layer event.
Definition WsfCommSlotGroupLayerJTIDS.cpp:256
bool Send(double aSimTime, size_t aLayerIndex, Message &aMessage, bool &aNotifyNextLayer) override
Definition WsfCommSlotGroupLayerJTIDS.cpp:221
bool Initialize(double aSimTime) override
Definition WsfCommSlotGroupLayerJTIDS.cpp:61
UtCallbackListN< void(double, const WsfMessage *, int, WsfJTIDS_SlotGroup *)> MessageSent
Definition WsfCommSlotGroupLayerJTIDS.hpp:80
WsfJTIDS_SlotGroup * FindGroup(WsfStringId aGroupId)
Definition WsfCommSlotGroupLayerJTIDS.cpp:276
int GetBitsPerSlot() const
Return the number of bits per slot at standard packing.
Definition WsfCommSlotGroupLayerJTIDS.hpp:64
SlotGroupLayerJTIDS()
Definition WsfCommSlotGroupLayerJTIDS.cpp:33
wsf::comm::LayerImp * Clone() const override
Definition WsfCommSlotGroupLayerJTIDS.cpp:55
Definition WsfCommLayerMessage.hpp:36
Definition WsfComm.cpp:34
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32