Mantid
|
Base class for DataService notifications that also stores a pointer to the object. More...
#include <DataService.h>
Public Member Functions | |
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... | |
Private Attributes | |
std::shared_ptr< T > | m_object |
shared pointer to the object More... | |
Base class for DataService notifications that also stores a pointer to the object.
Definition at line 82 of file DataService.h.
|
inline |
Constructor.
Definition at line 85 of file DataService.h.
|
inline |
Returns the const pointer to the object concerned or 0 if it is a general notification.
Definition at line 89 of file DataService.h.
|
private |
shared pointer to the object
Definition at line 92 of file DataService.h.