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
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
;
13
return
tid;
14
}
15
16
}
// namespace ns3
NS_OBJECT_ENSURE_REGISTERED
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register the class in the ns-3 factory.
Definition:
object-base.h:38
ns3::ObjectBase
implement the ns-3 type and attribute system
Definition:
object-base.h:61
chunk.h
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:49
ns3::TypeId::SetParent
TypeId SetParent(TypeId tid)
Definition:
type-id.cc:610
ns3::Chunk::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition:
chunk.cc:8
src
network
model
chunk.cc
Generated on Fri Dec 5 2014 17:29:21 for ns-3 by
1.8.6