COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Member Functions | Private Attributes | List of all members
Connection Class Reference

#include <Signal.hpp>

Inherits noncopyable.

Public Member Functions

 Connection (const std::string &cname)
 constructor with empty connection More...
 
 ~Connection ()
 destructor closes connection More...
 
std::string name () const
 
Connectionconnect (const Signal::connection_type &conn)
 
void disconnect ()
 

Private Attributes

boost::signals2::connection m_connection
 actual connection More...
 
std::string m_name
 connection name More...
 

Detailed Description

Automatic handling of connection closure using scoped_connection

Author
Tiago Quintino

Definition at line 134 of file Signal.hpp.

Constructor & Destructor Documentation

Connection ( const std::string &  cname)

constructor with empty connection

Definition at line 115 of file Signal.cpp.

~Connection ( )

destructor closes connection

Definition at line 117 of file Signal.cpp.

Member Function Documentation

Connection * connect ( const Signal::connection_type conn)

Definition at line 122 of file Signal.cpp.

void disconnect ( )

Definition at line 128 of file Signal.cpp.

std::string name ( ) const
inline

Definition at line 146 of file Signal.hpp.

Member Data Documentation

boost::signals2::connection m_connection
private

actual connection

Definition at line 136 of file Signal.hpp.

std::string m_name
private

connection name

Definition at line 138 of file Signal.hpp.


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