IT++ Logo
itpp::Packet Class Reference

#include <itpp/protocol/packet.h>

Inheritance diagram for itpp::Packet:
itpp::ACK itpp::Link_Packet itpp::TCP_Packet

Public Member Functions

 Packet (const int packet_size=0)
 ADD DOCUMENTATION HERE.
 
virtual ~Packet ()
 ADD DOCUMENTATION HERE.
 
void set_bit_size (int packet_size)
 set size of packet in bits
 
int bit_size ()
 get size of packet in bits
 

Detailed Description

ADD DOCUMENTATION HERE

Definition at line 55 of file packet.h.

Constructor & Destructor Documentation

◆ Packet()

itpp::Packet::Packet ( const int packet_size = 0)
inline

ADD DOCUMENTATION HERE.

Definition at line 59 of file packet.h.

References set_bit_size().

◆ ~Packet()

virtual itpp::Packet::~Packet ( )
inlinevirtual

ADD DOCUMENTATION HERE.

Definition at line 61 of file packet.h.

Member Function Documentation

◆ set_bit_size()

void itpp::Packet::set_bit_size ( int packet_size)
inline

set size of packet in bits

Definition at line 64 of file packet.h.

References it_assert.

Referenced by Packet().

◆ bit_size()

int itpp::Packet::bit_size ( )
inline

get size of packet in bits

Definition at line 67 of file packet.h.

Referenced by itpp::Front_Drop_Queue::pop(), itpp::Front_Drop_Queue::push(), and itpp::TCP_Server_Application::write_to_net().


The documentation for this class was generated from the following file:
SourceForge Logo

Generated on Mon Apr 7 2025 07:53:18 for IT++ by Doxygen 1.11.0