libcyberradio  22.01.24
WbddcGroupComponent.h
1 /***************************************************************************
2  * \file WbddcGroupComponent.h
3  * \brief Defines the WBDDC group 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 #ifndef INCLUDED_LIBCYBERRADIO_DRIVER_NDR472_WBDDCGROUPCOMPONENT_H
12 #define INCLUDED_LIBCYBERRADIO_DRIVER_NDR472_WBDDCGROUPCOMPONENT_H
13 
14 #include "LibCyberRadio/Driver/WbddcGroupComponent.h"
15 #include "LibCyberRadio/Common/BasicDict.h"
16 #include <string>
17 
18 
22 namespace LibCyberRadio
23 {
27  namespace Driver
28  {
29  // Forward declaration for RadioHandler
30  class RadioHandler;
31 
35  namespace NDR472
36  {
37 
46  {
47  public:
55  WbddcGroupComponent(int index = 1,
56  ::LibCyberRadio::Driver::RadioHandler* parent = NULL,
57  bool debug = false);
61  virtual ~WbddcGroupComponent();
72  virtual WbddcGroupComponent& operator=(const WbddcGroupComponent& other);
73 
74  protected:
75  // OVERRIDE
76  virtual bool executeWbddcGroupEnableQuery(int index,
77  bool& enabled);
78  // OVERRIDE
79  virtual bool executeWbddcGroupMemberQuery(int index, int groupMember,
80  bool& isMember);
81 
82  }; // class WbddcGroupComponent
83 
84  } /* namespace NDR472 */
85 
86  } // namespace Driver
87 
88 } // namespace LibCyberRadio
89 
90 
91 #endif // INCLUDED_LIBCYBERRADIO_DRIVER_NDR472_WBDDCGROUPCOMPONENT_H
virtual ~WbddcGroupComponent()
Destroys a WbddcGroupComponent object.
virtual WbddcGroupComponent & operator=(const WbddcGroupComponent &other)
Assignment operator for WbddcGroupComponent objects.
virtual bool executeWbddcGroupMemberQuery(int index, int groupMember, bool &isMember)
Executes the WBDDC group member query command.
WbddcGroupComponent(int index=1, ::LibCyberRadio::Driver::RadioHandler *parent=NULL, bool debug=false)
Constructs a WbddcGroupComponent object.
virtual bool executeWbddcGroupEnableQuery(int index, bool &enabled)
Executes the WBDDC group enable query command.
Base WBDDC group component class.
Generic radio handler class.
Definition: RadioHandler.h:54
virtual int debug(const char *format,...)
Outputs debug information.
Definition: Debuggable.cpp:95
Defines functionality for LibCyberRadio applications.
Definition: App.h:23
WBDDC group component class for the NDR472.