A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
chunk.cc
Go to the documentation of this file.
1
#include "
chunk.h
"
2
3
namespace
ns3
{
4
5
NS_OBJECT_ENSURE_REGISTERED
(Chunk);
6
7
TypeId
8
Chunk::GetTypeId
(
void
)
9
{
10
static
TypeId
tid =
TypeId
(
"ns3::Chunk"
)
11
.
SetParent
<
ObjectBase
> ()
12
.SetGroupName(
"Network"
)
13
;
14
return
tid;
15
}
16
17
}
// namespace ns3
NS_OBJECT_ENSURE_REGISTERED
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Definition:
object-base.h:44
ns3::ObjectBase
Anchor the ns-3 type and attribute system.
Definition:
object-base.h:68
chunk.h
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:57
ns3::TypeId::SetParent
TypeId SetParent(TypeId tid)
Definition:
type-id.cc:638
ns3::Chunk::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition:
chunk.cc:8
src
network
model
chunk.cc
Generated on Thu Aug 13 2015 14:28:06 for ns-3 by
1.8.9.1