Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::packet::PacketFactory Class Reference

Packet factory. More...

#include <packet_factory.h>

Inheritance diagram for roc::packet::PacketFactory:
roc::core::NonCopyable< T >

Public Member Functions

 PacketFactory (core::IAllocator &allocator, bool poison)
 Constructor.
 
core::SharedPtr< Packetnew_packet ()
 Create new packet;.
 

Friends

class core::FactoryAllocation< PacketFactory >
 

Detailed Description

Packet factory.

Definition at line 26 of file packet_factory.h.

Constructor & Destructor Documentation

◆ PacketFactory()

roc::packet::PacketFactory::PacketFactory ( core::IAllocator allocator,
bool  poison 
)

Constructor.

Member Function Documentation

◆ new_packet()

core::SharedPtr< Packet > roc::packet::PacketFactory::new_packet ( )

Create new packet;.

Friends And Related Function Documentation

◆ core::FactoryAllocation< PacketFactory >

friend class core::FactoryAllocation< PacketFactory >
friend

Definition at line 32 of file packet_factory.h.


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