26                            const boost::property_tree::ptree &cfg,
    29     , bus_sub_(ctx, 
zmqpp::socket_type::sub)
    30     , network_pub_(ctx, 
zmqpp::socket_type::pub)
    32     bus_sub_.connect(
"inproc://zmq-bus-pub");
    49     msg >> src >> type >> card >> bits;
    50     INFO(
"Will publish card id {" << card << 
"}");
    54         INFO(
"EventPublish cannot handle this type of credential yet.");
    66         ss << std::hex << 
"0x";
    73         INFO(
"Bla: {" << ss.str() << 
"}");
    81         std::stringstream ss2;
    96     auto port = 
config_.get<
int>(
"module_config.port");
   100     for (
auto &&itr : 
config_.get_child(
"module_config.sources"))
   102         auto name = itr.second.get<std::string>(
"");
 Run the Event publication module. 
 
zmqpp::socket bus_sub_
Read internal message bus. 
 
This define message formatting for data source SIMPLE_WIEGAND. 
 
zmqpp::socket network_pub_
Publish to the internet. 
 
Base class for module implementation. 
 
zmqpp::reactor reactor_
The reactor object we poll() on in the main loop. 
 
std::shared_ptr< CoreUtils > CoreUtilsPtr
 
Module that publish wiegand auth event on a ZMQ publisher. 
 
void process_config()
Processing the configuration tree, spawning AuthFileInstance object as described in the configuration...
 
boost::property_tree::ptree config_
The configuration tree passed to the start_module function.