1 #include <pbd/controllable.h>
9 sigc::signal<void,Controllable*> Controllable::Destroyed;
10 sigc::signal<bool,Controllable*> Controllable::StartLearning;
11 sigc::signal<void,Controllable*> Controllable::StopLearning;
13 Controllable::Controllable (std::string name)
19 Controllable::get_state ()
21 XMLNode* node = new XMLNode (_name);
23 _id.print (buf, sizeof (buf));
24 node->add_property (X_("id"), buf);
29 Controllable::set_state (const XMLNode& node)
31 const XMLProperty* prop = node.property (X_("id"));
37 error << _("Controllable state node has no ID property") << endmsg;