Changeset 49

Show
Ignore:
Timestamp:
01/10/05 15:02:20 (19 years ago)
Author:
wagi
Message:

- Listen for given time (in seconds) for events on the bus

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freebob/src/streamprocess.cpp

    r43 r49  
    3434 
    3535void 
    36 StreamProcess::run(
     36StreamProcess::run( int timeToListen
    3737{ 
    3838    m_pCMHandler = CMHandler::instance(); 
     
    4949 
    5050    printf( "Waiting: " ); 
    51     for ( int i = 0; i < 10; ++i ) { 
     51    for ( int i = 0; i < timeToListen; ++i ) { 
    5252        printf( "." ); 
    5353        fflush( stdout ); 
  • trunk/freebob/src/streamprocess.h

    r43 r49  
    3333    ~StreamProcess(); 
    3434 
    35     void run(); 
     35    void run( int timeToListen ); 
    3636 private: 
    3737    CMHandler* m_pCMHandler;