| | |
| | | #include <functional> |
| | | #include <map> |
| | | #include <memory> |
| | | class CenterTopicNode; |
| | | |
| | | class BHCenter |
| | | { |
| | |
| | | static bool Install(const std::string &name, MsgHandler handler, RawHandler raw_handler, IdleHandler idle, const MQInfo &mq, const int mq_len); |
| | | |
| | | BHCenter(Socket::Shm &shm); |
| | | ~BHCenter() { Stop(); } |
| | | ~BHCenter(); |
| | | bool Start(); |
| | | bool Stop(); |
| | | |
| | |
| | | static CenterRecords &Centers(); |
| | | |
| | | std::map<std::string, std::shared_ptr<ShmSocket>> sockets_; |
| | | std::unique_ptr<CenterTopicNode> topic_node_; |
| | | }; |
| | | |
| | | #endif // end of include guard: CENTER_TM9OUQTG |