1 #ifndef LIGHTAPP_ROOTOBJECT_H
2 #define LIGHTAPP_ROOTOBJECT_H
5 #include "SUIT_DataObject.h"
10 LightApp_RootObject - class to be instanciated by only one object -
11 root object of LightApp data object tree. This object is not shown
12 in object browser (invisible), so it has no re-definition of name(), icon(),
13 etc. methods. The goal of this class is to provide a unified access
14 to LightApp_Study object from LightApp_DataObject instances.
16 class LIGHTAPP_EXPORT LightApp_RootObject : public SUIT_DataObject
19 LightApp_RootObject( LightApp_Study* study )
23 virtual ~LightApp_RootObject() {}
25 void setStudy( LightApp_Study* study ) { myStudy = study; }
26 LightApp_Study* study() const { return myStudy; }
29 LightApp_Study* myStudy;