[Dfsm-devel] dFSM/src/utils dfsm_monitor.cpp,1.12,1.13 send_to.cpp,1.6,1.7 supervisor.cpp,1.9,1.10
Status: Beta
Brought to you by:
amoreno
|
From: Andreu M. <am...@us...> - 2004-04-03 06:44:17
|
Update of /cvsroot/dfsm/dFSM/src/utils In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1816/src/utils Modified Files: dfsm_monitor.cpp send_to.cpp supervisor.cpp Log Message: Add support for manual and automatic state machine identification Index: send_to.cpp =================================================================== RCS file: /cvsroot/dfsm/dFSM/src/utils/send_to.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** send_to.cpp 31 Mar 2004 16:42:20 -0000 1.6 --- send_to.cpp 3 Apr 2004 06:32:02 -0000 1.7 *************** *** 25,28 **** --- 25,29 ---- #include "libdfsm/tevent.h" + #define SENDTO_MACHINE_ID 126 int main(int argc, char *argv[]) *************** *** 36,39 **** --- 37,42 ---- return 0; } + + tinputs->init(SENDTO_MACHINE_ID); machine_n=atoi(argv[1]); Index: supervisor.cpp =================================================================== RCS file: /cvsroot/dfsm/dFSM/src/utils/supervisor.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** supervisor.cpp 31 Mar 2004 16:42:20 -0000 1.9 --- supervisor.cpp 3 Apr 2004 06:32:02 -0000 1.10 *************** *** 21,24 **** --- 21,27 ---- * $Revision$ * $Log$ + * Revision 1.10 2004/04/03 06:32:02 amoreno + * Add support for manual and automatic state machine identification + * * Revision 1.9 2004/03/31 16:42:20 amoreno * Tinput interface supports send and send_to (useful for utilities) and change monitor as service *************** *** 106,109 **** --- 109,113 ---- #define MAXARGV 32 + #define SUPERVISOR_MACHINE_ID 127 struct automata *************** *** 221,224 **** --- 225,230 ---- // Setup Input_service + + tinputs->init(SUPERVISOR_MACHINE_ID); tinputs->set_event_handler(events); tinput_service->run(); Index: dfsm_monitor.cpp =================================================================== RCS file: /cvsroot/dfsm/dFSM/src/utils/dfsm_monitor.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** dfsm_monitor.cpp 31 Mar 2004 16:42:20 -0000 1.12 --- dfsm_monitor.cpp 3 Apr 2004 06:32:02 -0000 1.13 *************** *** 21,24 **** --- 21,27 ---- * $Revision$ * $Log$ + * Revision 1.13 2004/04/03 06:32:02 amoreno + * Add support for manual and automatic state machine identification + * * Revision 1.12 2004/03/31 16:42:20 amoreno * Tinput interface supports send and send_to (useful for utilities) and change monitor as service *************** *** 95,98 **** --- 98,102 ---- #include "libdfsm/tevent.h" + #define MONITOR_MACHINE_ID 126 tEvent *events; *************** *** 374,377 **** --- 378,382 ---- // Setup Input_service tEvent *events = new tEvent(); + tinputs->init(MONITOR_MACHINE_ID); tinputs->set_event_handler(events); //tinput_service->run(); |