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

AddNotification is sent after an new object is added to the data service. More...

#include <DataService.h>

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

Public Member Functions

 AddNotification (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 >::AddNotification

AddNotification is sent after an new object is added to the data service.

name() and object() return name and pointer to the new object.

Definition at line 97 of file DataService.h.

Constructor & Destructor Documentation

◆ AddNotification()

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

Constructor.

Definition at line 99 of file DataService.h.


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