Logo Search packages:      
Sourcecode: timfx version File versions  Download package

kino::raii< ResourceType > Class Template Reference

#include <kino_plugin_utility.h>

List of all members.


Detailed Description

template<typename ResourceType>
class kino::raii< ResourceType >

Attempts to bring Resource Acquisition Is Initialization to legacy "C" constructs.

Definition at line 169 of file kino_plugin_utility.h.


Public Member Functions

ResourceType * get () const
ResourceType & operator* () const
ResourceType * operator-> () const
 raii (ResourceType *const Resource, void(*ReleaseMethod)(ResourceType *))

Private Attributes

void(* m_release_method )(ResourceType *)
ResourceType *const m_resource

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

Generated by  Doxygen 1.6.0   Back to index