[core]  [oils]  [libraries]  [C++ messages]  [coding guidelines] [up to overview ]

mRunClient (in msg_client)

Last updated:


Syntax

#include <msg/client/mRunClient.h>
mRunClient (int *ac, char ***av);


mRunClient

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.


Example

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;
          }
   }


This file is part of Project Mnemonic.