// Sending a DDModEvent from a Profile2dDD (inherits from ActiveCaching2dDD) Record rec; fillRecordWithData(rec); // DD specific function DDModEvent ev(this, &rec); ActiveCaching2dDD::handleEvent(ev); // let super classes send events // Receiving a DDModEvent from a Profile2dDD ... profile2dDD->addDisplayEventHandler(this); ... void MyClass::handleEvent(DisplayEvent &ev) { DDModEvent *dev = dynamic_cast<DDModEvent*>(&ev); if (dev) { Profile2dDD *pdd = dynamic_cast<Profile2dDD*>(dev->displayData()); if (pdd) { // event from Profile2dDD received! } } }
Destructor.
Return a pointer to the data record.
(Required) copy constructor.
(Required) copy assignment.