sync with ns-3-dev
This commit is contained in:
commit
fe73953148
66 files changed
+467
-199
No files matched your search
@@ -128,6 +128,18 @@ Node::GetNApplications (void) const
|
||||
{
|
||||
return m_applications.size ();
|
||||
}
|
||||
Ptr<Application>
|
||||
Node::GetFirstApplication(TypeId tid)
|
||||
{
|
||||
for (std::vector<Ptr<Application> >::iterator i = m_applications.begin ();
|
||||
i != m_applications.end (); i++) {
|
||||
Ptr<Application> app = *i;
|
||||
if (app->GetInstanceTypeId() == tid)
|
||||
return app;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
Node::DoDispose()
|
||||
|
||||
Reference in new issue
Block a user