Changeset 94 in pacpusframework for branches/2.0-beta1/src/TestComponents/test
- Timestamp:
- May 22, 2013, 3:25:24 PM (12 years ago)
- Location:
- branches/2.0-beta1/src/TestComponents/test
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0-beta1/src/TestComponents/test/CMakeLists.txt
r90 r94 102 102 ${QT_LIBRARIES} 103 103 ${OpenCV_LIBRARIES} 104 road_time 104 105 ) 105 106 -
branches/2.0-beta1/src/TestComponents/test/testComponent1.cpp
r89 r94 97 97 98 98 LOG_INFO("Send data " << i << " time " << get_timestamp()); 99 fprintf(fp,"%u %lld \n",i, get_timestamp());99 // fprintf(fp,"%u %lld \n",i, get_timestamp()); 100 100 usleep(waitTime); 101 101 i++; -
branches/2.0-beta1/src/TestComponents/test/testComponent1.h
r89 r94 5 5 @date created 2010-06-03 16:13 6 6 @author Julien Moras 7 @author Sergio Rodriguez8 7 @version $Id: $ 9 8 */ … … 22 21 #include "Pacpus/structure/genericStructures.h" 23 22 24 namespace pacpus { 25 26 typedef unsigned long long timestamp_t; 27 28 static timestamp_t get_timestamp () 29 { 30 struct timeval now; 31 gettimeofday (&now, NULL); 32 return now.tv_usec + (timestamp_t)now.tv_sec * 1000000; 33 } 34 35 //class PacpusImage : public PacpusTimeStampedData { 36 //public : 37 // QImage image; 38 //}; 39 23 namespace pacpus { 40 24 41 25 class TestComponent2; -
branches/2.0-beta1/src/TestComponents/test/testComponent2.cpp
r89 r94 95 95 // } 96 96 // } 97 fprintf(fp,"%u %lld \n",i++, get_timestamp());97 // fprintf(fp,"%u %lld \n",i++, get_timestamp()); 98 98 99 99 setState(MONITOR_OK);
Note:
See TracChangeset
for help on using the changeset viewer.