FreePOOMA  2.4.1
Public Types | Public Member Functions
Connection< Paws > Class Template Reference

#include <PawsConnection.h>

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

List of all members.

Public Types

typedef Paws ConnectionTag_t
typedef Connection< Paws > Connection_t

Public Member Functions

 Connection (const char *conname, int argc, char *argv[])
virtual ~Connection ()
virtual bool connected () const
 Return whether we are connected properly right now.
PawsApplication & paws () const
void poll ()
void ready ()
virtual void close ()
 Completely close the connection and remove all connectors.
template<class T >
ConnectorBaseconnect (const char *cname, const T &obj, int mode)
template<class T >
ConnectorBaseconnectScalar (const char *cname, T &obj, int mode)

template<>
class Connection< Paws >


Member Typedef Documentation

typedef Paws Connection< Paws >::ConnectionTag_t
typedef Connection<Paws> Connection< Paws >::Connection_t

Constructor & Destructor Documentation

Connection< Paws >::Connection ( const char *  conname,
int  argc,
char *  argv[] 
) [inline]
virtual Connection< Paws >::~Connection ( ) [inline, virtual]

Member Function Documentation

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

Return whether we are connected properly right now.

Reimplemented from ConnectionBase.

PawsApplication& Connection< Paws >::paws ( ) const [inline]
void Connection< Paws >::poll ( ) [inline]
void Connection< Paws >::ready ( ) [inline]
virtual void Connection< Paws >::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< Paws >::connect ( const char *  cname,
const T &  obj,
int  mode 
) [inline]
template<class T >
ConnectorBase* Connection< Paws >::connectScalar ( const char *  cname,
T &  obj,
int  mode 
) [inline]

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