static_api_ptr_t< t_interface > Class Template Reference
#include <service.h>
List of all members.
Detailed Description
template<typename t_interface>
class static_api_ptr_t< t_interface >
Helper template used to easily access core services.
Usage: static_api_ptr_t<myclass> api; api->dosomething(); Can be used at any point of code, WITH EXCEPTION of static objects that are initialized during the DLL loading process before the service system is initialized; such as static
static_api_ptr_t objects or having
static_api_ptr_t instances as members of statically created objects. Throws exception_service_not_found if service could not be reached (which can be ignored for core APIs that are always present unless there is some kind of bug in the code).
Constructor & Destructor Documentation
template<typename t_interface>
Member Function Documentation
template<typename t_interface>
template<typename t_interface>
The documentation for this class was generated from the following file: