Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
roc::core::TempFile Class Reference

Temporary file. More...

#include <roc_core/target_posix/roc_core/temp_file.h>

Inheritance diagram for roc::core::TempFile:

Public Member Functions

 TempFile (const char *name)
 Create temporary file. More...
 
const char * path () const
 Get file path. More...
 

Detailed Description

Temporary file.

Remarks
A temporary file is created in constructor and removed in destructor.

Definition at line 24 of file temp_file.h.

Constructor & Destructor Documentation

◆ TempFile()

roc::core::TempFile::TempFile ( const char *  name)

Create temporary file.

Remarks
Creates a temporary directory and a file with given name inside it. Both will be removed in destructor.

Member Function Documentation

◆ path()

const char* roc::core::TempFile::path ( ) const

Get file path.


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