12#ifndef WSFSIMPLECOMPONENT_HPP
13#define WSFSIMPLECOMPONENT_HPP
15#include "wsf_export.h"
31template<
typename COMPONENT_TYPE>
34 static_assert(std::is_base_of<WsfComponent, COMPONENT_TYPE>::value,
35 "Template argument to WsfSimpleComponentT must be a subclass of WsfComponent");
37 using ComponentType = COMPONENT_TYPE;
121template<
class PARENT_TYPE>
WsfSimpleComponentT< WsfComponentT< PARENT_TYPE > > WsfSimpleComponentParentT
Definition WsfSimpleComponent.hpp:122
WsfSimpleComponentT< WsfPlatformComponent > WsfSimplePlatformComponent
Definition WsfSimpleComponent.hpp:126
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
WsfComponentT & operator=(const WsfComponentT &) noexcept
Definition WsfComponent.hpp:134
WsfStringId GetNameId() const
Definition WsfNamed.hpp:36
WsfNamed()
Definition WsfNamed.cpp:17
WsfNamed & operator=(const WsfNamed &)=default
Definition WsfSimpleComponent.hpp:33
const int * GetComponentRoles() const override
Definition WsfSimpleComponent.hpp:112
WsfSimpleComponentT(int aRole, WsfStringId aName)
Definition WsfSimpleComponent.hpp:46
WsfSimpleComponentT(int aRole)
Definition WsfSimpleComponent.hpp:58
WsfSimpleComponentT(const WsfSimpleComponentT &aSrc)
Definition WsfSimpleComponent.hpp:76
WsfSimpleComponentT()=default
Empty constructor for serialization.
WsfSimpleComponentT & operator=(const WsfSimpleComponentT &aRhs)
Definition WsfSimpleComponent.hpp:84
WsfSimpleComponentT(WsfStringId aName)
Definition WsfSimpleComponent.hpp:68
WsfStringId GetComponentName() const override
Definition WsfSimpleComponent.hpp:111
~WsfSimpleComponentT() override=default
int mRoles[2]
Definition WsfSimpleComponent.hpp:116