Stores bound events. More...
#include <c_binder.h>
Public Member Functions | |
c_binder (bool ex, const string &type, const string &user, const string &channel, const string &line, bool before, const string &function, c_module *module, vector< string > &error_log, const string &debug) | |
Constructor. | |
c_binder (bool ex, const string &type, const string &user, const string &channel, const string &line, bool before, vdcmod_dispatcher_func function, c_module *module, vector< string > &error_log, const string &debug) | |
Constructor. | |
bool | call_bound_dispatch_event (c_var_array *dispatch, const c_binder_data &internal_data) |
Matches this bind against masks. | |
bool | got_match (const string &type, const string &user, const string &channel, const string &line, bool before, c_binder_data &internal_data) |
Checks whether at least one bound event matches. | |
bool | operator== (const c_binder &x) const |
Comparsion operator. | |
Public Attributes | |
bool | m_before |
If to throw before processing. | |
bool | m_bin_module |
Is this binary module bind? | |
c_binder_mask | m_channel |
Channel mask. | |
string | m_debug |
Debug string. | |
vdcmod_dispatcher_func | m_func |
Binary module dispatcher. | |
string | m_function |
Name of function as handler. | |
bool | m_is_ex |
Whether this is "bind_ex". | |
c_binder_mask | m_line |
Line mask. | |
c_module * | m_module |
Module. | |
c_binder_mask | m_type |
Type mask. | |
c_binder_mask | m_user |
User mask. | |
Friends | |
class | c_binder_data |
Stores bound events.
Definition at line 205 of file c_binder.h.