16#ifndef __albaVMEStorage_h__
17#define __albaVMEStorage_h__
65 virtual void SetURL(
const char *name);
72 void SetFileType(
const char *filetype) {Superclass::SetFileType(filetype);}
75 void SetVersion(
const char *version) {Superclass::SetVersion(version);}
Implementation of the message object for the Subject/Observer design pattern.
class acting as an interface for objects using ALBA hierarchical event communication model This objec...
Interface implementing the Observer of the Subject/Observer design pattern.
albaStorable is an interface for serializable objects.
Abstract class representing the interface for the unit of information stored in the storage.
albaUtility - the pourpose of this class is just to groups utilities classes
albaVMERoot - a VME is the root of a tree of VME nodes.
A storage class for MSF local files.
virtual ~albaVMEStorage()
virtual void OnEvent(albaEventBase *e)
process events coming from tree
albaVMERoot * GetRoot()
return the root node attached to this tree
ALBA_ID_DEC(MSF_FILENAME_CHANGED)
void SetFileType(const char *filetype)
Do not allow changing the file type from external objects.
void SetVersion(const char *version)
Do not allow changing the file version from external objects.
albaTypeMacro(albaVMEStorage, albaXMLStorage) albaVMEStorage()
albaVMERoot * m_Root
the VME root node
virtual void SetURL(const char *name)
Set the URL of the document to be read or written.
void SetRoot(albaVMERoot *root)
Set the root to this Storage.
Concrete implementation of Storage object using Xerces-C for storing in XML.
utility class representing the MSF document.
mmuMSFDocument(albaVMERoot *root=NULL)
virtual int InternalRestore(albaStorageElement *node)
This is called by Restore() and must be reimplemented by subclasses The element from which the object...
virtual ~mmuMSFDocument()
virtual int InternalStore(albaStorageElement *node)
This is called by Store() and must be reimplemented by subclasses.