25 void setParentOTObject(
OTObject* _newParent);
29 void registerDeleteNotifier(
OTObject* _notifier);
30 void removeDeleteNotifier(
OTObject* _notifier);
33 OTObject* findChildOTObject(
const std::string& _objectName);
34 const OTObject* findChildOTObject(
const std::string& _objectName)
const;
43 void registerChildObject(
OTObject* _object);
44 void forgetChildObject(
OTObject* _object);
45 void forgetObject(
OTObject* _object);
51 std::list<OTObject*> m_deleteNotifier;
52 std::list<OTObject*> m_watchedObjects;
53 std::list<OTObject*> m_childObjects;
#define OT_CORE_API_EXPORT
Dll import.
Definition CoreAPIExport.h:8
This file contains defines that may be used simplyfy class creation.
#define OT_DECL_NOMOVE(___class)
Removes the default move constructor and move operator.
Definition OTClassHelper.h:18
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
virtual void objectWasDestroyed(OTObject *_object)
Definition OTObject.h:40
const OTObject * getParentOTObject(void) const
Definition OTObject.h:27
const std::string & getOTObjectName(void) const
Definition OTObject.h:37
void setOTObjectName(const std::string &_name)
Definition OTObject.h:36
OTObject * getParentOTObject(void)
Definition OTObject.h:26
const std::list< OTObject * > & getChildOTObjects(void) const
Definition OTObject.h:32