dir.doc("DVB Controller " + controllerNr);
++controllerNr;
- dir.add("type", fty::BoundCommand(this, &DVBSocketController::getTypeString)
+ dir.add("type", fty::Command(&DVBSocketController::getTypeString, this)
.doc("Shows actual type of card DVB-{T, S, C}") );
- dir.add("info", fty::BoundCommand(this, &DVBSocketController::getTuneInfo)
+ dir.add("info", fty::Command(&DVBSocketController::getTuneInfo, this)
.doc("Returns a string which shows actual tuning status.\n"
"'S' prints signal strength (in hex)\n"
"'s' prints singal to noise ration (in hex)\n"
"and could end in throwing an exception!")
.arg("conf", "Ssbuf", kw::default_value = "Ssbuf") );
- dir.add("tune", fty::BoundCommand(this,&DVBSocketController::tuneToCMD)
+ dir.add("tune", fty::Command(&DVBSocketController::tuneToCMD, this)
.doc("tunes to channel listet in the configfile.")
.arg("channel", "channel to tune")
.arg("mode", "mode 'sync' or 'async'", kw::default_value = "async") );