Keyple Service C++ Library - 3.3.5
Component of the Keyple C++ middleware
MonitoringState.cpp
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (c) 2025 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * See the NOTICE file(s) distributed with this work for additional *
5 * information regarding copyright ownership. *
6 * *
7 * This program and the accompanying materials are made available under the *
8 * terms of the Eclipse Public License 2.0 which is available at *
9 * http://www.eclipse.org/legal/epl-2.0 *
10 * *
11 * SPDX-License-Identifier: EPL-2.0 *
12 ******************************************************************************/
13
14#include "keyple/core/service/MonitoringState.hpp"
15
16namespace keyple {
17namespace core {
18namespace service {
19
20std::ostream&
21operator<<(std::ostream& os, const MonitoringState ms)
22{
23 switch (ms) {
24 case MonitoringState::WAIT_FOR_START_DETECTION:
25 os << "WAIT_FOR_START_DETECTION";
26 break;
27 case MonitoringState::WAIT_FOR_CARD_PROCESSING:
28 os << "WAIT_FOR_CARD_PROCESSING";
29 break;
30 case MonitoringState::WAIT_FOR_CARD_REMOVAL:
31 os << "WAIT_FOR_CARD_REMOVAL";
32 break;
33 case MonitoringState::WAIT_FOR_CARD_INSERTION:
34 os << "WAIT_FOR_CARD_INSERTION";
35 break;
36 }
37
38 return os;
39}
40
41} /* namespace service */
42} /* namespace core */
43} /* namespace keyple */
std::ostream & operator<<(std::ostream &os, const ApduResponseAdapter &ara)