libcyberradio 22.01.24
SimpleIpSetup.cpp
1/***************************************************************************
2 * \file SimpleIpSetup.cpp
3 * \brief Defines the tuner interface for the NDR472.
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/NDR472/SimpleIpSetup.h"
12#include "LibCyberRadio/Driver/RadioHandler.h"
13#include "LibCyberRadio/Common/Pythonesque.h"
14#include <boost/lexical_cast.hpp>
15#include <boost/format.hpp>
16
17
18namespace LibCyberRadio
19{
20 namespace Driver
21 {
22
23 namespace NDR472
24 {
25
27 bool debug,
28 const std::string& sourceIP,
29 const std::string& destIP,
30 const std::string& destMAC) :
32 /* const std::string& name */ "NDR472-IP",
33 /* ::LibCyberRadio::Driver::RadioHandler* parent */ parent,
34 /* bool debug */ debug,
35 /* const std::string& sourceIP */ "0.0.0.0",
36 /* const std::string& destIP */ "0.0.0.0",
37 /* const std::string& destMAC */ "00:00:00:00:00:00")
38 {
40 }
41
45
50
52 {
53 ::LibCyberRadio::Driver::SimpleIpSetup::operator=(other);
54 if ( this != &other )
55 {
56 }
57 return *this;
58 }
59
60 } /* namespace NDR472 */
61
62 } // namespace Driver
63
64} // namespace LibCyberRadio
65
66
67
virtual int debug(const char *format,...)
Outputs debug information.
virtual SimpleIpSetup & operator=(const SimpleIpSetup &other)
Assignment operator for SimpleIpSetup objects.
SimpleIpSetup(::LibCyberRadio::Driver::RadioHandler *parent=NULL, bool debug=false, const std::string &sourceIP="0.0.0.0", const std::string &destIP="0.0.0.0", const std::string &destMAC="00:00:00:00:00:00")
Constructs a SimpleIpSetup object.
virtual ~SimpleIpSetup()
Destroys a SimpleIpSetup object.
Generic radio handler class.
virtual void initConfigurationDict()
Initializes the configuration dictionary, defining the allowed keys.
Provides programming elements for driving NDR472 radios.
Provides programming elements for driving CRS NDR-class radios.
Defines functionality for LibCyberRadio applications.
Definition App.h:24