Orocos Real-Time Toolkit
2.9.0
|
A repository which stores pointers to all shared connections within the process. More...
#include <rtt/internal/SharedConnection.hpp>
Public Types | |
typedef boost::shared_ptr< SharedConnectionRepository > | shared_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 () |
A repository which stores pointers to all shared connections within the process.
Definition at line 109 of file SharedConnection.hpp.
typedef std::string RTT::internal::SharedConnectionRepository::key_t |
Definition at line 114 of file SharedConnection.hpp.
typedef std::map<key_t, SharedConnectionBase*> RTT::internal::SharedConnectionRepository::Map |
Definition at line 115 of file SharedConnection.hpp.
typedef boost::shared_ptr<SharedConnectionRepository> RTT::internal::SharedConnectionRepository::shared_ptr |
Definition at line 112 of file SharedConnection.hpp.
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.
|
static |
Definition at line 116 of file SharedConnection.cpp.
Referenced by RTT::internal::SharedConnectionBase::SharedConnectionBase(), and RTT::internal::SharedConnectionBase::~SharedConnectionBase().
void SharedConnectionRepository::remove | ( | SharedConnectionBase * | connection | ) |
Definition at line 132 of file SharedConnection.cpp.