SoDaRadio-5.0.3-master:8901fb5
Public Member Functions | List of all members
SoDa::NoopControl Class Reference

a null control class that returns happily for everyone. More...

#include <TRControl.hxx>

Inheritance diagram for SoDa::NoopControl:
SoDa::TRControl

Public Member Functions

 NoopControl ()
 
bool setTXOn ()
 activate external controls to enable transmit mode. More...
 
bool setTXOff ()
 activate external controls to disable transmit mode. More...
 
bool getTX ()
 report state of transmit-enable. More...
 
- Public Member Functions inherited from SoDa::TRControl
 TRControl ()
 
virtual bool setBand (unsigned int band, bool state)
 turn on/off signal path for selected band note that multiple bands can be enabled at one time(!) More...
 
virtual bool getBand (unsigned int band)
 query state of signal path for selected band More...
 
virtual bool setServo (unsigned int servo_sel, double val)
 set state of selected servo More...
 

Additional Inherited Members

- Static Public Member Functions inherited from SoDa::TRControl
static TRControlmakeTRControl (uhd::usrp::multi_usrp::sptr usrp, int mboard=0)
 make the appropriate TR control widget given a pointer to a USRP device. More...
 

Detailed Description

a null control class that returns happily for everyone.

Definition at line 112 of file TRControl.hxx.

Constructor & Destructor Documentation

◆ NoopControl()

SoDa::NoopControl::NoopControl ( )
inline

Definition at line 114 of file TRControl.hxx.

Member Function Documentation

◆ getTX()

bool SoDa::NoopControl::getTX ( )
inlinevirtual

report state of transmit-enable.

Returns
true iff the transmitter is currently enabled.

Implements SoDa::TRControl.

Definition at line 118 of file TRControl.hxx.

◆ setTXOff()

bool SoDa::NoopControl::setTXOff ( )
inlinevirtual

activate external controls to disable transmit mode.

Returns
true if the operation completed successfully

Implements SoDa::TRControl.

Definition at line 117 of file TRControl.hxx.

◆ setTXOn()

bool SoDa::NoopControl::setTXOn ( )
inlinevirtual

activate external controls to enable transmit mode.

Returns
true if the operation completed successfully

Implements SoDa::TRControl.

Definition at line 116 of file TRControl.hxx.


The documentation for this class was generated from the following file: