7 #include <boost/bind.hpp>
8 #include <boost/function.hpp>
37 const std::string&
name)
39 boost::shared_ptr<Action> sub_action = build_component_abstract_type<Action>(action_provider,
name);
std::string name(ComponentWrapper &self)
Signal & description(const std::string &desc)
sets the description of this signal
Signal & connect(const Signal::slot_type &subscriber)
connects to a subscribing slot
const std::string & name() const
Access the name of the component.
Signal & pretty_name(const std::string &name)
sets the pretty name of this signal
Helper class to register typeinfo and option type of a component This is mostly useful for abstract c...
Component & add_component(const boost::shared_ptr< Component > &subcomp)
Add the passed component as a subcomponent.
Top-level namespace for coolfluid.
Action(const std::string &name)
Component that executes an action. Implementation of the IAction interface as a component, exposing the execute function as a signal.
virtual void execute()=0
execute the action
virtual Action & create_action(const std::string &action_provider, const std::string &name)
Signal & regist_signal(const SignalID &sname)
Regist signal.
RegisterComponent< Action, LibCommon > register_action
Base class for defining CF components.
void signal_execute(common::SignalArgs &node)
signal to execute this action