Skip to content

handler_attributes

Dmitry Koplyarov edited this page Apr 9, 2017 · 6 revisions

Back to reference

The attributes of a signal/listenable handler. See signal::connect, listenable::connect.
Here is the tutorial section.

Defined in wigwag/handler_attributes.hpp

enum class handler_attributes
{
	none = 0x0,
	suppress_populator = 0x1
};

handler_attributes operator | (handler_attributes l, handler_attributes r);
handler_attributes operator & (handler_attributes l, handler_attributes r);

Table of contents

Enum values

none

none = 0x0

No flags are set.

suppress_populator

suppress_populator = 0x1

Neither populator nor withdrawer are invoked if this flag is set.

Operators

operator |

handler_attributes operator | (handler_attributes l, handler_attributes r);

'Bitwise or' operator. As usual, used for setting flags.

Arguments:

  • l - left operand
  • r - right operand

operator &

handler_attributes operator & (handler_attributes l, handler_attributes r);

'Bitwise and' operator. As usual, used for resetting flags or checking if a flag is set.

Arguments:

  • l - left operand
  • r - right operand

Clone this wiki locally