35 namespace TestAndReset
    42                                 const boost::property_tree::ptree &cfg,
 TestAndResetModule & operator=(const TestAndResetModule &)=delete
 
void test_sequence()
Do some stuff to let the user known the test card was read. 
 
void run_test_sequence()
Do some stuff to let the user known something happened. 
 
This is the header file for a generated source file, GitSHA1.cpp. 
 
bool has_reset_card(const std::string &card_id) const
Search the device_reset_card_ map for an entry whose value is card_id;. 
 
zmqpp::socket sub_
Sub socket on the BUS. 
 
bool run_on_start_
Play the sequence on module startup. 
 
std::unique_ptr< Hardware::FLED > test_buzzer_
Buzzer device for test card. 
 
std::map< std::string, std::string > device_reset_card_
Map a device name to the reset card, since one device can support one reset card currently. 
 
TestAndResetModule(zmqpp::context &ctx, zmqpp::socket *pipe, const boost::property_tree::ptree &cfg, CoreUtilsPtr utils)
 
Base class for module implementation. 
 
virtual ~TestAndResetModule()
 
std::shared_ptr< CoreUtils > CoreUtilsPtr
 
std::map< std::string, std::string > device_test_card_
Map a device name to the test card. 
 
zmqpp::socket kernel_sock_
REQ socket to kernel. 
 
std::unique_ptr< Hardware::FLED > test_led_
Led device for test card.