FreePOOMA
2.4.1
|
#include <PawsConnector.h>
Public Types | |
typedef T | Scalar_t |
typedef Paws | ConnectionTag_t |
typedef PawsScalarData< T > | PawsData_t |
typedef Connection< Paws > | Connection_t |
typedef Connector< T, Paws > | Connector_t |
Public Member Functions | |
Connector (const char *conname, Scalar_t &a, Connection_t &c, int mode) | |
virtual | ~Connector () |
Connection_t & | pawsConnection () const |
PawsData_t & | pawsData () const |
Scalar_t & | scalar () const |
void | resize (Scalar_t &newscalar) |
virtual void | disconnect () |
Do special activities to disconnect ourselves from the ConnectionBase. | |
virtual void | update () |
Update our connection, for example, transfer data or read/write a file. | |
virtual void | interact (const char *=0) |
Allow for interaction with the connection. |
typedef Paws Connector< T, Paws >::ConnectionTag_t |
typedef PawsScalarData<T> Connector< T, Paws >::PawsData_t |
typedef Connection<Paws> Connector< T, Paws >::Connection_t |
typedef Connector<T,Paws> Connector< T, Paws >::Connector_t |
Connector< T, Paws >::Connector | ( | const char * | conname, |
Scalar_t & | a, | ||
Connection_t & | c, | ||
int | mode | ||
) | [inline] |
References ConnectionBase::inout, and ConnectionBase::out.
Connection_t& Connector< T, Paws >::pawsConnection | ( | ) | const [inline] |
References PAssert.
PawsData_t& Connector< T, Paws >::pawsData | ( | ) | const [inline] |
References PAssert.
virtual void Connector< T, Paws >::disconnect | ( | ) | [inline, virtual] |
Do special activities to disconnect ourselves from the ConnectionBase.
Implements ConnectorBase.
References PAssert.
Update our connection, for example, transfer data or read/write a file.
This must be provided by derived classes.
Implements ConnectorBase.
References ConnectionBase::in, ConnectionBase::inout, and ConnectionBase::out.
virtual void Connector< T, Paws >::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.
Implements ConnectorBase.