| 1827 | //----------------------------------------------------------------------------- |
| 1828 | |
| 1829 | void SimObject::clearAllNotifications() |
| 1830 | { |
| 1831 | for(Notify **cnote = &mNotifyList; *cnote; ) |
| 1832 | { |
| 1833 | Notify *temp = *cnote; |
| 1834 | if(temp->type == Notify::ClearNotify) |
| 1835 | { |
| 1836 | *cnote = temp->next; |
| 1837 | Notify *note = ((SimObject *) temp->ptr)->removeNotify((void *) this, Notify::DeleteNotify); |
| 1838 | freeNotify(temp); |
| 1839 | if ( note ) |
| 1840 | freeNotify(note); |
| 1841 | } |
| 1842 | else |
| 1843 | cnote = &(temp->next); |
| 1844 | } |
| 1845 | } |
| 1846 | |
| 1847 | //============================================================================= |
| 1848 | // Namespaces. |
nothing calls this directly
no test coverage detected