#include <encoder.h>
Public Member Functions | |
void | SetPacketCombinationSender (PacketCombinationSender *s) |
void | Encode (unsigned int id, Ptr< const BitVector > payload) |
This base class defines the interface for the development of encoders.
Add a new information packet to the encoding process
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
c | the callback |