Binc::Encoder Class Reference
[Encoder]

#include <encoder.h>

Inheritance diagram for Binc::Encoder:
Inheritance graph
[legend]
Collaboration diagram for Binc::Encoder:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void SetPacketCombinationSender (PacketCombinationSender *s)
void Encode (unsigned int id, Ptr< const BitVector > payload)

Detailed Description

This base class defines the interface for the development of encoders.


Member Function Documentation

void Binc::Encoder::Encode ( unsigned int  id,
Ptr< const BitVector payload 
)

Add a new information packet to the encoding process

Parameters:
id the id of the information packet to be encoded
payload a pointer to the information packet to be encoded
void Binc::Encoder::SetPacketCombinationSender ( PacketCombinationSender s  ) 

Set the callback function that will be called whenever a new information packet is decoded

Parameters:
c the callback

The documentation for this class was generated from the following files:
 All Classes Functions Variables Friends
Generated on Sat Apr 30 23:15:46 2011 for libBiNC by  doxygen 1.6.3