Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Types | Public Member Functions | List of all members
OPrototype::Factory< T > Class Template Reference

#include <TYElement.h>

Inheritance diagram for OPrototype::Factory< T >:
Inheritance graph
[legend]
Collaboration diagram for OPrototype::Factory< T >:
Collaboration graph
[legend]

Public Types

typedef std::unique_ptr< T > ptr_type
 
- Public Types inherited from OPrototype::IOProtoFactory
typedef std::unique_ptr< IOProtoFactoryptr_type
 

Public Member Functions

ptr_type typed_make ()
 
virtual std::unique_ptr< OPrototypemake ()
 

Detailed Description

template<typename T>
class OPrototype::Factory< T >

Template implementation of the IOProtoFactory interface

make method creates a T object and returns a unique pointer to it

CAUTION: T must inherit from OPrototype

Definition at line 296 of file TYElement.h.

Member Typedef Documentation

◆ ptr_type

template<typename T >
typedef std::unique_ptr<T> OPrototype::Factory< T >::ptr_type

Definition at line 299 of file TYElement.h.

Member Function Documentation

◆ make()

template<typename T >
virtual std::unique_ptr<OPrototype> OPrototype::Factory< T >::make ( )
inlinevirtual

Implements OPrototype::IOProtoFactory.

Definition at line 307 of file TYElement.h.

Here is the call graph for this function:

◆ typed_make()

template<typename T >
ptr_type OPrototype::Factory< T >::typed_make ( )
inline

Definition at line 303 of file TYElement.h.

Here is the caller graph for this function:

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