[Ns-developers] Problems with ObjectFactory
Mirko Banchi
mk.banchi at gmail.com
Fri Mar 6 04:15:16 PST 2009
> yes, it's an easy one :)
>
> You need to add a call to AddConstructor<MsgStandardAggregator> () in
> MsduStandardAggregator::GetTypeId
>
I have already this...:(
MsduStandardAggregator::GetTypeId appears like this:
TypeId
MsduStandardAggregator::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::MsduStandardAggregator")
.SetParent<MsduAggregator> ()
.AddConstructor<MsduStandardAggregator> ()
.AddAttribute ("MaxAmsduSize", "Max length in byte of an A-MSDU",
UintegerValue (7935),
MakeUintegerAccessor
(&MsduStandardAggregator::m_maxAmsduLength),
MakeUintegerChecker<uint32_t> ())
;
return tid;
}
I don't know the reason but seems that m_tid field in ObjectFactory
(returned by TypeId::LookupByName method) contains an uid referring to
ns3::Node.
Regards,
Mirko
--
Mirko Banchi
e-mail: mk.banchi at gmail.com
e-mail: mk.banchi at virgilio.it
id-jabber: mk.banchi at jabber.org
id-msn: mb11684 at hotmail.com
PGP key fingerprint:
308F BFB1 4E67 2522 C88E
DC69 7631 52ED 32A5 6456
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3410 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mailman.isi.edu/pipermail/ns-developers/attachments/20090306/3ae7e2d6/smime.bin
More information about the Ns-developers
mailing list