{"action":"created","issue":{"url":"https://api.github.com/repos/sofa-framework/sofa/issues/80","repository_url":"https://api.github.com/repos/sofa-framework/sofa","labels_url":"https://api.github.com/repos/sofa-framework/sofa/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/sofa-framework/sofa/issues/80/comments","events_url":"https://api.github.com/repos/sofa-framework/sofa/issues/80/events","html_url":"https://github.com/sofa-framework/sofa/pull/80","id":192591724,"number":80,"title":"Data update","user":{"login":"matthieu-nesme","id":7704097,"avatar_url":"https://avatars.githubusercontent.com/u/7704097?v=3","gravatar_id":"","url":"https://api.github.com/users/matthieu-nesme","html_url":"https://github.com/matthieu-nesme","followers_url":"https://api.github.com/users/matthieu-nesme/followers","following_url":"https://api.github.com/users/matthieu-nesme/following{/other_user}","gists_url":"https://api.github.com/users/matthieu-nesme/gists{/gist_id}","starred_url":"https://api.github.com/users/matthieu-nesme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthieu-nesme/subscriptions","organizations_url":"https://api.github.com/users/matthieu-nesme/orgs","repos_url":"https://api.github.com/users/matthieu-nesme/repos","events_url":"https://api.github.com/users/matthieu-nesme/events{/privacy}","received_events_url":"https://api.github.com/users/matthieu-nesme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-30T15:15:39Z","updated_at":"2016-12-14T16:03:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sofa-framework/sofa/pulls/80","html_url":"https://github.com/sofa-framework/sofa/pull/80","diff_url":"https://github.com/sofa-framework/sofa/pull/80.diff","patch_url":"https://github.com/sofa-framework/sofa/pull/80.patch"},"body":"Adding a few utility functionalities to simplify Data tracking.\r\n\r\n- Data tracking system is now using Data's counter (lighter and simpler).\r\n- externalizing Data tracking system outside of DataEngine so it can be use elsewhere (including other kinds of components).\r\n- adding DataTrackerEngine that is a kind of DataEngine but that is not a component (not a BaseObject). It can easily be added anywhere and can link any Data, such as inside a Component, or even between components.\r\n- adding DataTrackerFunctor to call a functor as soon as a Data is modified.\r\n\r\nWhat you can do: (have a look at the tests)\r\n\r\n- check if a Data changed on a regular rhythm. e.g check at each time step if a stiffness parameters changed to update a Matrix.\r\n- automatically update a Data if its dependencies changed. e.g. young modulus can be set as a dependency of stiffness matrix, so each time you ask for the matrix, if the modulus changed, the matrix will be updated (behavior similar to DataEngine)\r\n- do an action as soon as a Data is modified. E.g. updating the gui scene graph as soon as a Node is (de)activated (by tracking the Data Node::activated).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sofa-framework/sofa/issues/comments/267073708","html_url":"https://github.com/sofa-framework/sofa/pull/80#issuecomment-267073708","issue_url":"https://api.github.com/repos/sofa-framework/sofa/issues/80","id":267073708,"user":{"login":"damienmarchal","id":12644882,"avatar_url":"https://avatars.githubusercontent.com/u/12644882?v=3","gravatar_id":"","url":"https://api.github.com/users/damienmarchal","html_url":"https://github.com/damienmarchal","followers_url":"https://api.github.com/users/damienmarchal/followers","following_url":"https://api.github.com/users/damienmarchal/following{/other_user}","gists_url":"https://api.github.com/users/damienmarchal/gists{/gist_id}","starred_url":"https://api.github.com/users/damienmarchal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damienmarchal/subscriptions","organizations_url":"https://api.github.com/users/damienmarchal/orgs","repos_url":"https://api.github.com/users/damienmarchal/repos","events_url":"https://api.github.com/users/damienmarchal/events{/privacy}","received_events_url":"https://api.github.com/users/damienmarchal/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T16:03:34Z","updated_at":"2016-12-14T16:03:34Z","body":"[ci-build] "}}
{"actor":{"display_login":"damienmarchal"}}