git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1773
270642c3-0616-0410-b53a-bc976706d245
std::find_if(registrations_.begin(), registrations_.end(),
l::bind(&detail::EventBindingBase::descriptor_,_1) == &event)
== registrations_.end(),
- "Internal failure: registrations still active while destroying event ??");
+ "Internal failure: registrations still active while destroying event."
+ "Maybe you've put the SENF_PPI_MODULE macro in a superclass instead of"
+ "in the subclass?");
}
//-/////////////////////////////////////////////////////////////////////////////////////////////////
// senf::ppi::EventDescriptor
prefix_ bool senf::ppi::EventDescriptor::enabled()
+ const
{
return enabled_;
}
public:
virtual ~EventDescriptor();
- bool enabled(); ///< Check, whether the event is currently enabled
+ bool enabled() const; ///< Check, whether the event is currently enabled
void enabled(bool v); ///< Enable or disable the event
protected: