Mantid
|
AfterReplaceNotification is sent after an object is replaced in the addOrReplace() function. More...
#include <DataService.h>
Public Member Functions | |
AfterReplaceNotification (const std::string &name, const std::shared_ptr< T > &newObj) | |
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... | |
AfterReplaceNotification is sent after an object is replaced in the addOrReplace() function.
Definition at line 128 of file DataService.h.
|
inline |
Constructor.
name | :: The name of the replaced object |
newObj | :: The pointer to the new object Only new objects are guaranteed to exist when an observer receives the notification. |
Definition at line 136 of file DataService.h.