Mantid
|
PreDeleteNotification is sent before an object is deleted from the data service. More...
#include <DataService.h>
Public Member Functions | |
PreDeleteNotification (const std::string &name, const std::shared_ptr< T > &obj) | |
Constructor. More... | |
Public Member Functions inherited from Mantid::Kernel::DataService< T >::DataServiceNotification | |
DataServiceNotification (const std::string &name, const std::shared_ptr< T > &obj) | |
Constructor. More... | |
const std::shared_ptr< T > & | object () const |
Returns the const pointer to the object concerned or 0 if it is a general notification. More... | |
Public Member Functions inherited from Mantid::Kernel::DataService< T >::NamedObjectNotification | |
NamedObjectNotification (const std::string &name) | |
const std::string & | objectName () const |
Returns the name of the object. More... | |
PreDeleteNotification is sent before an object is deleted from the data service.
name() and object() return name and pointer to the object being deleted. The object still exists when the notification is received by an observer.
Definition at line 144 of file DataService.h.
|
inline |
Constructor.
Definition at line 147 of file DataService.h.