示例#1
0
void VNode::setChildEntry(int _i, const SigEntry _entry)
{
	/* _entry should not be an ref, because if _entry is an ref,
	 * it's possible that _entry is exactly an ref of this->child_entries[i]
	 * !!!!!!!!!!!!!!!!!!!! */
	SigEntry _sig(_entry);
    this->child_entries[_i] = _sig;

    //debug
//    {
//        if (this->getFileLine() == 0 && this->getChildFileLine(_i) == 153)
//        {
//            Database::log("set node 0's child node 153's entry:");
//            Database::log(Signature::BitSet2str(this->child_entries[_i].getEntitySig().entityBitSet));
//        }
//    }
}
示例#2
0
 void SignalChannel::log(const Message& msg)
 {
     _sig(msg);
 }