MOS
Public Types | Public Member Functions | Public Attributes | List of all members
mos::al::Resource Class Reference

General resource living on the APU. More...

#include <resource.hpp>

Inheritance diagram for mos::al::Resource:
mos::al::Buffer mos::al::Filter mos::al::Source

Public Types

using Gen_function = std::function< void(ALsizei, ALuint *)>
 
using Delete_function = std::function< void(ALsizei, const ALuint *)>
 
using Time_point = std::chrono::time_point< std::chrono::system_clock, std::chrono::nanoseconds >
 

Public Member Functions

 Resource (const Gen_function &gen_function, const Delete_function &delete_function)
 
 Resource (const Resource &Resource)=delete
 
 Resource (Resource &&Resource) noexcept
 
Resourceoperator= (const Resource resource)=delete
 
Resourceoperator= (Resource &&resource) noexcept
 

Public Attributes

Gen_function gen_function
 
Delete_function delete_function
 
Time_point modified
 
ALuint id {0}
 

Detailed Description

General resource living on the APU.


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