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 
18 namespace 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) :
31  ::LibCyberRadio::Driver::SimpleIpSetup(
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 
43  {
44  }
45 
47  ::LibCyberRadio::Driver::SimpleIpSetup(other)
48  {
49  }
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 ~SimpleIpSetup()
Destroys a SimpleIpSetup object.
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 void initConfigurationDict()
Initializes the configuration dictionary, defining the allowed keys.
Generic radio handler class.
Definition: RadioHandler.h:54
Defines functionality for LibCyberRadio applications.
Definition: App.h:23
Simple IP setup class for the NDR472.
Definition: SimpleIpSetup.h:47
virtual SimpleIpSetup & operator=(const SimpleIpSetup &other)
Assignment operator for SimpleIpSetup objects.