Changeset 94 in pacpusframework for branches/2.0-beta1/src/TestComponents/test


Ignore:
Timestamp:
May 22, 2013, 3:25:24 PM (12 years ago)
Author:
DHERBOMEZ Gérald
Message:

fix windows

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  
    102102    ${QT_LIBRARIES}
    103103    ${OpenCV_LIBRARIES}
     104        road_time
    104105)
    105106
  • branches/2.0-beta1/src/TestComponents/test/testComponent1.cpp

    r89 r94  
    9797
    9898        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());
    100100        usleep(waitTime);
    101101        i++;
  • branches/2.0-beta1/src/TestComponents/test/testComponent1.h

    r89 r94  
    55@date created 2010-06-03 16:13
    66@author Julien Moras
    7 @author Sergio Rodriguez
    87@version $Id: $
    98*/
     
    2221#include "Pacpus/structure/genericStructures.h"
    2322
    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 
     23namespace pacpus {                                                                             
    4024
    4125class TestComponent2;
  • branches/2.0-beta1/src/TestComponents/test/testComponent2.cpp

    r89 r94  
    9595//        }
    9696//    }
    97         fprintf(fp,"%u %lld \n",i++, get_timestamp());
     97//        fprintf(fp,"%u %lld \n",i++, get_timestamp());
    9898
    9999    setState(MONITOR_OK);
Note: See TracChangeset for help on using the changeset viewer.