Orocos Real-Time Toolkit  2.9.0
Public Types | Public Member Functions | Static Public Member Functions | List of all members
RTT::internal::SharedConnectionRepository Class Reference

A repository which stores pointers to all shared connections within the process. More...

#include <rtt/internal/SharedConnection.hpp>

Public Types

typedef boost::shared_ptr< SharedConnectionRepositoryshared_ptr
 
typedef std::string key_t
 
typedef std::map< key_t, SharedConnectionBase * > Map
 

Public Member Functions

bool add (const key_t &key, SharedConnectionBase *connection)
 
void remove (SharedConnectionBase *connection)
 
bool has (const key_t &key) const
 
SharedConnectionBase::shared_ptr get (const key_t &key) const
 

Static Public Member Functions

static shared_ptr Instance ()
 

Detailed Description

A repository which stores pointers to all shared connections within the process.

Definition at line 109 of file SharedConnection.hpp.

Member Typedef Documentation

Definition at line 114 of file SharedConnection.hpp.

Definition at line 115 of file SharedConnection.hpp.

Definition at line 112 of file SharedConnection.hpp.

Member Function Documentation

bool SharedConnectionRepository::add ( const key_t key,
SharedConnectionBase connection 
)

Definition at line 124 of file SharedConnection.cpp.

SharedConnectionBase::shared_ptr SharedConnectionRepository::get ( const key_t key) const

Definition at line 152 of file SharedConnection.cpp.

bool SharedConnectionRepository::has ( const key_t key) const

Definition at line 146 of file SharedConnection.cpp.

SharedConnectionRepository::shared_ptr SharedConnectionRepository::Instance ( )
static
void SharedConnectionRepository::remove ( SharedConnectionBase connection)

Definition at line 132 of file SharedConnection.cpp.


The documentation for this class was generated from the following files: