12#ifndef WSFUCI_COMPONENT_HPP
13#define WSFUCI_COMPONENT_HPP
15#include "wsf_oms_uci_export.h"
19#include "uci/base/Accessor.h"
20#include "uci/base/UUID.h"
21#include "uci/factory/CapabilityID_TypeFactory.h"
22#include "uci/type/MessageStateEnum.h"
23#include "uci/type/DateTimeType.h"
24#include "uci/type/MessageType.h"
102 bool mIsInitialized{
false };
103 bool mIsRegistered {
false };
104 UCI_Interface* mUCI_InterfacePtr =
nullptr;
#define WSF_DECLARE_COMPONENT_ROLE_TYPE(TYPE, ROLE)
Definition WsfComponentRoles.hpp:44
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
ParentType * GetComponentParent() const
Definition WsfComponent.hpp:154
A base class for messages sent among simulation communication objects, processors and sensors.
Definition WsfMessage.hpp:33
WsfStringId GetNameId() const
Definition WsfObject.hpp:66
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
The main controller for a simulation.
Definition WsfSimulation.hpp:109
Definition WsfUCI_Component.hpp:42
virtual void ReceiveUCI_Message(const uci::type::MessageType *aMessagePtr)
Definition WsfUCI_Component.hpp:86
virtual ~UCI_Component()
Definition WsfUCI_Component.cpp:42
std::string mSubsystemUUID
Definition WsfUCI_Component.hpp:98
bool RegisterWithInterface(double aSimTime)
Definition WsfUCI_Component.cpp:94
bool Initialize2(double aSimTime) override
Definition WsfUCI_Component.cpp:145
bool IsActive()
Is this interface active (i.e., it has a valid corresponding UCI interface; otherwise it does nothing...
Definition WsfUCI_Component.hpp:76
double GetUpdateInterval() const override
Definition WsfUCI_Component.cpp:48
virtual bool InjectConditionally(double aSimTime, WsfPlatform &aPlatform)
Definition WsfUCI_Component.hpp:69
const int * GetComponentRoles() const override
Definition WsfUCI_Component.cpp:68
WsfSimulation & GetSimulation() const
Convenience Methods.
Definition WsfUCI_Component.hpp:92
void SetUpdateInterval(double aUpdateInterval) override
Definition WsfUCI_Component.cpp:53
bool CanHandleMessage() const
Definition WsfUCI_Component.hpp:95
virtual std::set< std::string > GetCapabilityUUIDs() const
Definition WsfUCI_Component.hpp:61
static const int cWSF_COMPONENT_UCI
Definition WsfUCI_Component.hpp:48
void RegisterCapabilitiesWithInterface()
Definition WsfUCI_Component.cpp:124
UCI_Interface * GetInterface()
Definition WsfUCI_Component.cpp:59
UCI_Component(const WsfScenario &aScenario, int aPartType)
Definition WsfUCI_Component.cpp:28
void * QueryInterface(int aRole) override
Definition WsfUCI_Component.cpp:78
bool ProcessInput(UtInput &aInput) override
Definition WsfUCI_Component.cpp:151
void DeregisterCapabilitiesWithInterface()
Definition WsfUCI_Component.cpp:134
std::string mSubsystemLabel
Definition WsfUCI_Component.hpp:99
WsfStringId GetComponentName() const override
Definition WsfUCI_Component.hpp:65
void DeregisterWithInterface()
Definition WsfUCI_Component.cpp:111
The OMS / UCI Interface Object to the UCI middleware.
Definition WsfUCI_Interface.hpp:118
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32