COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Types | Public Member Functions | Private Attributes | List of all members
ComponentWrapper< ComponentT, TagT > Class Template Reference

Proto-ready terminal type for wrapping a component. More...

#include <ComponentWrapper.hpp>

Inherits extends< boost::proto::literal< ComponentWrapperImpl< ComponentT, TagT > & >, ComponentWrapper< ComponentT, TagT > >.

Public Types

typedef boost::proto::extends< boost::proto::literal< ComponentWrapperImpl< ComponentT, TagT > & >, ComponentWrapper< ComponentT, TagT > > base_type
 

Public Member Functions

 ComponentWrapper (ComponentT &component)
 
 ComponentWrapper (common::Option &component_option)
 Construction using an option that will point to the actual component. More...
 

Private Attributes

ComponentWrapperImpl< ComponentT, TagT > m_component_wrapper
 Points to the wrapped component, if any. More...
 

Detailed Description

template<typename ComponentT, typename TagT>
class cf3::solver::actions::Proto::ComponentWrapper< ComponentT, TagT >

Proto-ready terminal type for wrapping a component.

Definition at line 75 of file ComponentWrapper.hpp.

Member Typedef Documentation

typedef boost::proto::extends< boost::proto::literal< ComponentWrapperImpl<ComponentT, TagT>& >, ComponentWrapper<ComponentT, TagT> > base_type

Definition at line 80 of file ComponentWrapper.hpp.

Constructor & Destructor Documentation

ComponentWrapper ( ComponentT &  component)
inline

Construction using references to the actual component (mainly useful in utests or other non-dynamic code) Using this constructor does not use dynamic configuration through options

Definition at line 84 of file ComponentWrapper.hpp.

ComponentWrapper ( common::Option component_option)
inline

Construction using an option that will point to the actual component.

Definition at line 91 of file ComponentWrapper.hpp.

Member Data Documentation

ComponentWrapperImpl<ComponentT, TagT> m_component_wrapper
private

Points to the wrapped component, if any.

Definition at line 99 of file ComponentWrapper.hpp.


The documentation for this class was generated from the following file:
Send comments to:
COOLFluiD Web Admin