treqs::UsersController Class Reference

Specialization of the Controller template to manage users. More...

#include <UsersController.h>

Inheritance diagram for treqs::UsersController:
Inheritance graph
[legend]
Collaboration diagram for treqs::UsersController:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Useradd (string u)
 Add a user to the list.

Static Public Member Functions

static UsersControllergetInstance ()
 To get an instance to this singleton.

Protected Member Functions

 UsersController ()
 Constructor.
 ~UsersController ()
 Destructor.

Static Private Attributes

static UsersController_instance = 0
 Pointer to the singleton instance.
static LoggerPtr ulogger
 Log4CXX logger.

Detailed Description

Specialization of the Controller template to manage users.


Constructor & Destructor Documentation

UsersController::UsersController (  )  [protected]

Constructor.

Here is the caller graph for this function:

UsersController::~UsersController (  )  [protected]

Destructor.


Member Function Documentation

User * UsersController::add ( string  u  ) 

Add a user to the list.

If the user does not exist, create it and return it. Else, return the already existing instance

Parameters:
u the name of the user
Returns:
a pointer to the user named after u

Here is the call graph for this function:

Here is the caller graph for this function:

UsersController * UsersController::getInstance (  )  [static]

To get an instance to this singleton.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Pointer to the singleton instance.

LoggerPtr treqs::UsersController::ulogger [static, private]

Log4CXX logger.


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

Generated on 4 Mar 2010 for TReqS by  doxygen 1.6.1