Add attention event handling priority logic

All active attention events are gathered and prioritized and the highest
priority event is handled.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: Icad55dacb23232801fdbb5995ef8ee3edc7e90f4
diff --git a/attn/meson.build b/attn/meson.build
index 6a81213..40a3875 100644
--- a/attn/meson.build
+++ b/attn/meson.build
@@ -39,7 +39,8 @@
 
 # gather attention sources to be used here and elsewhere if needed
 attn_src = files('attn_main.cpp', 'attn_handler.cpp', 'attn_monitor.cpp',
-                 'bp_handler.cpp', 'ti_handler.cpp', logging_src)
+                 'bp_handler.cpp', 'ti_handler.cpp', logging_src,
+                 'attention.cpp')
 
 # Create attention handler library
 attn = static_library('attn_handler',