11#ifndef L16_SCRIPTEDPART_HPP
12#define L16_SCRIPTEDPART_HPP
35 void HandleReceive(
double aSimTime,
const Messages::InitialBase& aMessage)
override;
41 bool DecodeLabel(
const std::string& aLabelStr,
int& aLabel,
int& aSubLabel);
43 typedef std::pair<int, int> MessageLabel;
45 UtScript* mOnSendScript;
47 std::map<MessageLabel, UtScript*> mReceiveScripts;
ComputerPart(WsfScenario &aScenario, const std::string &aClassName="WsfProcessor")
Definition ComputerPart.cpp:41
Sends and receives link16 messages.
Definition ComputerProcessor.hpp:50
void HandleReceive(double aSimTime, const Messages::InitialBase &aMessage) override
Handle an incoming message.
Definition ScriptedPart.cpp:124
~ScriptedPart() override
Definition ScriptedPart.cpp:47
ComputerPart * Clone() const override
Definition ScriptedPart.cpp:50
bool ProcessInput(UtInput &aInput) override
Definition ScriptedPart.cpp:108
void HandleSend(double aSimTime) override
This method is called when the a slot is open.
Definition ScriptedPart.cpp:142
bool Initialize(double aSimTime, ComputerProcessor &aComputer) override
Definition ScriptedPart.cpp:56
ScriptedPart(WsfScenario &aScenario)
Definition ScriptedPart.cpp:35
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
This file should be included prior to defining a message. Currently there is a limit of 32 fields per...
Definition AllMessages.hpp:55