Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
XFILE::PipesManager Class Reference

#include <PipesManager.h>

Public Member Functions

virtual ~PipesManager ()
 
std::string GetUniquePipeName ()
 
XFILE::PipeCreatePipe (const std::string &name="", int nMaxPipeSize=PIPE_DEFAULT_MAX_SIZE)
 
XFILE::PipeOpenPipe (const std::string &name)
 
void ClosePipe (XFILE::Pipe *pipe)
 
bool Exists (const std::string &name)
 

Static Public Member Functions

static PipesManagerGetInstance ()
 

Protected Attributes

int m_nGenIdHelper = 1
 
std::map< std::string, XFILE::Pipe * > m_pipes
 
CCriticalSection m_lock
 

Constructor & Destructor Documentation

◆ ~PipesManager()

PipesManager::~PipesManager ( )
virtualdefault

Member Function Documentation

◆ ClosePipe()

void PipesManager::ClosePipe ( XFILE::Pipe * pipe)

◆ CreatePipe()

XFILE::Pipe * PipesManager::CreatePipe ( const std::string & name = "",
int nMaxPipeSize = PIPE_DEFAULT_MAX_SIZE )

◆ Exists()

bool PipesManager::Exists ( const std::string & name)

◆ GetInstance()

PipesManager & PipesManager::GetInstance ( )
static

◆ GetUniquePipeName()

std::string PipesManager::GetUniquePipeName ( )

◆ OpenPipe()

XFILE::Pipe * PipesManager::OpenPipe ( const std::string & name)

Member Data Documentation

◆ m_lock

CCriticalSection XFILE::PipesManager::m_lock
protected

◆ m_nGenIdHelper

int XFILE::PipesManager::m_nGenIdHelper = 1
protected

◆ m_pipes

std::map<std::string, XFILE::Pipe *> XFILE::PipesManager::m_pipes
protected

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