Logo Search packages:      
Sourcecode: fillets-ng version File versions

void BaseListener::registerWatcher ( const std::string &  param  )  [protected, inherited]

Register self as watcher for param. String msg param_changed(param) will be send when param has changed.

Definition at line 23 of file BaseListener.cpp.

Referenced by VideoAgent::own_init(), SoundAgent::own_init(), and OptionAgent::prepareDataPaths().

    StringMsg *event = new StringMsg(this, "param_changed", param);
    OptionAgent::agent()->addWatcher(param, event);

Generated by  Doxygen 1.6.0   Back to index