SoDaRadio-12.2.0-cut_dependencies:6c82803
Loading...
Searching...
No Matches
IFServer.hxx File Reference

IFServer is an example of a simple "plugin" that may be built as a shareable library and then loaded into SoDaRadio via the loadable plugin interface. More...

#include <SoDaRadio/SoDaBase.hxx>
#include <SoDaRadio/SoDaThread.hxx>
#include <SoDaRadio/UDSockets.hxx>

Go to the source code of this file.

Classes

class  IFServer
 This is a thread that subscribes to the SoDaRadio command and IF streams. More...

Detailed Description

IFServer is an example of a simple "plugin" that may be built as a shareable library and then loaded into SoDaRadio via the loadable plugin interface.

Plugins may be loaded by setting an environment variable "SODA_LOAD_LIBS" or by providing the "--load" option to the SoDaServer.

For instance, once this plugin has been built, it will be loaded by this command:

$ SoDaRadio --serverargs "--load libIFServer.so"

or, using an environment variable instead:

$ export SODA_LOAD_LIBS=libIFServer.so
$ SoDaRadio

User developed plugins may find this a useful starting point.

Author
Matt Reilly (kb1vc)

Definition in file IFServer.hxx.