DUECA/DUSIME
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SubcontractorBase< Xbase > Struct Template Referenceabstract

Base subcontractor for the ConglomerateFactory. More...

#include <ConglomerateFactory.hxx>

Inheritance diagram for SubcontractorBase< Xbase >:
Inheritance graph
[legend]

Public Member Functions

virtual Xbase::ProductBase create (const typename Xbase::Key &key, const typename Xbase::SpecBase &spec)=0
 Only function to implement.
 
virtual void print (std::ostream &os)
 Print debug information to the given stream.
 

Detailed Description

template<typename Xbase>
struct SubcontractorBase< Xbase >

Base subcontractor for the ConglomerateFactory.

Member Function Documentation

◆ create()

template<typename Xbase >
virtual Xbase::ProductBase SubcontractorBase< Xbase >::create ( const typename Xbase::Key & key,
const typename Xbase::SpecBase & spec )
pure virtual

Only function to implement.

Return a pointer to an object

Parameters
keyType of object (useful for cascading
specSpecification
Returns
The product

Implemented in CFSubcontractor< Xbase, Derived, Conglomerate >.

◆ print()

template<typename Xbase >
virtual void SubcontractorBase< Xbase >::print ( std::ostream & os)
inlinevirtual

Print debug information to the given stream.

Parameters
osOutput stream

Reimplemented in CFSubcontractor< Xbase, Derived, Conglomerate >.


The documentation for this struct was generated from the following file: