libcyberradio  22.01.24
DataPort.h
1 /***************************************************************************
2  * \file DataPort.h
3  * \brief Defines the 10GigE data port interface for an NDR308-TS.
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_NDR308TS_DATAPORT_H
12 #define INCLUDED_LIBCYBERRADIO_DRIVER_NDR308TS_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 NDR308TS
34  {
43  {
44  public:
53  DataPort(int index = 0,
54  ::LibCyberRadio::Driver::RadioHandler* parent = NULL,
55  bool debug = false,
56  const std::string& sourceIP = "0.0.0.0");
60  virtual ~DataPort();
65  DataPort(const DataPort& other);
71  virtual DataPort& operator=(const DataPort& other);
72 
73  }; /* class DataPort */
74 
75  } /* namespace NDR308TS */
76 
77 
78  } /* namespace Driver */
79 
80 } /* namespace LibCyberRadio */
81 
82 #endif /* INCLUDED_LIBCYBERRADIO_DRIVER_NDR308TS_DATAPORT_H */
10GigE data port class.
Definition: DataPort.h:45
virtual ~DataPort()
Destroys a DataPort object.
Definition: DataPort.cpp:40
Generic radio handler class.
Definition: RadioHandler.h:54
virtual int debug(const char *format,...)
Outputs debug information.
Definition: Debuggable.cpp:95
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
virtual DataPort & operator=(const DataPort &other)
Assignment operator for DataPort objects.
Definition: DataPort.cpp:49
Defines functionality for LibCyberRadio applications.
Definition: App.h:23
10GigE data port class for the NDR308-TS.
Definition: DataPort.h:42