casa
5.7.0-16
|
Class used by DisplayDatas to signal change in data. More...
#include <DDModEvent.h>
Public Member Functions | |
DDModEvent (DisplayData *dd, const casacore::Record *rec) | |
Constructor, taking a pointer to a DisplayData and a pointer to a data record. More... | |
virtual | ~DDModEvent () |
Destructor. More... | |
virtual const casacore::Record * | dataRecord () const |
Return a pointer to the data record. More... | |
Public Member Functions inherited from casa::DisplayDataEvent | |
DisplayDataEvent (DisplayData *dd) | |
Constructor, taking a pointer to a constant DD. More... | |
virtual | ~DisplayDataEvent () |
Destructor. More... | |
virtual DisplayData * | displayData () const |
Return a pointer to the DD that generated the event. More... | |
Public Member Functions inherited from casa::DisplayEvent | |
DisplayEvent () | |
Constructor. More... | |
DisplayEvent (const DisplayEvent &other) | |
Copy constructor - construct a new DisplayEvent from other . More... | |
virtual | ~DisplayEvent () |
Destructor. More... | |
DisplayEvent & | operator= (const DisplayEvent &other) |
Copy assignment using copy semantics. More... | |
virtual casacore::Double | timeOfEvent () const |
Return the Julian date (in fractional seconds) that this event occured. More... | |
Protected Member Functions | |
DDModEvent () | |
(Required) default constructor. More... | |
DDModEvent (const DDModEvent &other) | |
(Required) copy constructor. More... | |
DDModEvent & | operator= (const DDModEvent &other) |
(Required) copy assignment. More... | |
Protected Member Functions inherited from casa::DisplayDataEvent | |
DisplayDataEvent () | |
(Required) default constructor. More... | |
DisplayDataEvent (const DisplayDataEvent &other) | |
(Required) copy constructor. More... | |
DisplayDataEvent & | operator= (const DisplayDataEvent &other) |
(Required) copy assignment. More... | |
Private Attributes | |
const casacore::Record * | itsRec |
the data record More... | |
Class used by DisplayDatas to signal change in data.
Internal
"DisplayData Modified Event" describes "Events" (ie. things which happen at a measurable time) which signal to event handlers that the data of the transmitting displaydata has been modified.
This class adds to the information stored in the DisplayDataEvent class. It adds a pointer to a record that holds the modified data. The structure of the record is specific to each type of Display casacore::Data so the event handlers will need to know the structure they are listening for
It's desirable to send some data with DisplayDataEvents that has information about the DisplayData and the data that is modified within it.
.
Definition at line 101 of file DDModEvent.h.
casa::DDModEvent::DDModEvent | ( | DisplayData * | dd, |
const casacore::Record * | rec | ||
) |
Constructor, taking a pointer to a DisplayData and a pointer to a data record.
|
virtual |
Destructor.
|
protected |
(Required) default constructor.
|
protected |
(Required) copy constructor.
|
inlinevirtual |
Return a pointer to the data record.
Definition at line 113 of file DDModEvent.h.
References itsRec.
|
protected |
(Required) copy assignment.
|
private |