DataManager Class Reference

#include <dec2000.h>

List of all members.

Private Member Functions

virtual LocalArrayWindowgetLocalArrayWindow (char *name)=0
virtual RawDatagetRawData (char *name)=0
virtual void putDataPort (char *newDataItemName, Port *data)=0
virtual void addDataPortView (char *existingDataItemName, char *newViewType, Port *newView)=0
virtual classic::gov::cca::Port * getDataView (const char *existingDataItemName, const char *desiredViewType)=0


Detailed Description

If a field "temperature" exists in the datamanager, then it should be accessible by one or more of the following views. Lots more/less should probably go in the data manager, particularly there may be general agreement that there be generic support for multiple views (raw, array, meshed, etc) of the same data items keyed by a string name and a view type.

Whether the relatively clue-free datamanager produces these views or just holds them once published there is a question remaining to be discussed.

In particular, one manager could hold data virtual interfaces to concrete objects from from several different factories.


Member Function Documentation

virtual LocalArrayWindow* DataManager::getLocalArrayWindow ( char *  name  )  [private, pure virtual]

We assume this is possible and desirable.

virtual RawData* DataManager::getRawData ( char *  name  )  [private, pure virtual]

We assume this is possible and desirable.

virtual void DataManager::putDataPort ( char *  newDataItemName,
Port *  data 
) [private, pure virtual]

Add the "native" view of a data item. Mightn't this be something other than a Port as data argument? particularly, might we want an ObjectCountable interface that refines port and then add data to datamanagers in the ObjectCountable form?

virtual void DataManager::addDataPortView ( char *  existingDataItemName,
char *  newViewType,
Port *  newView 
) [private, pure virtual]

Add an alternative view on currently known data, e.g. add an IOVec view of a 2d array or a mesh topology.

virtual classic::gov::cca::Port* DataManager::getDataView ( const char *  existingDataItemName,
const char *  desiredViewType 
) [private, pure virtual]

Fetch the desired view type on an existing data. It's possible that the view is not available and the result will be NULL.


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

Generated on Tue Apr 28 03:12:54 2009 for CCAFFEINE by  doxygen 1.5.5