Signals | Public Member Functions | Private Attributes | List of all members
swri_profiler_tools::ProfileDatabase Class Reference

#include <profile_database.h>

Inheritance diagram for swri_profiler_tools::ProfileDatabase:
Inheritance graph
[legend]

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)
 
Profileprofile (int key)
 
const Profileprofile (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_
 

Detailed Description

Definition at line 42 of file profile_database.h.

Constructor & Destructor Documentation

swri_profiler_tools::ProfileDatabase::ProfileDatabase ( )

Definition at line 6 of file profile_database.cpp.

swri_profiler_tools::ProfileDatabase::~ProfileDatabase ( )

Definition at line 10 of file profile_database.cpp.

Member Function Documentation

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

Member Data Documentation

Profile swri_profiler_tools::ProfileDatabase::invalid_profile_
private

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.


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


swri_profiler_tools
Author(s):
autogenerated on Fri Nov 27 2020 03:44:18