summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/include/gnuradio/transfer_type.h
blob: ab01ead0b9a9ea1ebe786a83cf012b1ac4923a4d (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
/* -*- c++ -*- */
/*
 * Copyright 2021 BlackLynx, Inc.
 *
 * This file is part of GNU Radio
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 *
 */

#ifndef INCLUDED_GR_RUNTIME_TRANSFER_TYPE_H
#define INCLUDED_GR_RUNTIME_TRANSFER_TYPE_H

#include <gnuradio/api.h>
#include <ostream>

namespace gr {

enum class transfer_type {
    DEFAULT_INVALID,
    HOST_TO_DEVICE,
    DEVICE_TO_HOST,
    HOST_TO_HOST,
    DEVICE_TO_DEVICE
};

GR_RUNTIME_API std::ostream& operator<<(std::ostream& os, const transfer_type& type);
} // namespace gr

#endif