NS3 源码阅读 Ptr<Object> ObjectFactory::Create (void) const
ObjectFactory类中的成员函数Create()。
Ptr<Object>
ObjectFactory::Create (void) const
{
NS_LOG_FUNCTION (this);
Callback<ObjectBase *> cb = m_tid.GetConstructor ();
ObjectBase *base = cb ();
Object *derived = dynamic_cast<Ob...
原创
2021-12-23 19:48:37 ·
953 阅读 ·
0 评论