FreePOOMA
2.4.1
|
#include <LuxConnector.Array.h>
Public Types | |
typedef Array< Dim, T, EngineTag > | Array_t |
typedef T | Scalar_t |
typedef ReadFieldTool | LuxData_t |
typedef Connection< Lux > | Connection_t |
typedef Connector< Array_t, Lux > | Connector_t |
typedef Lux | ConnectionTag_t |
Public Member Functions | |
Connector (const char *conname, const Array_t &a, Connection_t &c, int mode=ConnectionBase::out) | |
virtual | ~Connector () |
Connection_t & | luxConnection () const |
Array_t & | array () const |
void | resize (const Array_t &newarray) |
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 *s=0) |
Allow for interaction with the connection. | |
Protected Attributes | |
int | total_m |
int | size_m [3] |
float | origin_m [3] |
float | spacing_m [3] |
typedef Array<Dim, T, EngineTag> Connector< Array< Dim, T, EngineTag >, Lux >::Array_t |
typedef T Connector< Array< Dim, T, EngineTag >, Lux >::Scalar_t |
typedef ReadFieldTool Connector< Array< Dim, T, EngineTag >, Lux >::LuxData_t |
typedef Connection<Lux> Connector< Array< Dim, T, EngineTag >, Lux >::Connection_t |
typedef Connector<Array_t,Lux> Connector< Array< Dim, T, EngineTag >, Lux >::Connector_t |
typedef Lux Connector< Array< Dim, T, EngineTag >, Lux >::ConnectionTag_t |
Connector< Array< Dim, T, EngineTag >, Lux >::Connector | ( | const char * | conname, |
const Array_t & | a, | ||
Connection_t & | c, | ||
int | mode = ConnectionBase::out |
||
) | [inline] |
References ConnectionBase::out, and PAssert.
virtual Connector< Array< Dim, T, EngineTag >, Lux >::~Connector | ( | ) | [inline, virtual] |
Connection_t& Connector< Array< Dim, T, EngineTag >, Lux >::luxConnection | ( | ) | const [inline] |
References PAssert.
Array_t& Connector< Array< Dim, T, EngineTag >, Lux >::array | ( | ) | const [inline] |
void Connector< Array< Dim, T, EngineTag >, Lux >::resize | ( | const Array_t & | newarray | ) | [inline] |
References Array< Dim, T, EngineTag >::initialize().
virtual void Connector< Array< Dim, T, EngineTag >, Lux >::disconnect | ( | ) | [inline, virtual] |
Do special activities to disconnect ourselves from the ConnectionBase.
Implements ConnectorBase.
virtual void Connector< Array< Dim, T, EngineTag >, Lux >::update | ( | ) | [inline, virtual] |
Update our connection, for example, transfer data or read/write a file.
This must be provided by derived classes.
Implements ConnectorBase.
References Pooma::Algorithms::copy().
virtual void Connector< Array< Dim, T, EngineTag >, 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.
Implements ConnectorBase.
int Connector< Array< Dim, T, EngineTag >, Lux >::total_m [protected] |
int Connector< Array< Dim, T, EngineTag >, Lux >::size_m[3] [protected] |
float Connector< Array< Dim, T, EngineTag >, Lux >::origin_m[3] [protected] |
float Connector< Array< Dim, T, EngineTag >, Lux >::spacing_m[3] [protected] |