www.mooseframework.org
Classes | Typedefs | Functions
ActionFactory.h File Reference

Go to the source code of this file.

Classes

class  ActionFactory
 Specialized factory for generic Action System objects. More...
 
class  ActionFactory::BuildInfo
 

Typedefs

typedef std::shared_ptr< Action >(* buildActionPtr) (InputParameters parameters)
 Typedef for function to build objects. More...
 
typedef InputParameters(* paramsActionPtr) ()
 Typedef for validParams. More...
 

Functions

template<class T >
std::shared_ptr< ActionbuildAction (InputParameters parameters)
 Build an object of type T. More...
 

Typedef Documentation

typedef std::shared_ptr<Action>(* buildActionPtr) (InputParameters parameters)

Typedef for function to build objects.

Definition at line 50 of file ActionFactory.h.

typedef InputParameters(* paramsActionPtr) ()

Typedef for validParams.

Definition at line 55 of file ActionFactory.h.

Function Documentation

template<class T >
std::shared_ptr<Action> buildAction ( InputParameters  parameters)

Build an object of type T.

Definition at line 62 of file ActionFactory.h.

63 {
64  return std::shared_ptr<Action>(new T(parameters));
65 }