Agora  1.2.0
Agora project
RxPacket Class Reference

#include <message.h>

Collaboration diagram for RxPacket:

Public Member Functions

 RxPacket ()
 
 RxPacket (Packet *in)
 
 RxPacket (const RxPacket &copy)
 
virtual ~RxPacket ()=default
 
RxPacketoperator= (const RxPacket &)=delete
 
bool Set (Packet *in_pkt)
 
PacketRawPacket ()
 
bool Empty () const
 
void Use ()
 
void Free ()
 

Private Member Functions

virtual void GcPacket ()
 

Private Attributes

std::atomic< unsigned > references_
 
Packetpacket_
 

Constructor & Destructor Documentation

◆ RxPacket() [1/3]

RxPacket::RxPacket ( )
inline

◆ RxPacket() [2/3]

RxPacket::RxPacket ( Packet in)
inlineexplicit
Here is the call graph for this function:

◆ RxPacket() [3/3]

RxPacket::RxPacket ( const RxPacket copy)
inline
Here is the call graph for this function:

◆ ~RxPacket()

virtual RxPacket::~RxPacket ( )
virtualdefault

Member Function Documentation

◆ Empty()

bool RxPacket::Empty ( ) const
inline
Here is the caller graph for this function:

◆ Free()

void RxPacket::Free ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GcPacket()

virtual void RxPacket::GcPacket ( )
inlineprivatevirtual
Here is the caller graph for this function:

◆ operator=()

RxPacket& RxPacket::operator= ( const RxPacket )
delete

◆ RawPacket()

Packet* RxPacket::RawPacket ( )
inline
Here is the caller graph for this function:

◆ Set()

bool RxPacket::Set ( Packet in_pkt)
inline
Here is the caller graph for this function:

◆ Use()

void RxPacket::Use ( )
inline
Here is the caller graph for this function:

Member Data Documentation

◆ packet_

Packet* RxPacket::packet_
private

◆ references_

std::atomic<unsigned> RxPacket::references_
private

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