Leosac  0.8.0
Open Source Access Control
ModuleManager::ModuleInfo Struct Reference

Internal helper struct that store informations related to module that are useful to the module manager. More...

#include <module_manager.hpp>

+ Collaboration diagram for ModuleManager::ModuleInfo:

Public Member Functions

 ~ModuleInfo ()
 
 ModuleInfo (const Leosac::ConfigManager &cfg)
 
 ModuleInfo (const ModuleInfo &)=delete
 
ModuleInfooperator= (const ModuleInfo &)=delete
 
 ModuleInfo (ModuleInfo &&o)
 Enable move constructor for std::set. More...
 
ModuleInfooperator= (ModuleInfo &&)=delete
 
bool operator< (const ModuleInfo &o) const
 

Public Attributes

std::string name_
 Name of the module, as specified in the configuration file. More...
 
std::shared_ptr< DynamicLibrarylib_
 Pointer to the library object. More...
 
std::unique_ptr< zmqpp::actor > actor_
 Actor object that runs the module code. More...
 

Private Attributes

const Leosac::ConfigManagercfg_
 

Detailed Description

Internal helper struct that store informations related to module that are useful to the module manager.

Note
This goes into a Set, but we need non-const access to the actor_ pointer.

Definition at line 73 of file module_manager.hpp.

Constructor & Destructor Documentation

◆ ~ModuleInfo()

ModuleManager::ModuleInfo::~ModuleInfo ( )

Definition at line 256 of file module_manager.cpp.

◆ ModuleInfo() [1/3]

ModuleManager::ModuleInfo::ModuleInfo ( const Leosac::ConfigManager cfg)

Definition at line 260 of file module_manager.cpp.

◆ ModuleInfo() [2/3]

ModuleManager::ModuleInfo::ModuleInfo ( const ModuleInfo )
delete

◆ ModuleInfo() [3/3]

ModuleManager::ModuleInfo::ModuleInfo ( ModuleManager::ModuleInfo &&  o)

Enable move constructor for std::set.

Definition at line 267 of file module_manager.cpp.

Member Function Documentation

◆ operator<()

bool ModuleManager::ModuleInfo::operator< ( const ModuleInfo o) const

Definition at line 311 of file module_manager.cpp.

◆ operator=() [1/2]

ModuleInfo& ModuleManager::ModuleInfo::operator= ( const ModuleInfo )
delete

◆ operator=() [2/2]

ModuleInfo& ModuleManager::ModuleInfo::operator= ( ModuleInfo &&  )
delete

Member Data Documentation

◆ actor_

std::unique_ptr<zmqpp::actor> ModuleManager::ModuleInfo::actor_
mutable

Actor object that runs the module code.

Definition at line 101 of file module_manager.hpp.

◆ cfg_

const Leosac::ConfigManager& ModuleManager::ModuleInfo::cfg_
private

Definition at line 106 of file module_manager.hpp.

◆ lib_

std::shared_ptr<DynamicLibrary> ModuleManager::ModuleInfo::lib_
mutable

Pointer to the library object.

Definition at line 96 of file module_manager.hpp.

◆ name_

std::string ModuleManager::ModuleInfo::name_

Name of the module, as specified in the configuration file.

Definition at line 91 of file module_manager.hpp.


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