Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
 public void remove(StatePublisherBase obj)
 {
     pubPool.remove(obj);
 }
Ejemplo n.º 4
0
 public void add(StatePublisherBase obj)
 {
     pubPool.add(obj);
 }
Ejemplo n.º 5
0
 public void setUnused(StatePublisherBase publisher_)
 {
     Debug.Assert(this.publisher == publisher_);
     this.publisher = null;
 }