28 #include <uhd/usrp/multi_usrp.hpp> 50 bool exitflag =
false;
54 std::cerr <<
"CMD STREAM: [" << cmd->
toString() <<
"]" << std::endl;
59 std::cerr <<
"CW TXT STREAM: [" << cmd->
toString() <<
"]" << std::endl;
95 SoDa::UI ui(¶ms, &cwtxt_stream, &rx_stream, &if_stream,
96 &cmd_stream, &gps_stream);
117 int main(
int argc,
char * argv[])
120 return doWork(argc, argv);
123 std::cerr <<
"Exception caught at SoDa main: " << std::endl;
124 std::cerr <<
"\t" << exc->
toString() << std::endl;
The Baseclass for all SoDa objects, and useful commonly used classes.
The Thread baseclass for all SoDa thread objects.
T * get(unsigned int subscriber_id)
TestServer(CmdMBox *_cwtxt_stream, CmdMBox *_cmd_stream)
This class handles command line parameters and built-ins.
The SoDa Exception class.
CmdTarget target
the thing we're touching
void start()
Execute the threads run loop.
void run()
Each thread object must define its "run" loop.
std::string toString()
Create a string that explains this exception.
void join()
more properly "Wait for this thread to exit its run loop".
On receipt of a STOP command, all threads should exit their run loop.
This is a list of all the commands that can "do something" to one or more components in the SoDa radi...
int doWork(int argc, char *argv[])
int main(int argc, char *argv[])
std::string toString() const
return a string that displays the command