libcyberradio 22.01.24
DataPort.cpp
1/***************************************************************************
2 * \file DataPort.cpp
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#include "LibCyberRadio/Driver/NDR308/DataPort.h"
12#include <boost/format.hpp>
13
14
15namespace LibCyberRadio
16{
17
18 namespace Driver
19 {
20
21 namespace NDR308
22 {
23
26 bool debug,
27 const std::string& sourceIP) :
28 ::LibCyberRadio::Driver::DataPort(/* const std::string& name */ (boost::format("NDR308-DP%02d") % \
29 index).str(),
30 /* int index */ index,
31 /* RadioHandler* parent */ parent,
32 /* bool debug */ debug,
33 /* const std::string& sourceIP */ sourceIP,
34 /* int numDataPortDipEntries */ 64,
35 /* int dataPortDipEntryIndexBase */ 0)
36 {
38 }
39
43
46 {
47 }
48
50 {
51 ::LibCyberRadio::Driver::DataPort::operator=(other);
52 if ( this != &other )
53 {
54 }
55 return *this;
56 }
57
58 } // namespace NDR308
59
60 } /* namespace Driver */
61
62} /* namespace LibCyberRadio */
63
virtual int debug(const char *format,...)
Outputs debug information.
virtual void initConfigurationDict()
Initializes the configuration dictionary, defining the allowed keys.
Definition DataPort.cpp:302
virtual DataPort & operator=(const DataPort &other)
Assignment operator for DataPort objects.
Definition DataPort.cpp:49
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()
Destroys a DataPort object.
Definition DataPort.cpp:40
Generic radio handler class.
Provides programming elements for driving NDR308 radios.
Definition DataPort.h:34
Provides programming elements for driving CRS NDR-class radios.
Defines functionality for LibCyberRadio applications.
Definition App.h:24