8#include "Arp/Base/Core/ArpVersion.hpp"
9#include "Arp/Base/Acf/Commons/ComponentCategory.hpp"
10#include "Arp/Base/Acf/Commons/ComponentInfoKind.hpp"
12namespace Arp::Base::Acf::Commons
18class IControllerComponent;
83 using Ptr = std::shared_ptr<IComponent>;
This class provides some system functionality and infos.
Definition: Application.hpp:17
This is the most important basic interface of the Arp platform. Any component shall implement this in...
Definition: IComponent.hpp:79
virtual void Initialize(void)=0
Initializes this component: creates singletons, makes any registrations, creates any resources not de...
virtual uint32 GetStartOrder(void) const =0
Gets the start order of this component.
virtual ComponentCategory GetComponentCategory(void) const =0
Gets the ComponentCategory of this component.
virtual void Dispose(void)=0
Disposes this component.
virtual void PowerDown(void)=0
This operation is called on a power breakdown event and executes component specific actions when powe...
virtual void PublishServices(void)=0
Publishes components services.
virtual bool IsRequired(void) const =0
Determines if this component is required.
virtual void LoadConfig(void)=0
Loads components project configuration.
IComponent(const IComponent &arg)=delete
The copy constructor is deleted.
virtual void LoadSettings(const String &settingsPath)=0
Loads components firmware settings.
IComponent(void)=default
The default constructor.
virtual String GetFullName(void) const =0
Gets the full qualified name of this component
virtual ~IComponent(void)=default
The virtual default destructor.
virtual void SetupSettings(void)=0
Sets up components settings which were loaded in LoadSettings.
IComponent & operator=(const IComponent &arg)=delete
The copy assignment operator is deleted.
virtual void SubscribeServices(void)=0
Subscribes services required by this component.
IComponent & operator=(IComponent &&arg) noexcept=default
The move assignment operator.
virtual Application & GetApplication(void) const =0
Gets the application instance of the actual process which loaded this component.
virtual void ResetConfig(void)=0
Resets components project configuration.
virtual void SetupConfig(void)=0
Sets up components configuration which was loaded in LoadConfig.
IComponent(IComponent &&arg) noexcept=default
The move constructor.
virtual ILibrary & GetLibrary(void) const =0
Gets the library instance of this component.
virtual String GetComponentInfoItem(ComponentInfoKind kind) const =0
Gets additional information about the component
std::shared_ptr< IComponent > Ptr
The pointer type of this interface.
Definition: IComponent.hpp:83
Any Acf Library shall implement this interface.
Definition: ILibrary.hpp:20
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:33
This is the namespace of the Application Component Framework.
Definition: ComponentBase.hpp:72