Update of /cvsroot/playerstage/code/player/server/drivers/mixed/phidgetIFK
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10464/player/server/drivers/mixed/phidgetIFK

Modified Files:
        phidgetIFK.cc 
Log Message:
applied Toby's autopointer patches

Index: phidgetIFK.cc
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/server/drivers/mixed/phidgetIFK/phidgetIFK.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** phidgetIFK.cc       9 Jun 2007 04:15:08 -0000       1.1
--- phidgetIFK.cc       23 Aug 2007 19:58:46 -0000      1.2
***************
*** 128,132 ****
  
      // This method will be invoked on each incoming message
!     virtual int ProcessMessage(MessageQueue* resp_queue,
                                 player_msghdr * hdr,
                                 void * data);
--- 128,132 ----
  
      // This method will be invoked on each incoming message
!     virtual int ProcessMessage(QueuePointer &resp_queue,
                                 player_msghdr * hdr,
                                 void * data);
***************
*** 317,321 ****
  }
  
! int PhidgetIFK::ProcessMessage(MessageQueue* resp_queue,
                                       player_msghdr * hdr,
                                       void * data) {
--- 317,321 ----
  }
  
! int PhidgetIFK::ProcessMessage(QueuePointer &resp_queue,
                                       player_msghdr * hdr,
                                       void * data) {
***************
*** 542,550 ****
          //Time to publish the packets! (only for the interfaces defined in 
the config file)
          if (aio_id.interf !=0) {
!             Publish(aio_id, NULL, PLAYER_MSGTYPE_DATA, PLAYER_AIO_DATA_STATE, 
(unsigned char*)&data_ai, sizeof(player_aio_data_t), NULL);
          }
  
          if (dio_id.interf != 0) {
!             Publish(dio_id, NULL, PLAYER_MSGTYPE_DATA, 
PLAYER_DIO_DATA_VALUES, (unsigned char*)&data_di, sizeof(player_dio_data_t), 
NULL);
          }
  
--- 542,550 ----
          //Time to publish the packets! (only for the interfaces defined in 
the config file)
          if (aio_id.interf !=0) {
!             Publish(aio_id, PLAYER_MSGTYPE_DATA, PLAYER_AIO_DATA_STATE, 
(unsigned char*)&data_ai, sizeof(player_aio_data_t), NULL);
          }
  
          if (dio_id.interf != 0) {
!             Publish(dio_id, PLAYER_MSGTYPE_DATA, PLAYER_DIO_DATA_VALUES, 
(unsigned char*)&data_di, sizeof(player_dio_data_t), NULL);
          }
  


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to