Public Member Functions | Private Member Functions | Private Attributes | List of all members
CanvasSelectionEvent Class Reference

A derived class of QCustomEvent with which the CanvasView notifiies clients of changes in selections of objects on the canvas. More...

#include <CanvasSelectionEvent.h>

Inheritance diagram for CanvasSelectionEvent:
Inheritance graph
[legend]
Collaboration diagram for CanvasSelectionEvent:
Collaboration graph
[legend]

Public Member Functions

 CanvasSelectionEvent (std::vector< PlotterBase * >)
 
 data () const
 
const std::vector< PlotterBase *> & getPlotters () const
 Returns the PlotterBase objects that created the update event. More...
 
 setData (void *data)
 
virtual ~CanvasSelectionEvent ()
 The required virtual destructor. More...
 

Private Member Functions

 CanvasSelectionEvent (const CanvasSelectionEvent &)
 The copy constructor. More...
 

Private Attributes

std::vector< PlotterBase *> m_plotters
 

Detailed Description

A derived class of QCustomEvent with which the CanvasView notifiies clients of changes in selections of objects on the canvas.

Author
Paul F. Kunz Paul_.nosp@m.Kunz.nosp@m.@slac.nosp@m..sta.nosp@m.nford.nosp@m..edu

Definition at line 39 of file CanvasSelectionEvent.h.

Constructor & Destructor Documentation

◆ CanvasSelectionEvent() [1/2]

CanvasSelectionEvent ( const CanvasSelectionEvent event)
private

The copy constructor.

Definition at line 30 of file CanvasSelectionEvent.cxx.

Referenced by CanvasSelectionEvent::CanvasSelectionEvent().

◆ CanvasSelectionEvent() [2/2]

CanvasSelectionEvent ( std::vector< PlotterBase * >  plotters)

◆ ~CanvasSelectionEvent()

~CanvasSelectionEvent ( )
virtual

The required virtual destructor.

Definition at line 35 of file CanvasSelectionEvent.cxx.

References CanvasSelectionEvent::getPlotters().

Member Function Documentation

◆ getPlotters()

const std::vector< PlotterBase *> & getPlotters ( ) const

Returns the PlotterBase objects that created the update event.

Definition at line 41 of file CanvasSelectionEvent.cxx.

References CanvasSelectionEvent::m_plotters.

Referenced by CanvasSelectionEvent::~CanvasSelectionEvent().

Member Data Documentation

◆ m_plotters

std::vector< PlotterBase * > m_plotters
private

Definition at line 42 of file CanvasSelectionEvent.h.

Referenced by CanvasSelectionEvent::getPlotters().


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

Generated for HippoDraw Class Library by doxygen