User API for bactria's ranges functionality.
◆ bactria_ActionEvent
#define bactria_ActionEvent |
( |
|
action, |
|
|
|
color, |
|
|
|
category |
|
) |
| |
Value: { \
e.set_action(action); \
e.fire(__FILE__, __LINE__, __func__); \
}
A macro that fires an event with an action.
A macro that internally creates an event, assigns it an action, fires it and destroys it afterwards. If you want to customize the event's behaviour you will have to manage the event's lifetime and fire operation on your own by instantiating the Event class.
- Parameters
-
[in] | action | The action generating the event name as it should later appear on the visualizer. |
[in] | color | The color of the event as it should later appear on the visualizer. |
[in] | category | The Category of the event. |
◆ bactria_Event
#define bactria_Event |
( |
|
name, |
|
|
|
color, |
|
|
|
category |
|
) |
| |
Value: { \
e.fire(__FILE__, __LINE__, __func__); \
}
A macro that fires an event.
A macro that internally creates an event, fires it and destroys it afterwards. If you want to customize the event's behaviour you will have to manage the event's lifetime and fire operation on your own by instantiating the Event class.
- Parameters
-
[in] | name | The name of the event as it should later appear on the visualizer. |
[in] | color | The color of the event as it should later appear on the visualizer. |
[in] | category | The Category of the event. |