public void FlushAndLock(instanceEnumPipeLines <T, TEnum> completeEnumPipe, string sourceID)
        {
            HoldOn();

            foreach (instanceCountPipeLine <T> ot in this.Values)
            {
                ot.Add(ot.self, sourceID);
            }

            FlushAndLock(sourceID);
        }
        /// <summary>
        /// Connects the complete counter socket to specified parent
        /// </summary>
        /// <param name="__parents">The parents.</param>
        /// <returns></returns>
        public int connectParents(instanceEnumPipeLines <T, TEnum> __parents)
        {
            int c = 0;

            parents = __parents;
            foreach (TEnum key in parents.Keys)
            {
                this[key].parent = parents[key];
                c++;
            }
            return(c);
        }