ResultLog::ResultLog(void) { m_Results = new ResultMap(); Result *StdResult = new Result(); StdResult->AddColumn( *new wxString(wxT("Date")) ); StdResult->AddColumn( *new wxString(wxT("Bandwidth")) ); Result *AvailResult = new Result(); AvailResult->AddColumn( *new wxString(wxT("Date")) ); AvailResult->AddColumn( *new wxString(wxT("TCP_Connects")) ); AvailResult->AddColumn( *new wxString(wxT("TCP_HostCount")) ); AvailResult->AddColumn( *new wxString(wxT("ICMP_Sent")) ); AvailResult->AddColumn( *new wxString(wxT("ICMP_Recieved")) ); AvailResult->AddColumn( *new wxString(wxT("ICMP_HostCount")) ); AvailResult->AddColumn( *new wxString(wxT("ICMP_Values")) ); AvailResult->AddColumn( *new wxString(wxT("TCP_Values")) ); Result *RTTResult = new Result(); RTTResult->AddColumn( *new wxString(wxT("Date")) ); RTTResult->AddColumn( *new wxString(wxT("HostCount")) ); RTTResult->AddColumn( *new wxString(wxT("Responding")) ); RTTResult->AddColumn( *new wxString(wxT("Packets_Sent")) ); RTTResult->AddColumn( *new wxString(wxT("Packets_Recieved")) ); RTTResult->AddColumn( *new wxString(wxT("RTT_Max")) ); RTTResult->AddColumn( *new wxString(wxT("RTT_Min")) ); RTTResult->AddColumn( *new wxString(wxT("RTT_Average")) ); RTTResult->AddColumn( *new wxString(wxT("Jitter")) ); RTTResult->AddColumn( *new wxString(wxT("Values")) ); //host,ip->num_packets,recvd,avg,jitter Result *ThroughputResult = new Result(); ThroughputResult->AddColumn( *new wxString(wxT("Date")) ); // 1 ThroughputResult->AddColumn( *new wxString(wxT("D_TP_Bandwidth")) ); // 2 ThroughputResult->AddColumn( *new wxString(wxT("U_TP_Bandwidth")) ); // 3 ThroughputResult->AddColumn( *new wxString(wxT("D_HTTP_Bandwidth")) ); // 4 ThroughputResult->AddColumn( *new wxString(wxT("D_FTP_Bandwidth")) ); // 5 ThroughputResult->AddColumn( *new wxString(wxT("D_TP_Values")) ); // 6 ThroughputResult->AddColumn( *new wxString(wxT("U_TP_Values")) ); // 7 ThroughputResult->AddColumn( *new wxString(wxT("HTTP_Values")) ); // 8 ThroughputResult->AddColumn( *new wxString(wxT("FTP_Values")) ); // 9 (*m_Results)[wxT("standard")] = StdResult; (*m_Results)[wxT("availability")] = AvailResult; (*m_Results)[wxT("rtt")] = RTTResult; (*m_Results)[wxT("throughput")] = ThroughputResult; LoadResults(); }