blob: 0ddb76ef9a744c0299b94352a37b53567fe49183 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// Copyright (c) 2018 DENSO CORPORATION. All rights reserved.
/**
* Good loser type class
*/
#ifndef RBACONTENTLOSERTYPE_HPP
#define RBACONTENTLOSERTYPE_HPP
namespace rba
{
/**
* @enum RBAContentLoserType
* Type of behavior when content loses the arbitration
*/
enum class RBAContentLoserType : std::uint8_t
{
/**
* @brief Always cancels its request when losing arbitration.
*/
GOOD_LOSER=0,
/**
* @brief Cancels its request only if it lost the arbitration in the displaying state.
*/
DO_NOT_GIVEUP_UNTIL_WIN,
/**
* @brief Never cancels its request.
*/
NEVER_GIVEUP
};
}
#endif
|