public void setPublisher(StatePublisherBase publisher_) { Debug.Assert(this.publisher == null); Debug.Assert(publisher_ != null); this.publisher = publisher_; publisher.idx = idx; //BufferT buff; // just empty //publisher.startTick(buff); }
public int idx; // in pool public StatePublisherData(int idx_, StatePublisherBase publisher_) { Debug.Assert(publisher_ != null); this.publisher = publisher_; this.idx = idx_; publisher.idx = idx_; //BufferT buff; // just empty //publisher.startTick(buff); }
public void remove(StatePublisherBase obj) { pubPool.remove(obj); }
public void add(StatePublisherBase obj) { pubPool.add(obj); }
public void setUnused(StatePublisherBase publisher_) { Debug.Assert(this.publisher == publisher_); this.publisher = null; }