pelib
2.0.0
|
#include <Core.hpp>
Classes | |
struct | LessCorePtrByCoreId |
Public Member Functions | |
Core () | |
Core (size_t id) | |
virtual Core * | clone () const =0 |
virtual | ~Core () |
virtual const std::set< float > & | getFrequencies () const =0 |
virtual float | getFrequencyUnit () const =0 |
virtual bool | operator< (const Core &other) const |
virtual bool | operator== (const Core &other) const |
Public Attributes | |
int | id |
Protected Attributes | |
float | frequencyUnit |
Static Protected Attributes | |
static size_t | counter = 0 |
pelib::Core::Core | ( | size_t | id | ) |
pelib::Core::~Core | ( | ) | [virtual] |
virtual Core* pelib::Core::clone | ( | ) | const [pure virtual] |
Returns a pointer to a copy of this Core
Implemented in pelib::DummyCore.
virtual const std::set<float>& pelib::Core::getFrequencies | ( | ) | const [pure virtual] |
Returns the set of frequencies admissible by this core
Implemented in pelib::DummyCore.
virtual float pelib::Core::getFrequencyUnit | ( | ) | const [pure virtual] |
Returns the frequency multiplier of the frequency set to obtain frequencies in Hertz
Implemented in pelib::DummyCore.
bool pelib::Core::operator< | ( | const Core & | other | ) | const [virtual] |
bool pelib::Core::operator== | ( | const Core & | other | ) | const [virtual] |
size_t pelib::Core::counter = 0 [static, protected] |
float pelib::Core::frequencyUnit [protected] |