[ndnSIM] Assert in TypeId::LookupByName: error. Could not find the class

Fatemeh Goudarzi fatemeh.university at gmail.com
Wed Jul 27 22:53:01 PDT 2016

I am trying to add a new type of application by defining its own class. I
think I have coded it right (e.g. TypeId method, and calling

  PccApp::GetTypeId ()
    static TypeId tid = TypeId ("PccApp")
    .SetParent<ndn::App> ()
    .AddConstructor<PccApp> ()
    return tid;

But I get the below error.

assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName:
PccApp not found", file=../src/core/model/type-id.cc, line=755
terminate called without an active exception

Could anyone please let me know what might be the issue?

Best Regards,
Fatemeh Goudarzi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160728/294ee786/attachment.html>

More information about the ndnSIM mailing list