libcyberradio  22.01.24
DataPort.h
1 /***************************************************************************
2  * \file DataPort.h
3  * \brief Defines the 10GigE data port interface for an NDR308.
4  * \author DA
5  * \author NH
6  * \author MN
7  * \copyright (c) 2017 CyberRadio Solutions, Inc. All rights reserved.
8  *
9  ***************************************************************************/
10 
11 #ifndef INCLUDED_LIBCYBERRADIO_DRIVER_NDR308_DATAPORT_H
12 #define INCLUDED_LIBCYBERRADIO_DRIVER_NDR308_DATAPORT_H
13 
14 #include "LibCyberRadio/Driver/DataPort.h"
15 
16 
20 namespace LibCyberRadio
21 {
25  namespace Driver
26  {
27  // Forward declaration for RadioHandler
28  class RadioHandler;
29 
33  namespace NDR308
34  {
45  {
46  public:
55  DataPort(int index = 0,
56  ::LibCyberRadio::Driver::RadioHandler* parent = NULL,
57  bool debug = false,
58  const std::string& sourceIP = "0.0.0.0");
62  virtual ~DataPort();
67  DataPort(const DataPort& other);
73  virtual DataPort& operator=(const DataPort& other);
74 
75  }; /* class DataPort */
76 
77  } /* namespace NDR308 */
78 
79 
80  } /* namespace Driver */
81 
82 } /* namespace LibCyberRadio */
83 
84 #endif /* INCLUDED_LIBCYBERRADIO_DRIVER_NDR308_DATAPORT_H */
DataPort(int index=0, ::LibCyberRadio::Driver::RadioHandler *parent=NULL, bool debug=false, const std::string &sourceIP="0.0.0.0")
Constructs a DataPort object.
Definition: DataPort.cpp:24
10GigE data port class.
Definition: DataPort.h:45
10GigE data port class for the NDR308.
Definition: DataPort.h:44
Generic radio handler class.
Definition: RadioHandler.h:54
virtual int debug(const char *format,...)
Outputs debug information.
Definition: Debuggable.cpp:95
virtual ~DataPort()
Destroys a DataPort object.
Definition: DataPort.cpp:40
Defines functionality for LibCyberRadio applications.
Definition: App.h:23
virtual DataPort & operator=(const DataPort &other)
Assignment operator for DataPort objects.
Definition: DataPort.cpp:49