PicoScenes API Docs
 
Loading...
Searching...
No Matches
SDRNIC.hxx
Go to the documentation of this file.
1//
2// Created by Zhiping Jiang on 5/4/21.
3//
4
5#ifndef PICOSCENES_PLATFORM_SDRNIC_HXX
6#define PICOSCENES_PLATFORM_SDRNIC_HXX
7
8#include "AbstractNIC.hxx"
10
17class SDRNIC : virtual public AbstractNIC {
18public:
29 static std::shared_ptr<SDRNIC> getInstance(const std::string &referredInterfaceName);
30
31protected:
40 explicit SDRNIC(const std::string &referredInterfaceName);
41
42 std::shared_ptr<AbstractSDRFrontEnd> sdrFrontEnd;
43};
44
45#endif //PICOSCENES_PLATFORM_SDRNIC_HXX
Abstract base class for Network Interface Card (NIC) operations.
std::string referredInterfaceName
Interface name reference.
A class representing an SDR Network Interface Card (NIC).
Definition SDRNIC.hxx:17
static std::shared_ptr< SDRNIC > getInstance(const std::string &referredInterfaceName)
Gets an instance of SDRNIC.
SDRNIC(const std::string &referredInterfaceName)
Constructs an SDRNIC object.
std::shared_ptr< AbstractSDRFrontEnd > sdrFrontEnd
The SDR front end associated with this NIC.
Definition SDRNIC.hxx:42