reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::Compression Class Reference

#include <Compression.hxx>

Public Types

enum  Algorithm { NONE , DEFLATE }
 

Public Member Functions

 Compression (Algorithm algorithm=DEFLATE, int stateMemorySize=8192, int cyclesPerBit=64, int decompressionMemorySize=8192, Data sigcompId=Data::Empty)
 
 ~Compression ()
 
bool isEnabled ()
 
Algorithm getAlgorithm () const
 
osc::StateHandler & getStateHandler ()
 
void addCompressorsToStack (osc::Stack *)
 
const Data & getSigcompId ()
 

Static Public Attributes

static Compression Disabled
 Represents a compression configuration object with compression disabled.
 

Detailed Description

Definition at line 13 of file Compression.hxx.

Member Enumeration Documentation

◆ Algorithm

Enumerator
NONE 
DEFLATE 

Definition at line 16 of file Compression.hxx.

Constructor & Destructor Documentation

◆ Compression()

resip::Compression::Compression ( Algorithm  algorithm = DEFLATE,
int  stateMemorySize = 8192,
int  cyclesPerBit = 64,
int  decompressionMemorySize = 8192,
Data  sigcompId = Data::Empty 
)

Definition at line 19 of file Compression.cxx.

◆ ~Compression()

resip::Compression::~Compression ( )

Definition at line 50 of file Compression.cxx.

Member Function Documentation

◆ addCompressorsToStack()

void resip::Compression::addCompressorsToStack ( osc::Stack *  stack)

Definition at line 58 of file Compression.cxx.

◆ getAlgorithm()

Algorithm resip::Compression::getAlgorithm ( ) const
inline

Definition at line 31 of file Compression.hxx.

◆ getSigcompId()

const Data & resip::Compression::getSigcompId ( )
inline

Definition at line 36 of file Compression.hxx.

◆ getStateHandler()

osc::StateHandler & resip::Compression::getStateHandler ( )
inline

Definition at line 32 of file Compression.hxx.

◆ isEnabled()

bool resip::Compression::isEnabled ( )
inline

Definition at line 30 of file Compression.hxx.

Member Data Documentation

◆ Disabled

resip::Compression resip::Compression::Disabled
static

Represents a compression configuration object with compression disabled.

Definition at line 40 of file Compression.hxx.


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