CCAFFEINE  0.8.8
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
ProviderPortData Class Reference

#include <ProviderPortData.h>

List of all members.

Public Member Functions

 ProviderPortData ()
 ProviderPortData (::ccafeopq::Port *p, const ::std::string &name_, const ::std::string &type_,::ccafeopq::TypeMap_shared &tm_, int serial)
::ccafeopq::TypeMap_shared getProviderPortProperties ()
void setProviderPortProperties (::ccafeopq::TypeMap_shared tm_)
::std::string getPortName () const
::std::string getPortType () const
int getMaxConnections ()
int getMinConnections ()
int getNumberOfUsers ()
::std::string toString () const

Static Public Member Functions

static void initDefaultProperties (::ccafeopq::TypeMap_shared t, const std::string &name, const std::string &type)

Private Member Functions

::ccafeopq::Port * getPortInterface ()
void releasePortInterface ()
void shutdown ()

Private Attributes

::ccafeopq::Port * pp
::ccafeopq::TypeMap_shared tm
::std::string name
::std::string type
int serial
int numberOfUsers

Friends

class Gizzard

Detailed Description

container of provided port and all its related data. These should only exist inside the lists inside the gizzard, but they must follow stl copy semantics.


Constructor & Destructor Documentation

do not use, except for empty placeholder values in containers.

ProviderPortData::ProviderPortData ( ::ccafeopq::Port *  p,
const ::std::string &  name_,
const ::std::string &  type_,
::ccafeopq::TypeMap_shared &  tm_,
int  serial 
)

create a provides port record. the typemap pushed in must be already created, (and passed through initDefaultProperties) not just be an empty shared ptr. serial must be a unique int. tm_ is kept internally.


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