nndeploy C++ API  0.2.0
nndeploy C++ API
Static Public Member Functions | List of all members
nndeploy::base::Singleton< T > Class Template Reference

#include <object.h>

Static Public Member Functions

static T & getInstance ()
 get a reference to the singleton object More...
 

Detailed Description

template<typename T>
class nndeploy::base::Singleton< T >

Definition at line 44 of file object.h.

Member Function Documentation

◆ getInstance()

template<typename T >
static T& nndeploy::base::Singleton< T >::getInstance ( )
inlinestatic

get a reference to the singleton object

Definition at line 49 of file object.h.


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