SObjectizer
5.5
|
An interface of data sources repository. More...
#include <repository.hpp>
Public Member Functions | |
virtual void | add (source_t &what)=0 |
Registration of new data source. More... | |
virtual void | remove (source_t &what) noexcept=0 |
Deregistration of previously registered data source. More... | |
Protected Member Functions | |
repository_t (const repository_t &)=delete | |
repository_t (repository_t &&)=delete | |
repository_t & | operator= (const repository_t &)=delete |
repository_t & | operator= (repository_t &&)=delete |
repository_t ()=default | |
virtual | ~repository_t () noexcept=default |
Static Protected Member Functions | |
static void | source_list_add (source_t &what, source_t *&head, source_t *&tail) noexcept |
Helper method for adding data source to existing list. More... | |
static void | source_list_remove (source_t &what, source_t *&head, source_t *&tail) noexcept |
Helper method for removing data source from existing list. More... | |
static source_t * | source_list_next (const source_t &what) noexcept |
Helper method for accessing next data source in the list. More... | |
An interface of data sources repository.
|
protecteddelete |
|
protecteddelete |
|
protecteddefault |
|
protectedvirtualdefaultnoexcept |
|
pure virtual |
Registration of new data source.
Caller must guarantee that the data source will live until it is registered in the repository.
Implemented in so_5::env_infrastructures::st_reusable_stuff::stats_controller_t< Lock_Holder >, so_5::env_infrastructures::st_reusable_stuff::stats_controller_t< so_5::details::actual_lock_holder_t<> >, so_5::env_infrastructures::st_reusable_stuff::stats_controller_t< so_5::details::no_lock_holder_t >, and so_5::stats::impl::std_controller_t.
|
protecteddelete |
|
protecteddelete |
|
pure virtualnoexcept |
Deregistration of previously registered data source.
Implemented in so_5::env_infrastructures::st_reusable_stuff::stats_controller_t< Lock_Holder >, so_5::env_infrastructures::st_reusable_stuff::stats_controller_t< so_5::details::actual_lock_holder_t<> >, so_5::env_infrastructures::st_reusable_stuff::stats_controller_t< so_5::details::no_lock_holder_t >, and so_5::stats::impl::std_controller_t.
|
staticprotectednoexcept |
Helper method for adding data source to existing list.
what | A new data source to be added to the list. |
head | Marker of the list head. Will be modified if the list is empty. |
tail | Marker of the list tail. Will be modified. |
|
staticprotectednoexcept |
Helper method for accessing next data source in the list.
what | The current item. |
|
staticprotectednoexcept |
Helper method for removing data source from existing list.
what | An item to be removed. |
head | Marker of the list head. Will be modified if the list becomes empty. |
tail | Marker of the list tail. Will be modified if the item at the end of the list. |