#include <profile_database.h>
Signals | |
void | dataAdded (int profile_key) |
void | nodesAdded (int profile_key) |
void | profileAdded (int profile_key) |
void | profileModified (int profile_key) |
Public Member Functions | |
int | createProfile (const QString &name) |
Profile & | profile (int key) |
const Profile & | profile (int key) const |
ProfileDatabase () | |
std::vector< int > | profileKeys () const |
~ProfileDatabase () | |
Private Attributes | |
Profile | invalid_profile_ |
std::unordered_map< int, Profile * > | profiles_ |
std::vector< int > | profiles_list_ |
Definition at line 42 of file profile_database.h.
Definition at line 6 of file profile_database.cpp.
Definition at line 10 of file profile_database.cpp.
int swri_profiler_tools::ProfileDatabase::createProfile | ( | const QString & | name | ) |
Definition at line 17 of file profile_database.cpp.
void swri_profiler_tools::ProfileDatabase::dataAdded | ( | int | profile_key | ) | [signal] |
void swri_profiler_tools::ProfileDatabase::nodesAdded | ( | int | profile_key | ) | [signal] |
Profile & swri_profiler_tools::ProfileDatabase::profile | ( | int | key | ) |
Definition at line 43 of file profile_database.cpp.
const Profile & swri_profiler_tools::ProfileDatabase::profile | ( | int | key | ) | const |
Definition at line 53 of file profile_database.cpp.
void swri_profiler_tools::ProfileDatabase::profileAdded | ( | int | profile_key | ) | [signal] |
std::vector<int> swri_profiler_tools::ProfileDatabase::profileKeys | ( | ) | const [inline] |
Definition at line 61 of file profile_database.h.
void swri_profiler_tools::ProfileDatabase::profileModified | ( | int | profile_key | ) | [signal] |
Definition at line 44 of file profile_database.h.
std::unordered_map<int, Profile*> swri_profiler_tools::ProfileDatabase::profiles_ [private] |
Definition at line 51 of file profile_database.h.
std::vector<int> swri_profiler_tools::ProfileDatabase::profiles_list_ [private] |
Definition at line 53 of file profile_database.h.