gForceSDK
gf::HubManager Class Reference

The factory of the Hub. More...

#include <HubManager.h>

Static Public Member Functions

static gfsPtr< HubgetHubInstance (const tstring &sIdentifier)
 Get the Hub instance. More...
 

Detailed Description

The factory of the Hub.

HubManater mantains a singleton Hub instance

Member Function Documentation

◆ getHubInstance()

static gfsPtr<Hub> gf::HubManager::getHubInstance ( const tstring sIdentifier)
static

Get the Hub instance.

Parameters
sIdentifiera tstring to tell who wants to use the Hub instance
Returns
The Hub instance
Remarks
The life cycle of the Hub instance starts in the first call to this method and until the app exits

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