RAII object which manages a halo. More...
#include <halo.hpp>
Public Member Functions | |
halo_record (const halo_record &)=delete | |
halo_record & | operator= (const halo_record &)=delete |
halo_record () | |
halo::halo_record implementation More... | |
halo_record (int id, const std::shared_ptr< halo_impl > &my_manager) | |
~halo_record () | |
bool | valid () const |
Private Attributes | |
int | id_ |
std::weak_ptr< halo_impl > | my_manager_ |
Friends | |
class | manager |
RAII object which manages a halo.
When it goes out of scope it removes the corresponding halo entry.
|
delete |
halo::halo_record::halo_record | ( | ) |
halo::halo_record implementation
halo::halo_record::halo_record | ( | int | id, |
const std::shared_ptr< halo_impl > & | my_manager | ||
) |
halo::halo_record::~halo_record | ( | ) |
Definition at line 467 of file halo.cpp.
References id_, my_manager_, and valid().
|
delete |
|
inline |
Definition at line 86 of file halo.hpp.
References id_, my_manager_, and halo::NO_HALO.
Referenced by ~halo_record().
|
private |
Definition at line 92 of file halo.hpp.
Referenced by valid(), and ~halo_record().
|
private |
Definition at line 93 of file halo.hpp.
Referenced by valid(), and ~halo_record().