GNU Radio's TEST Package
glfw_sink_c.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2013-2021 Sylvain Munaut <tnt@246tNt.com>
4 *
5 * This file is part of gr-fosphor
6 *
7 * SPDX-License-Identifier: GPL-3.0-or-later
8 */
9
10#pragma once
11
14
15#include <gnuradio/sync_block.h>
16
17namespace gr {
18 namespace fosphor {
19
20 /*!
21 * \brief GLFW version of fosphor sink
22 * \ingroup fosphor
23 */
24 class GR_FOSPHOR_API glfw_sink_c : virtual public base_sink_c
25 {
26 public:
27 typedef std::shared_ptr<glfw_sink_c> sptr;
28
29 /*!
30 * \brief Return a shared_ptr to a new instance of fosphor::glfw_sink_c.
31 *
32 * To avoid accidental use of raw pointers, fosphor::glfw_sink_c's
33 * constructor is in a private implementation
34 * class. fosphor::glfw_sink_c::make is the public interface for
35 * creating new instances.
36 */
37 static sptr make();
38 };
39
40 } // namespace fosphor
41} // namespace gr
#define GR_FOSPHOR_API
Definition api.h:17
Base fosphor sink API interface.
Definition base_sink_c.h:25
GLFW version of fosphor sink.
Definition glfw_sink_c.h:25
static sptr make()
Return a shared_ptr to a new instance of fosphor::glfw_sink_c.
std::shared_ptr< glfw_sink_c > sptr
Definition glfw_sink_c.h:27
Definition base_sink_c.h:17
Definition private.h:31