#include <SystemInformation.h>
Inheritance diagram for SystemInformation:

Public Member Functions | |
| virtual | ~SystemInformation () |
| std::map< const char *, const char * > | getSystemInformations () |
| virtual std::string | getInformation (std::string aKey)=0 |
| virtual std::vector< std::string > | availableInformations ()=0 |
Protected Member Functions | |
| void | addInformation (std::string aKey, std::string aValue) |
| virtual void | updateInformations ()=0 |
Protected Attributes | |
| std::map< const char *, const char * > | mSystemInformations |
|
|
Virtual destructor |
|
||||||||||||
|
Just put a key/information pair into the map.
|
|
|
Return the type of information we can gather with the class. Pure virtual, because each implementing class knows the kind of information it can gather Implemented in NsprSystemInformation, and ScriptSystemInformation. |
|
|
The most important method. Used to gather information. Implemented in NsprSystemInformation, and ScriptSystemInformation. |
|
|
Return all the available informations on the system.
|
|
|
Update the informations available on the system. It will update the mSystemInformations map using the getInformation method. Called in getSystemInformations()
|
|
|
A map with all the informations. |
1.4.4