Connection< Lux > Class Template Reference

#include <LuxConnection.h>

Inheritance diagram for Connection< Lux >:

Inheritance graph
[legend]
Collaboration diagram for Connection< Lux >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef Lux ConnectionTag_t
typedef Connection< Lux > Connection_t

Public Member Functions

 Connection (const char *conname)
virtual ~Connection ()
LuxAppPointerlux ()
virtual bool connected () const
 Return whether we are connected properly right now.
void ready ()
void poll ()
virtual void close ()
 Completely close the connection and remove all connectors.
template<class T >
ConnectorBaseconnect (const char *cname, const T &obj, int mode=ConnectionBase::out)
template<class T1 , class T2 >
ConnectorBaseconnect (const char *cname, const T1 &obj1, const T2 &obj2, int mode)
virtual void interact (const char *=0)
 Allow for interaction with the connection.

template<>
class Connection< Lux >


Member Typedef Documentation

typedef Lux Connection< Lux >::ConnectionTag_t

typedef Connection<Lux> Connection< Lux >::Connection_t


Constructor & Destructor Documentation

Connection< Lux >::Connection ( const char *  conname  )  [inline]

virtual Connection< Lux >::~Connection (  )  [inline, virtual]


Member Function Documentation

LuxAppPointer& Connection< Lux >::lux (  )  [inline]

virtual bool Connection< Lux >::connected (  )  const [inline, virtual]

Return whether we are connected properly right now.

Reimplemented from ConnectionBase.

void Connection< Lux >::ready (  )  [inline]

void Connection< Lux >::poll (  )  [inline]

virtual void Connection< Lux >::close (  )  [inline, virtual]

Completely close the connection and remove all connectors.

This is the equivalent of running the destructor, using this routine you can control when the connection is closed. By default it just removes all connectors.

Reimplemented from ConnectionBase.

template<class T >
ConnectorBase* Connection< Lux >::connect ( const char *  cname,
const T &  obj,
int  mode = ConnectionBase::out 
) [inline]

template<class T1 , class T2 >
ConnectorBase* Connection< Lux >::connect ( const char *  cname,
const T1 &  obj1,
const T2 &  obj2,
int  mode 
) [inline]

virtual void Connection< Lux >::interact ( const char *  = 0  )  [inline, virtual]

Allow for interaction with the connection.

An optional string can be provided to tell how to do the interaction.

Reimplemented from ConnectionBase.

References Pooma::poll().


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

Generated on Wed Mar 16 06:19:43 2011 for FreePOOMA by  doxygen 1.5.9