7#ifndef ARP_USE_ARP_SYSTEM_ACF_COMMONS
8#include "Arp/Base/Acf/Commons/IComponent.hpp"
9#include "Arp/Base/Acf/Commons/ILibrary.hpp"
16#include "Arp/Base/Core/ArpVersion.hpp"
17#include "Arp/System/Acf/ILibrary.hpp"
18#include "Arp/System/Acf/ComponentCategory.hpp"
22namespace Arp {
namespace System {
namespace Acf
27class IControllerComponent;
93 typedef std::shared_ptr<IComponent>
Ptr;
95 typedef std::map<String, IComponent::Ptr> Dictionary;
114 virtual ArpVersion GetVersion(
void)
const = 0;
127 virtual bool IsSingleton(
void)
const = 0;
141 virtual void LoadSettings(
const String& settingsPath) = 0;
166 virtual void Dispose(
void) = 0;
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.
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.
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.
virtual ILibrary & GetLibrary(void) const =0
Gets the library instance of this component.
std::shared_ptr< IComponent > Ptr
The pointer type of this interface.
Definition: IComponent.hpp:83
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
Root namespace for the PLCnext API