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.h
Go to the documentation of this file.
1
#ifndef CHUNK_H
2
#define CHUNK_H
3
4
#include "ns3/object-base.h"
5
#include "
buffer.h
"
6
7
namespace
ns3 {
8
14
class
Chunk
:
public
ObjectBase
15
{
16
public
:
21
static
TypeId
GetTypeId
(
void
);
22
28
virtual
uint32_t
Deserialize
(
Buffer::Iterator
start
) = 0;
29
34
virtual
void
Print
(std::ostream &os)
const
= 0;
35
};
36
37
}
// namespace ns3
38
39
#endif
/* CHUNK_H */
ns3::ObjectBase
implement the ns-3 type and attribute system
Definition:
object-base.h:61
visualizer.core.start
def start
Definition:
core.py:1482
ns3::Chunk::Deserialize
virtual uint32_t Deserialize(Buffer::Iterator start)=0
Deserialize the object from a buffer iterator.
ns3::Buffer::Iterator
iterator in a Buffer instance
Definition:
buffer.h:98
ns3::Chunk::Print
virtual void Print(std::ostream &os) const =0
Print the object contents.
buffer.h
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:49
ns3::Chunk
abstract base class for ns3::Header and ns3::Trailer
Definition:
chunk.h:14
ns3::Chunk::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition:
chunk.cc:8
src
network
model
chunk.h
Generated on Wed Sep 17 2014 23:33:37 for ns-3 by
1.8.6