16#ifndef __albaVMERoot_h
17#define __albaVMERoot_h
44 ID_APPLICATION_STAMP = Superclass::ID_LAST,
66 albaVME::CleanTree(); \
67 m_Attributes.clear(); \
74 virtual void Print(std::ostream& os,
const int tabs=0);
long albaID
type for IDs inside ALBA
Implementation of the message object for the Subject/Observer design pattern.
albaGUI is a panel with function to easily create GUI.
albaMatrix - Time stamped 4x4 Matrix.
Abstract class representing the interface for the unit of information stored in the storage.
albaString - performs common string operations on c-strings.
virtual void Modified()
Update this objects modification time.
albaVMERoot - a VME is the root of a tree of VME nodes.
virtual albaString GetVisualPipe()
Return the suggested pipe-typename for the visualization of this vme.
virtual albaGUI * CreateGui()
Create GUI for the VME.
albaID m_MaxNodeId
Counter for node Ids.
void SetMaxNodeId(albaID id)
Set the NodeMaxId.
virtual void GetLocalTimeStamps(std::vector< albaTimeStamp > &kframes)
return no timestamps
virtual void Print(std::ostream &os, const int tabs=0)
print a dump of this object
albaTransform * m_Transform
pose matrix for the root
virtual bool CanReparentTo(albaVME *parent)
root node cannot be reparented.
albaVMEStorage * m_Storage
virtual bool Equals(albaVME *vme)
compare two VME-Root.
albaVMEStorage * GetStorage() const
Returns Storage.
virtual int InternalStore(albaStorageElement *parent)
This is called by Store() and must be reimplemented by subclasses.
albaTypeMacro(albaVMERoot, albaVME)
void CleanTree()
Clean the tree and all the data structures of this root.
static char ** GetIcon()
return an xpm-icon that can be used to represent this node
virtual int InternalRestore(albaStorageElement *node)
This is called by Restore() and must be reimplemented by subclasses The element from which the object...
virtual int StoreRoot(albaStorageElement *parent)
albaID m_MaxItemId
id counter for VME items
virtual int RestoreRoot(albaStorageElement *element)
albaID GetMaxItemId()
Return highest ItemId assigned for this tree.
albaID GetMaxNodeId()
Return highest NodeId assigned for this tree.
void OnEvent(albaEventBase *alba_event)
Precess events coming from other objects.
virtual void Update()
Redefined to update the gui.
virtual int DeepCopy(albaVME *a)
Copy the contents of another VME into this one.
void SetMaxItemId(albaID id)
Set the ItemMaxId.
albaString m_ApplicationStamp
albaVMERoot()
allowed only dynamic allocation via New()
albaID GetNextNodeId()
Return next available NodeId and increment the internal counter.
albaID GetNextItemId()
Return next available ItemId and increment the internal counter.
void SetStorage(albaVMEStorage *storage)
Sets Storage.
virtual void SetMatrix(const albaMatrix &mat)
set the tree reference system
A storage class for MSF local files.