MachineIntelligenceCore:Toolchain
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
mic::application::TemplateFactory< AppType > Class Template Reference

Template class used for generation of concrete object factories. This enables that each application has an equivalent factory class that provides a Create virtual -. More...

#include <ApplicationFactory.hpp>

Inheritance diagram for mic::application::TemplateFactory< AppType >:
Collaboration diagram for mic::application::TemplateFactory< AppType >:

Public Member Functions

mic::application::Applicationcreate (std::string app_name_)
 
- Public Member Functions inherited from mic::application::FactoryInterface
virtual ~FactoryInterface ()
 

Detailed Description

template<class AppType>
class mic::application::TemplateFactory< AppType >

Template class used for generation of concrete object factories. This enables that each application has an equivalent factory class that provides a Create virtual -.

Author
tkornuta
Template Parameters
AppTypeTemplate parameter denoting the application type.

Definition at line 71 of file ApplicationFactory.hpp.

Member Function Documentation

template<class AppType >
mic::application::Application* mic::application::TemplateFactory< AppType >::create ( std::string  app_name_)
inlinevirtual

Method responsible for run time specified object creation.

Parameters
app_name_Name of the application.
Returns
Application of a given, template type.

Implements mic::application::FactoryInterface.

Definition at line 78 of file ApplicationFactory.hpp.


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