OpenMAMA C++ API
Wombat::MamaSymbolListMember Class Reference

The MamaSymbolListMember class represents the information about the symbol list member. More...

#include <MamaSymbolListMember.h>

Public Member Functions

 MamaSymbolListMember (MamaSymbolList *symbolList)
 Construct a symbol list member that can be added to the symbol list. More...
 
 MamaSymbolListMember (MamaSymbolList *list, mamaSymbolListMember cMember)
 Construct symbol list member that wraps the given C symbol list member. More...
 
virtual ~MamaSymbolListMember ()
 
const char * getSymbol () const
 Get the symbol name. More...
 
const char * getSource () const
 Get the source name. More...
 
MamaTransportgetTransport () const
 Get the MAMA transport. More...
 
MamaSymbolListgetSymbolList () const
 Get the MAMA symbol list to which this member belongs. More...
 
void * getClosure () const
 Get the closure argument. More...
 
void setClosure (void *closure)
 Set the closure argument. More...
 
void setSymbol (const char *symbol)
 Set the symbol name. More...
 
void setSource (const char *source)
 Set the source name. More...
 
void setTransport (MamaTransport *transport)
 Set the MAMA transport. More...
 
void setSymbolList (MamaSymbolList *symbolList)
 Set the MAMA symbol list to which this member belongs. More...
 

Protected Member Functions

mamaSymbolListMember getCimpl ()
 Get a handle to the underlying C implementation. More...
 

Friends

class MamaSymbolList
 

Detailed Description

The MamaSymbolListMember class represents the information about the symbol list member.

In addition to the symbols, it is also possible to obtain information about the "source" of the symbol and which MamaTransport it can be found on.

Constructor & Destructor Documentation

§ MamaSymbolListMember() [1/2]

Wombat::MamaSymbolListMember::MamaSymbolListMember ( MamaSymbolList symbolList)

Construct a symbol list member that can be added to the symbol list.

§ MamaSymbolListMember() [2/2]

Wombat::MamaSymbolListMember::MamaSymbolListMember ( MamaSymbolList list,
mamaSymbolListMember  cMember 
)

Construct symbol list member that wraps the given C symbol list member.

§ ~MamaSymbolListMember()

virtual Wombat::MamaSymbolListMember::~MamaSymbolListMember ( )
virtual

Member Function Documentation

§ getSymbol()

const char* Wombat::MamaSymbolListMember::getSymbol ( ) const

Get the symbol name.

§ getSource()

const char* Wombat::MamaSymbolListMember::getSource ( ) const

Get the source name.

§ getTransport()

MamaTransport* Wombat::MamaSymbolListMember::getTransport ( ) const

Get the MAMA transport.

§ getSymbolList()

MamaSymbolList* Wombat::MamaSymbolListMember::getSymbolList ( ) const

Get the MAMA symbol list to which this member belongs.

§ getClosure()

void* Wombat::MamaSymbolListMember::getClosure ( ) const

Get the closure argument.

§ setClosure()

void Wombat::MamaSymbolListMember::setClosure ( void *  closure)

Set the closure argument.

§ setSymbol()

void Wombat::MamaSymbolListMember::setSymbol ( const char *  symbol)

Set the symbol name.

§ setSource()

void Wombat::MamaSymbolListMember::setSource ( const char *  source)

Set the source name.

§ setTransport()

void Wombat::MamaSymbolListMember::setTransport ( MamaTransport transport)

Set the MAMA transport.

§ setSymbolList()

void Wombat::MamaSymbolListMember::setSymbolList ( MamaSymbolList symbolList)

Set the MAMA symbol list to which this member belongs.

§ getCimpl()

mamaSymbolListMember Wombat::MamaSymbolListMember::getCimpl ( )
protected

Get a handle to the underlying C implementation.

Friends And Related Function Documentation

§ MamaSymbolList

friend class MamaSymbolList
friend