IdleUser Class.
More...
#include <idleuser.h>
IdleUser Class.
IdleUser represents an user that was removed from a Grid
IdleUser::IdleUser |
( |
const std::string & |
name, |
|
|
uint |
id, |
|
|
UserType |
type |
|
) |
| |
uint32 IdleUser::GetElapsedTime |
( |
| ) |
const |
uint IdleUser::GetId |
( |
| ) |
const |
Returns the original user id.
const std::string& IdleUser::GetName |
( |
| ) |
const |
UserType IdleUser::GetUserType |
( |
| ) |
const |
Returns the user type (academic or enterprise)
void IdleUser::Print |
( |
std::ostream & |
os = std::cout | ) |
const |
|
virtual |
void IdleUser::PrintHeader |
( |
std::ostream & |
os = std::cout | ) |
|
|
static |
Prints table header for IdleUsers.
void IdleUser::Update |
( |
uint32 |
diff | ) |
|
|
virtual |
Updates elapsed time.
Implements IUpdate.
Time in seconds since the user was removed.
uint IdleUser::_maxNameLength = 0 |
|
staticprivate |
The length of the biggest name, used in Print methods.
std::string IdleUser::_name |
|
private |
User type (academic or enterprise)
The documentation for this class was generated from the following files: