22 #include <yarp/os/Network.h>
23 #include <yarp/os/ResourceFinder.h>
32 yarp::os::Network
yarp;
35 yarp::os::ResourceFinder rf;
36 rf.setDefaultContext(
"learningMachine");
37 rf.configure(
argc, argv);
47 ret = module.runModule(rf);
48 }
catch(
const std::exception&
e) {
49 std::cerr <<
"Error: " <<
e.what() << std::endl;
53 std::cerr <<
"Error: " << msg << std::endl;
virtual bool close()
Close the module.
void registerEventListeners()
void registerTransformers()
Copyright (C) 2008 RobotCub Consortium.