21#include <yarp/os/Log.h> 
   27using namespace yarp::os;
 
   40                         const char *format, ...)
 const 
   50        vsnprintf(buf,
sizeof(buf),format,arg);
 
   57            yError(
"%s",str.c_str());
 
   60            yWarning(
"%s",str.c_str());
 
   63            yInfo(
"%s",str.c_str());
 
   66            printf(
"%s\n",str.c_str());
 
 
   82    map<string,Node*>::const_iterator it=
nodes.find(
name);
 
   83    return (it!=
nodes.end()?it->second:NULL);
 
 
virtual void printMessage(const int logtype, const int level, const char *format,...) const
 
Node * getNode(const std::string &name) const
Retrieve an attached node by its name.
 
void attachNode(Node &node)
Attach a node object to the model.
 
std::map< std::string, Node * > nodes
 
An abstract class that exposes the basic methods for the handling of data acquired through the attach...
 
std::string getName() const
Retrieve the node name.