|
CCAFFEINE
0.8.8
|
#include <ConnectionID.h>

Public Member Functions | |
| ConnectionID_impl (Gizzard *provider, const ::std::string &providerPortName, Gizzard *user, const ::std::string &userPortName,::ccafeopq::Port *pp_) | |
| ConnectionID_impl (Gizzard *user, const ::std::string &userPortName,::ccafeopq::Port *pp_) | |
| virtual | ~ConnectionID_impl () |
|
virtual ::ccafeopq::ComponentID_shared | getProvider () throw ( ::ccafeopq::Exception ) |
| virtual ::ccafeopq::ComponentID_shared | getUser () throw ( ::ccafeopq::Exception ) |
| virtual ::std::string | getProviderPortName () throw ( ::ccafeopq::Exception ) |
| virtual ::std::string | getUserPortName () throw ( ::ccafeopq::Exception ) |
| virtual bool | isSameAs (ConnectionID_ptr cp) |
| virtual bool | isSameAs (::ccafeopq::ConnectionID_shared &cp) |
| virtual int | isActive () |
| virtual int | isFrameworkConnection () |
| virtual ::ccafeopq::TypeMap_shared | getProperties () |
| virtual void | setProperties (::ccafeopq::TypeMap_shared tm_) |
| Gizzard * | getProviderGizzard () |
| Gizzard * | getUserGizzard () |
| ::ccafeopq::Port * | getCachedPort () |
Static Public Member Functions | |
| static int | indexOfConnection (const ::std::vector< ConnectionID_ptr > &conns, const ::std::string &upname, const ::std::string &ppname, Gizzard *userg, Gizzard *providerg) |
| static int | indexOfConnection (const ::std::vector< ConnectionID_ptr > &conns, ConnectionID_ptr c) |
Private Attributes | |
| bool | dead |
| bool | inUse |
| bool | selfConnection |
| ::std::string | pPortName |
| ::std::string | uPortName |
| Gizzard * | p |
| Gizzard * | u |
| ::ccafeopq::TypeMap_shared | tm |
| ::ccafeopq::Port * | pp |
Implementation of ccafeopq ConnectionID_Interface and support for definition of ConnectionID_ptr.
| virtual ConnectionID_impl::~ConnectionID_impl | ( | ) | [virtual] |
required destructor
| virtual ::ccafeopq::ComponentID_shared ConnectionID_impl::getUser | ( | ) | throw ( ::ccafeopq::Exception ) |
Recall that ComponentID is also a shared_ptr type.
| a | Exception if the underlying connection is no longer valid. |
| virtual int ConnectionID_impl::isActive | ( | ) | [virtual] |
Returns true if the connection is currently being used, i.e. the component has called getPort() but has not yet called releasePort().
| virtual int ConnectionID_impl::isFrameworkConnection | ( | ) | [virtual] |
Is this connected to the framework internally?
1.7.6.1