#include <dec2000.h>
Private Member Functions | |
virtual LocalArrayWindow * | getLocalArrayWindow (char *name)=0 |
virtual RawData * | getRawData (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 |
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.
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.