public Wrappers.ICountingTarget CreateChildCountingTarget() { Dvtk.Sessions.Session session = this.m_parentSession; // // Create child-countManager for the same (parent)-session. // CountManager countManager = new CountManager(session); // // Register child-countManager in the child-collection of this parent-countManager // this.m_childCountManagers.Add(countManager); return(countManager); }
/// <summary> /// Start the gathering of validation results output. /// </summary> /// <param name="fileName">The location of the file where you want to save.</param> public void StartResultsGathering(string fileName) { // // Setup call-back interfaces for ; // - serialization // - counting // - activity reporting. // this.m_topSerializer = new Serializer(null, this, true, Wrappers.WrappedSerializerNodeType.TopParent); this.m_topCountManager = new CountManager(this); this.m_activityReporter = new ActivityReporter(this); // // Couple into adapter layer between unmanaged and managed code. // this.m_MBaseSession.InitTopSerializationAndCountingAndActivityReportingTargets( this.m_topSerializer, this.m_topCountManager, this.m_activityReporter); this.m_topSerializer.StartTopSerializer(fileName); this.m_topCountManager.SerializeEnabled = true; }
public Wrappers.ICountingTarget CreateChildCountingTarget() { Dvtk.Sessions.Session session = this.m_parentSession; // // Create child-countManager for the same (parent)-session. // CountManager countManager = new CountManager(session); // // Register child-countManager in the child-collection of this parent-countManager // this.m_childCountManagers.Add(countManager); return countManager; }