Cat
|
#include <inc/ProcDataBase.h>
Public Member Functions | |
ProcDataBase () | |
Standard constructor. More... | |
virtual | ~ProcDataBase () |
Destructor. More... | |
void | update () |
std::list< Processus *> | procList (Element *) |
std::vector< Processus * > | list (Element *) |
std::vector< Processus * > | list () |
Processus * | processus (std::string) |
StatusCode | add (Processus *) |
StatusCode | remove (Processus *) |
Private Attributes | |
std::list< Processus *> | m_procList |
std::list< std::string > | m_types |
Definition at line 20 of file ProcDataBase.h.
ProcDataBase::ProcDataBase | ( | ) |
Standard constructor.
Definition at line 25 of file ProcDataBase.cpp.
References application(), and Object::info().
|
virtual |
StatusCode ProcDataBase::add | ( | Processus * | proc | ) |
Definition at line 101 of file ProcDataBase.cpp.
References m_procList, StatusCode::SUCCESS, and update().
Referenced by Computer::Computer(), and DLL::init().
std::vector< Processus * > ProcDataBase::list | ( | ) |
Definition at line 76 of file ProcDataBase.cpp.
References m_procList.
Referenced by export_base(), export_proc(), list(), and procList().
Processus * ProcDataBase::processus | ( | std::string | procName | ) |
Definition at line 49 of file ProcDataBase.cpp.
References list(), m_procList, and Object::type().
Referenced by Application::prepare(), and Application::setConfig().
StatusCode ProcDataBase::remove | ( | Processus * | proc | ) |
Erase a processus to the db
Definition at line 110 of file ProcDataBase.cpp.
References m_procList, and StatusCode::SUCCESS.
Referenced by Computer::~Computer().
void ProcDataBase::update | ( | ) |
Definition at line 38 of file ProcDataBase.cpp.
References m_procList, and m_types.
Referenced by add(), AppFrame.AppFrame::deleteHardware(), ConfFrame.ConfFrame::onChange(), GraphFrame.GraphFrame::onChange(), CfgFrame.CfgFrame::onChange(), ConfFrame.ConfFrame::onEdit(), AppFrame.AppFrame::onLoad(), ConfFrame.ConfFrame::onReLoad(), GraphFrame.GraphFrame::onReLoad(), CfgFrame.CfgFrame::onReLoad(), and AppFrame.AppFrame::onReLoad().
|
private |
Definition at line 55 of file ProcDataBase.h.
Referenced by add(), list(), processus(), procList(), remove(), and update().
|
private |
Definition at line 56 of file ProcDataBase.h.
Referenced by update().