ConnectionID_impl Class Reference

#include <ConnectionID.h>

Collaboration diagram for ConnectionID_impl:

Collaboration graph
[legend]

List of all members.

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_)
GizzardgetProviderGizzard ()
GizzardgetUserGizzard ()
::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
Gizzardp
Gizzardu
::ccafeopq::TypeMap_shared tm
::ccafeopq::Port * pp


Detailed Description

Implementation of ccafeopq ConnectionID_Interface and support for definition of ConnectionID_ptr.

Constructor & Destructor Documentation

virtual ConnectionID_impl::~ConnectionID_impl (  )  [virtual]

required destructor


Member Function Documentation

virtual ::ccafeopq::ComponentID_shared ConnectionID_impl::getUser (  )  throw ( ::ccafeopq::Exception )

Recall that ComponentID is also a shared_ptr type.

Exceptions:
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?


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

Generated on Tue Apr 28 03:12:54 2009 for CCAFFEINE by  doxygen 1.5.5