Changeset 4105 for trunk/MagicSoft/Cosy/candrv
- Timestamp:
- 05/20/04 05:01:03 (21 years ago)
- Location:
- trunk/MagicSoft/Cosy/candrv
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/MagicSoft/Cosy/candrv/network.h ¶
r1727 r4105 1 #ifndef NETWORK_H2 #define NETWORK_H1 #ifndef COSY_Network 2 #define COSY_Network 3 3 4 #ifndef COSY_CanOpen 4 5 #include "canopen.h" 6 #endif 7 #ifndef COSY_NodeDrv 5 8 #include "nodedrv.h" 9 #endif 6 10 7 11 class Network : public CanOpen -
TabularUnified trunk/MagicSoft/Cosy/candrv/nodedrv.cc ¶
r2615 r4105 48 48 #include <iostream.h> 49 49 50 #include <TTimer.h>50 //#include <TTimer.h> 51 51 52 52 #include "MTime.h" … … 530 530 const Double_t t0 = t+fGuardTime; 531 531 532 while (!HasStopFlag() && t<t0 &&t<fTimeoutTime)532 while (!HasStopFlag() && (double)t<t0 && (double)t<fTimeoutTime) 533 533 { 534 534 usleep(5); … … 540 540 //cout << "-g-> " << (Long_t)((t-t0)*1000)<< endl; 541 541 542 if ( t<fTimeoutTime)542 if ((double)t<fTimeoutTime) 543 543 continue; 544 544 -
TabularUnified trunk/MagicSoft/Cosy/candrv/nodedrv.h ¶
r2518 r4105 1 #ifndef NODEDRV_H2 #define NODEDRV_H1 #ifndef COSY_NodeDrv 2 #define COSY_NodeDrv 3 3 4 #ifndef ROOT_TString 4 5 #include <TString.h> 6 #endif 5 7 8 #ifndef COSY_Log 6 9 #include "log.h" 10 #endif 7 11 8 12 #ifdef __CINT__ -
TabularUnified trunk/MagicSoft/Cosy/candrv/vmodican.cc ¶
r4076 r4105 934 934 // and switch the can bus communication on 935 935 // 936 VmodIcan::VmodIcan(const char *dev, const int baud, MLog &out) : Log(out), MThread(false, 1 0)//: CanDriver(dev, baud)936 VmodIcan::VmodIcan(const char *dev, const int baud, MLog &out) : Log(out), MThread(false, 1)//: CanDriver(dev, baud) 937 937 { 938 938 // -
TabularUnified trunk/MagicSoft/Cosy/candrv/vmodican.h ¶
r1727 r4105 1 #ifndef VMODICAN_H2 #define VMODICAN_H1 #ifndef COSY_VmodIcan 2 #define COSY_VmodIcan 3 3 4 4 #include <pthread.h> … … 16 16 #endif 17 17 18 #ifndef COSY_MThread 18 19 #include "MThread.h" 20 #endif 19 21 20 22 class Message;
Note:
See TracChangeset
for help on using the changeset viewer.