Exemplo n.º 1
0
 void update(const std::string& name, const Activity& act)
 {
     std::cout << fmt("new state of %1% is %2%\n") % name % act.state();
     mNbUpdate++;
 }
Exemplo n.º 2
0
 void update(const std::string& name, const Activity& act)
 {
     std::cout << vle::utils::format("new state of %s is %i\n",
             name.c_str(), (int)act.state());
     mNbUpdate++;
 }