void Creature::onRemovedCreature() { setRemoved(); removeList(); if(master && !master->isRemoved()) master->removeSummon(this); }
void SamplingItem::revive(void) { if (removed()) { setRemoved(false); my.curve->attach(my.chart); } }
void TracingItem::remove(void) { setRemoved(true); my.dropCurve->detach(); my.spanCurve->detach(); my.pointCurve->detach(); my.selectionCurve->detach(); }
void Creature::onRemoved() { removeList(); setRemoved(); if(getMaster() && !getMaster()->isRemoved()){ getMaster()->removeSummon(this); } }
void TracingItem::revive(void) { if (removed()) { setRemoved(false); my.dropCurve->attach(my.chart); my.spanCurve->attach(my.chart); my.pointCurve->attach(my.chart); my.selectionCurve->attach(my.chart); } }
void SamplingItem::remove(void) { setRemoved(true); my.curve->detach(); // We can't really do this properly (free memory, etc) - working around // metrics class limit (its using an ordinal index for metrics, remove any // and we'll get problems. Which means the plots array must also remain // unchanged, as we drive things via the metriclist at times. D'oh. // This blows - it means we have to continue to fetch metrics for those // metrics that have been removed from the chart, which may be remote // hosts, hosts which are down (introducing retry issues...). Bother. //delete my.curve; //free(my.legend); }
//-------------------------------------------------------------- void ofxBulletSoftBody::remove() { setData(NULL); removeSoftBody(); setRemoved(); }