Builder component of Component type objects. Contains setter methods to configure the Component type parameters, and a build
method that builds the object.
More...
Inherits ObjectPtr< IComponentTypeBuilder >.
Builder component of Component type objects. Contains setter methods to configure the Component type parameters, and a build
method that builds the object.
Depending on the set "Type" builder parameter, a different Component type is created - eg. Streaming type, Device type, Function block type, or Server type
|
daq::ComponentTypePtr | build () const |
| Builds and returns a Component type object using the currently set values of the Builder. More...
|
|
ComponentTypeBuilderPtr | setId (const daq::StringPtr &id) const |
| Sets the unique component type id. More...
|
|
daq::StringPtr | getId () const |
| Gets the unique component type id. More...
|
|
ComponentTypeBuilderPtr | setTypeSort (daq::ComponentTypeSort sort) const |
| Sets the component type sort. Can be either Streaming, Function block, Device, or Server. Depending on the setting, the corresponding Component type object will be built. More...
|
|
daq::ComponentTypeSort | getTypeSort () const |
| Gets the component type sort. Can be either Streaming, Function block, Device, or Server. Depending on the setting, the corresponding Component type object will be built. More...
|
|
ComponentTypeBuilderPtr | setName (const daq::StringPtr &name) const |
| Sets the user-friendly name of a component type. More...
|
|
daq::StringPtr | getName () const |
| Gets the user-friendly name of a component type. More...
|
|
ComponentTypeBuilderPtr | setDescription (const daq::StringPtr &description) const |
| Sets the description of a component type. More...
|
|
daq::StringPtr | getDescription () const |
| Gets the description of a component type. More...
|
|
ComponentTypeBuilderPtr | setDefaultConfig (const daq::PropertyObjectPtr &defaultConfig) const |
| Sets the default configuration object that will be cloned and passed to users by the built Component type when requested. More...
|
|
daq::PropertyObjectPtr | getDefaultConfig () const |
| Gets the default configuration object that will be cloned and passed to users by the built Component type when requested. More...
|
|
daq::ComponentTypePtr build |
( |
| ) |
const |
|
inline |
Builds and returns a Component type object using the currently set values of the Builder.
- Returns
- The built Component type.
Depending on the set "sort" builder parameter, a different Component type is created - eg. Streaming type, Device type, Function block type, or Server type