Skia
2D Graphics Library
SkNVRefCnt< Derived > Class Template Reference

#include <SkRefCnt.h>

Public Member Functions

 SkNVRefCnt ()
 
 ~SkNVRefCnt ()
 
bool unique () const
 
void ref () const
 
void unref () const
 
void deref () const
 
bool refCntGreaterThan (int32_t threadIsolatedTestCnt) const
 

Constructor & Destructor Documentation

◆ SkNVRefCnt()

template<typename Derived >
SkNVRefCnt< Derived >::SkNVRefCnt ( )
inline

◆ ~SkNVRefCnt()

template<typename Derived >
SkNVRefCnt< Derived >::~SkNVRefCnt ( )
inline

Member Function Documentation

◆ deref()

template<typename Derived >
void SkNVRefCnt< Derived >::deref ( ) const
inline

◆ ref()

template<typename Derived >
void SkNVRefCnt< Derived >::ref ( ) const
inline

◆ refCntGreaterThan()

template<typename Derived >
bool SkNVRefCnt< Derived >::refCntGreaterThan ( int32_t  threadIsolatedTestCnt) const
inline

◆ unique()

template<typename Derived >
bool SkNVRefCnt< Derived >::unique ( ) const
inline

◆ unref()

template<typename Derived >
void SkNVRefCnt< Derived >::unref ( ) const
inline

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