[core] [oils] [libraries] [C++ messages] [coding guidelines] | [up to overview ] |
#include <msg/client/mRunClient.h>
mRunClient (int *ac, char ***av);
Will start up the client manager. It wants pointers to the argv/argc parameters passed to to main(), as the clientmanager takes care of toolkit specific options.
This message is usually used in main() to start up things:main(int argc, char **argv) { ObjectManager::instance().LoadInterests(); try { mRunClient mr(&argc,&argv); mr.Send(); } catch(exception& ex) { cerr << "exception: " << ex.what() << endl; } }