getInstance()

The method returns the instance of the LoginFrameworkController class. If an instance was not created yet, a new instance is created. If an instance already exists, the instance is returned.

Each panel in the login framework receives the instance of the LoginFrameworkController class. A panel again must pass an instance to the LoginFrameworkController class by using the setLoginFrameworkChildView() method. Via the function setLoginFrameworkChildView() a panel view is assigned to a controller.

Synopsis

static public shared_ptr<LoginFrameworkController> getInstance();

Return Value

The method returns the instance of the LoginFrameworkController class.

Assignment

Login Framework classes

See also

getState()