senf::detail::PacketImpl::Guard Struct Reference

Internal: Keep PacketImpl instance alive. More...

#include <senf/Packets/PacketImpl.hh>

Public Member Functions

 Guard (PacketImpl *impl)
 
 ~Guard ()
 

Public Attributes

PacketImplp
 

Detailed Description

Internal: Keep PacketImpl instance alive.

The Guard will keep the PacketImpl instance alive during a members execution time If the refcount should drop to 0, PacketImpl will be deleted after the member has completed executing.

Definition at line 203 of file PacketImpl.hh.

Constructor & Destructor Documentation

◆ Guard()

senf::detail::PacketImpl::Guard::Guard ( PacketImpl impl)

◆ ~Guard()

senf::detail::PacketImpl::Guard::~Guard ( )

Member Data Documentation

◆ p

PacketImpl* senf::detail::PacketImpl::Guard::p

Definition at line 206 of file PacketImpl.hh.


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