signals2

    1熱度

    1回答

    我想通過一個插槽斷開像boost signals2 documentation的: Pass slot to disconnect: in this interface model, the disconnection of a slot connected with sig.connect(typeof(sig)::slot_type(slot_func)) is performed via s

    0熱度

    1回答

    typedef boost::signals2::signal<void()> signal_t; class AAA { public: void Connect(const signal_t::slot_type& subscriber) { return m_sig.connect(subscriber); } void FireSignal() {

    -1熱度

    1回答

    我試圖找出這個問題。 假設您的代碼使用boost::signals2進行對象之間的通信。讓我們稱他們爲「色彩」。這些colorscales的代碼通常位於與使用它們的代碼相同的DLL中。我們稱之爲main.dll 但是有時來自其他DLL的代碼需要使用這些對象,這就是問題開始的地方。 基本上,應用程序是相當大的,大多數的DLL被加載做一些工作,然後他們被卸載。對於包含colorscales代碼的DLL