FreePOOMA  2.4.1
Classes
Connector.h File Reference

Base class for all objects that are used to take data from a single item and connect it to some connection. More...

#include "Connect/Connection.h"
#include "Utilities/PAssert.h"
#include <string>
Include dependency graph for Connector.h:
This graph shows which files directly or indirectly include this file:

Classes

class  Connector< D, C >
 declaration of the Connector class, that users will need to specialize. More...
class  ConnectorBase
 ConnectionBase and Connection<Tag> are part of the POOMA external data connection API. More...

Detailed Description

Base class for all objects that are used to take data from a single item and connect it to some connection.

ConnectorBase is a base class for all objects that are used to take data from a single item such as an Array and connect it to some connection such as a file or another program. Subclasses of ConnectorBase should be specializations of Connector<Data,Con> where 'Data' is the type of data being connected to the connection of type 'Con'. ConnectorBase defines the abstract interface to all Connectors, including the 'update' and 'notify' methods. A single Connector represents the connection between just one ConnectionBase object and one data object.

Each ConnectorBase has a name and a ConnectionBase base class pointer.