Leosac  0.8.0
Open Source Access Control
Leosac::ServiceRegistry::RegistrationInfo Struct Reference

An internal registration structure. More...

+ Collaboration diagram for Leosac::ServiceRegistry::RegistrationInfo:

Public Member Functions

 RegistrationInfo ()

Public Attributes

boost::typeindex::type_index service_interface
void * raw_service
std::unique_ptr< void, std::function< void(void *)> > unique_service

Detailed Description

An internal registration structure.

Each registered services is mapped to a RegistrationInfo through an instance of boost::typeindex::type_index.

Either raw_service or unique_service must be set.

Definition at line 121 of file ServiceRegistry.hpp.

Constructor & Destructor Documentation

◆ RegistrationInfo()

Leosac::ServiceRegistry::RegistrationInfo::RegistrationInfo ( )

Definition at line 123 of file ServiceRegistry.hpp.

Member Data Documentation

◆ raw_service

void* Leosac::ServiceRegistry::RegistrationInfo::raw_service

Definition at line 127 of file ServiceRegistry.hpp.

◆ service_interface

boost::typeindex::type_index Leosac::ServiceRegistry::RegistrationInfo::service_interface

Definition at line 124 of file ServiceRegistry.hpp.

◆ unique_service

std::unique_ptr<void, std::function<void(void *)> > Leosac::ServiceRegistry::RegistrationInfo::unique_service

Definition at line 128 of file ServiceRegistry.hpp.

The documentation for this struct was generated from the following file: