Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::LocalRecorderManager Class Reference

#include <localrecordermanager.h>

Collaboration diagram for jami::LocalRecorderManager:
Collaboration graph

Public Member Functions

LocalRecordergetRecorderByPath (const std::string &path)
 Get local recorder instance with passed path as key.
 
bool hasRunningRecorders ()
 Return true if the manager owns at least one currently running local recorder.
 
void insertRecorder (const std::string &path, std::unique_ptr< LocalRecorder > rec)
 Insert passed local recorder into the map.
 
void removeRecorderByPath (const std::string &path)
 Remove given local recorder instance from the map.
 

Static Public Member Functions

static LocalRecorderManagerinstance ()
 

Detailed Description

Definition at line 24 of file localrecordermanager.h.

Member Function Documentation

◆ getRecorderByPath()

LocalRecorder * jami::LocalRecorderManager::getRecorderByPath ( const std::string &  path)

Get local recorder instance with passed path as key.

Definition at line 53 of file localrecordermanager.cpp.

References jami::emitSignal().

Referenced by libjami::stopLocalRecorder().

Here is the call graph for this function:

◆ hasRunningRecorders()

bool jami::LocalRecorderManager::hasRunningRecorders ( )

Return true if the manager owns at least one currently running local recorder.

Definition at line 60 of file localrecordermanager.cpp.

References jami::emitSignal().

Here is the call graph for this function:

◆ insertRecorder()

void jami::LocalRecorderManager::insertRecorder ( const std::string &  path,
std::unique_ptr< LocalRecorder rec 
)

Insert passed local recorder into the map.

Path is used as key.

Definition at line 37 of file localrecordermanager.cpp.

References jami::emitSignal().

Here is the call graph for this function:

◆ instance()

LocalRecorderManager & jami::LocalRecorderManager::instance ( )
static

Definition at line 23 of file localrecordermanager.cpp.

References instance().

Referenced by instance(), libjami::startLocalMediaRecorder(), and libjami::stopLocalRecorder().

Here is the call graph for this function:

◆ removeRecorderByPath()

void jami::LocalRecorderManager::removeRecorderByPath ( const std::string &  path)

Remove given local recorder instance from the map.

Definition at line 30 of file localrecordermanager.cpp.

Referenced by libjami::stopLocalRecorder().


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