Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::core::TempFile Class Reference

Temporary file. More...

#include <temp_file.h>

Inheritance diagram for roc::core::TempFile:
Collaboration 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 26 of file temp_file.h.

Constructor & Destructor Documentation

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

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

Get file path.


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