Mercurial > hg > Members > tkaito > task_dandy
view ppe/TitleMove.cc @ 23:3fb8a6a34e24
debug and keep up with task_array
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Oct 2010 17:28:56 +0900 |
parents | fd9deaa67de9 |
children | a131729d6e4d 6bea374ee604 |
line wrap: on
line source
#include <stdio.h> #include "SchedTask.h" #include "Property.h" #include "Pad.h" #include "Func.h" /* これは必須 */ SchedDefineTask1(TitleMove, titlemove); static int titlemove(SchedTask *s,void *rbuf, void *wbuf) { Pad* pad; ObjPropertyPtr i_obj, o_obj; i_obj = (ObjPropertyPtr)s->get_input(rbuf, 0); pad = (Pad*)s->get_input(rbuf, 1); o_obj = (ObjPropertyPtr)s->get_output(wbuf, 0); if(pad->start.isPush() || pad->start.isHold()) { i_obj->flag = 1; } o_obj = i_obj; return 0; }