#include <avcap/singleton.h>
There are lots of more spohisticated approaches to implement a singleton but this simple approach is sufficient here.
Static Public Member Functions | |
| static T & | instance () |
| Get the global instance of the singleton. | |
| static T& avcap::Singleton< T >::instance | ( | ) | [inline, static] |
Get the global instance of the singleton.
1.5.1