| 95 | Bundle::~Bundle() = default; |
| 96 | |
| 97 | Bundle::State |
| 98 | Bundle::GetState() const |
| 99 | { |
| 100 | if (!d) |
| 101 | { |
| 102 | throw std::invalid_argument("invalid bundle"); |
| 103 | } |
| 104 | |
| 105 | return static_cast<State>(d->state.load()); |
| 106 | } |
| 107 | |
| 108 | void |
| 109 | Bundle::Start() |