src/core/trace-resolver.cc
changeset 1390 0ae2c2fb7f37
parent 1388 7c88861a6f8c
child 1397 fdc239ba72a7
equal deleted inserted replaced
1389:93f575998efc 1390:0ae2c2fb7f37
   102       os << "source=" << i->path << std::endl;
   102       os << "source=" << i->path << std::endl;
   103       os << "TraceContext=[";
   103       os << "TraceContext=[";
   104       i->context.PrintAvailable (os, ",");
   104       i->context.PrintAvailable (os, ",");
   105       os << "]" << std::endl;
   105       os << "]" << std::endl;
   106       os << "help=\"" << i->doc.GetHelp () << "\"" << std::endl;
   106       os << "help=\"" << i->doc.GetHelp () << "\"" << std::endl;
   107       os << "argument 0  --  the trace context associated to the connected trace source." << std::endl;
   107       os << "void TraceSinkCallback (const TraceContext &";
       
   108       for (TraceDoc::Iterator k = i->doc.ArgsBegin (); k != i->doc.ArgsEnd (); k++)
       
   109         {
       
   110           os << ", " << k->first;
       
   111         }
       
   112       os << ")" << std::endl;
       
   113       os << "argument 1  --  the trace context associated to the connected trace source." << std::endl;
   108       uint32_t k = 2;
   114       uint32_t k = 2;
   109       for (TraceDoc::Iterator j = i->doc.ArgsBegin (); j != i->doc.ArgsEnd (); j++)
   115       for (TraceDoc::Iterator j = i->doc.ArgsBegin (); j != i->doc.ArgsEnd (); j++)
   110         {
   116         {
   111           os << "argument " << k << "  --  " << j->second << "." << std::endl;
   117           os << "argument " << k << "  --  " << j->second << "." << std::endl;
   112           k++;
   118           k++;
   113         }
   119         }
   114       os << "void TraceSinkCallback (const TraceContext &";
       
   115       for (TraceDoc::Iterator k = i->doc.ArgsBegin (); k != i->doc.ArgsEnd (); k++)
       
   116         {
       
   117           os << ", " << k->first;
       
   118         }
       
   119       os << ")" << std::endl;
       
   120       os << std::endl;
   120       os << std::endl;
   121     }
   121     }
   122 }
   122 }
   123 
   123 
   124 }//namespace ns3
   124 }//namespace ns3