COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
#include <SignalHandler.hpp>
Inherited by Component, EventHandler, NetworkThread, and ServerNetworkComm.
Public Types | |
typedef std::vector< SignalPtr > | storage_t |
storage type for signals More... | |
Public Member Functions | |
~SignalHandler () | |
const storage_t & | signal_list () const |
SignalPtr | signal (const SignalID &sname) |
SignalCPtr | signal (const SignalID &sname) const |
SignalRet | call_signal (const SignalID &sname, SignalArgs &sinput) |
Calls the signal by providing its name and input. More... | |
SignalRet | call_signal (const SignalID &sname, std::vector< std::string > &sinput) |
Calls the signal by providing its name and input. More... | |
bool | signal_exists (const SignalID &sname) const |
Checks if a signal exists or not. More... | |
Signal & | regist_signal (const SignalID &sname) |
Regist signal. More... | |
void | unregist_signal (const SignalID &sname) |
Unregist signal. More... | |
Public Attributes | |
storage_t | m_signals |
storage of the signals More... | |
SignalHandler executes calls received as string by issuing signals to the slots Slots may be:
Definition at line 41 of file SignalHandler.hpp.
storage type for signals
Definition at line 46 of file SignalHandler.hpp.
~SignalHandler | ( | ) |
Definition at line 36 of file SignalHandler.cpp.
SignalRet call_signal | ( | const SignalID & | sname, |
SignalArgs & | sinput | ||
) |
Calls the signal by providing its name and input.
Definition at line 49 of file SignalHandler.cpp.
Calls the signal by providing its name and input.
Definition at line 54 of file SignalHandler.cpp.
Regist signal.
Definition at line 90 of file SignalHandler.cpp.
Access to signal by providing its name
SignalError | if signal with name does not exist |
Definition at line 64 of file SignalHandler.cpp.
SignalCPtr signal | ( | const SignalID & | sname | ) | const |
Const access to a signal by providing its name
SignalError | if signal with name does not exist |
Definition at line 73 of file SignalHandler.cpp.
bool signal_exists | ( | const SignalID & | sname | ) | const |
Checks if a signal exists or not.
Definition at line 83 of file SignalHandler.cpp.
const SignalHandler::storage_t & signal_list | ( | ) | const |
Definition at line 44 of file SignalHandler.cpp.
void unregist_signal | ( | const SignalID & | sname | ) |
Unregist signal.
Definition at line 114 of file SignalHandler.cpp.
storage_t m_signals |
storage of the signals
Definition at line 81 of file SignalHandler.hpp.
Send comments to: COOLFluiD Web Admin |