blob: 5866d718d014f1fd3eb07976d46345332d0bd341 [file] [log] [blame]
Ben Tynerbcf65a82020-12-01 08:46:36 -06001#include <attn/attention.hpp> // for Attention
Ben Tynerb8335562021-07-16 12:43:52 -05002#include <attn/attn_common.hpp> // for RC_SUCCESS
Ben Tynerbcf65a82020-12-01 08:46:36 -06003#include <attn/attn_logging.hpp> // for trace
4
5namespace attn
6{
7
8/** @brief Handle SBE vital attention */
9int handleVital(Attention* i_attention)
10{
11 int rc = RC_SUCCESS;
12
13 // trace message
14 trace<level::INFO>("Vital handler");
15
16 // sanity check
17 if (nullptr == i_attention)
18 {
19 trace<level::INFO>("attention type is null");
20 rc = RC_NOT_HANDLED;
21 }
22
23 return rc;
24}
25
26} // namespace attn