26 #include <boost/property_tree/ptree.hpp>    29 #include <zmqpp/zmqpp.hpp>    44 class DoormanInstance;
    56                   const boost::property_tree::ptree &cfg, 
CoreUtilsPtr utils);
    64     virtual void run() 
override;
    66     const std::vector<Auth::AuthTargetPtr> &
doors() 
const;
    83     std::vector<std::shared_ptr<DoormanInstance>> 
doormen_;
    88     std::vector<Auth::AuthTargetPtr> 
doors_;
 std::vector< std::shared_ptr< DoormanInstance > > doormen_
Authenticator instances. 
 
This is the header file for a generated source file, GitSHA1.cpp. 
 
DoormanModule(zmqpp::context &ctx, zmqpp::socket *pipe, const boost::property_tree::ptree &cfg, CoreUtilsPtr utils)
 
void process_config()
Processing the configuration tree, spawning AuthFileInstance object as described in the configuration...
 
virtual void run() override
This is the main loop of the module. 
 
void process_doors_config(const boost::property_tree::ptree &t)
 
const std::vector< Auth::AuthTargetPtr > & doors() const
 
Base class for module implementation. 
 
DoormanModule & operator=(const DoormanModule &)=delete
 
std::shared_ptr< CoreUtils > CoreUtilsPtr
 
std::vector< Auth::AuthTargetPtr > doors_
Doors, to manage the always-on or always off stuff. 
 
Main class for the module, it create handlers and run them to, well, handle events and send command...