remove new method for PVRecord

This commit is contained in:
mrkraimer
2019-05-22 10:41:55 -04:00
parent 898868d5f4
commit a004f7ea08
3 changed files with 55 additions and 1 deletions

View File

@@ -101,6 +101,15 @@ public:
* @brief DEPRECATED
*/
virtual void destroy() {}
/**
* @brief remove record from database.
*
* Remove the PVRecord. Release any resources used and
* get rid of listeners and requesters.
* If derived class overrides this then it must call PVRecord::remove()
* after it has destroyed any resorces it uses.
*/
virtual void remove();
/**
* @brief Optional method for derived class.
*