Mantid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Mantid::Kernel::DataService< T >::PreDeleteNotification Class Reference

PreDeleteNotification is sent before an object is deleted from the data service. More...

#include <DataService.h>

Inheritance diagram for Mantid::Kernel::DataService< T >::PreDeleteNotification:
Mantid::Kernel::DataService< T >::DataServiceNotification Mantid::Kernel::DataService< T >::NamedObjectNotification

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...
 

Detailed Description

template<typename T>
class Mantid::Kernel::DataService< T >::PreDeleteNotification

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.

Constructor & Destructor Documentation

◆ PreDeleteNotification()

template<typename T >
Mantid::Kernel::DataService< T >::PreDeleteNotification::PreDeleteNotification ( const std::string &  name,
const std::shared_ptr< T > &  obj 
)
inline

Constructor.

Definition at line 147 of file DataService.h.


The documentation for this class was generated from the following file: