Mantid
Loading...
Searching...
No Matches
Signals | Public Member Functions | Private Member Functions | Friends | List of all members
MantidQt::API::SelectionNotificationServiceImpl Class Reference

Provides a simple loosely coupled mechanism for passing information about a selected point from several possible sources to several possible destinations. More...

#include <SelectionNotificationService.h>

Inheritance diagram for MantidQt::API::SelectionNotificationServiceImpl:

Signals

void QPointSelection_signal (bool, double, double, double)
 

Public Member Functions

void sendQPointSelection (bool lab_coords, double qx, double qy, double qz)
 Emit the QPointSelection_signal, callable from any thread.
 

Private Member Functions

 SelectionNotificationServiceImpl ()
 private constructor, since SelectionNotificationService is a singleton
 
 ~SelectionNotificationServiceImpl () override
 private constructor, since SelectionNotificationService is a singleton
 

Friends

struct Mantid::Kernel::CreateUsingNew< SelectionNotificationServiceImpl >
 

Detailed Description

Provides a simple loosely coupled mechanism for passing information about a selected point from several possible sources to several possible destinations.

Neither the sources, or the destinations need exist or have references to each other. Currently the only "message" supported is a QPointSelection message. To send the message, an object just needs to call the sendQPointSelection() method on the single Instance() of this class.

Definition at line 28 of file SelectionNotificationService.h.

Constructor & Destructor Documentation

◆ SelectionNotificationServiceImpl()

MantidQt::API::SelectionNotificationServiceImpl::SelectionNotificationServiceImpl ( )
private

private constructor, since SelectionNotificationService is a singleton

◆ ~SelectionNotificationServiceImpl()

MantidQt::API::SelectionNotificationServiceImpl::~SelectionNotificationServiceImpl ( )
overrideprivate

private constructor, since SelectionNotificationService is a singleton

Member Function Documentation

◆ QPointSelection_signal

void MantidQt::API::SelectionNotificationServiceImpl::QPointSelection_signal ( bool  ,
double  ,
double  ,
double   
)
signal

◆ sendQPointSelection()

void MantidQt::API::SelectionNotificationServiceImpl::sendQPointSelection ( bool  lab_coords,
double  qx,
double  qy,
double  qz 
)

Emit the QPointSelection_signal, callable from any thread.

Friends And Related Symbol Documentation

◆ Mantid::Kernel::CreateUsingNew< SelectionNotificationServiceImpl >

Definition at line 43 of file SelectionNotificationService.h.


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