ComponentDescriptionDTO¶
-
struct
cppmicroservices::service::component::runtime::dto::ComponentDescriptionDTO¶ - #include <cppmicroservices/servicecomponent/runtime/dto/ComponentDescriptionDTO.hpp>
A representation of a declared component description.
Public Members
-
std::string
name¶ The name of the component.
This is declared in the
nameattribute of thecomponentelement. This must be the default name if the component description does not declare a name.
-
std::string
scope¶ The service scope.
This is declared in the
scopeattribute of theserviceelement. This must be empty string if the component description does not declare any service interfaces.
-
std::string
implementationClass¶ The fully qualified name of the implementation class.
This is declared in the
implementation-classelement.
-
bool
defaultEnabled¶ The initial enabled state.
This is declared in the
enabledattribute of thecomponentelement.
-
bool
immediate¶ The immediate state.
This is declared in the
immediateattribute of thecomponentelement.
-
std::vector<std::string>
serviceInterfaces¶ The fully qualified names of the service interfaces.
These are declared in the
interfaceattribute of theprovideelements. The vector must be empty if the component description does not declare any service interfaces.
-
std::unordered_map<std::string, cppmicroservices::Any>
properties¶ The declared component properties.
These are declared in the
propertyandpropertieselements.
-
std::vector<ReferenceDTO>
references¶ The referenced services.
These are declared in the
referenceelements. The vector must be empty if the component description does not declare references to any services.
-
std::string
activate¶ The name of the activate method.
This is declared in the
activateattribute of thecomponentelement. This must be the default value which is “Activate”, if the component description does not declare an activate method name.
-
std::string
deactivate¶ The name of the deactivate method.
This is declared in the
deactivateattribute of thecomponentelement. This must be the default value which is “Deactivate”, if the component description does not declare a deactivate method name.
-
std::string
modified¶ The name of the modified method.
This is declared in the
modifiedattribute of thecomponentelement. This must be the default value which is “Modified”, if the component description does not declare a modified method name.
-
std::string