Changeset 206 in pacpusframework for trunk/examples


Ignore:
Timestamp:
10/30/13 12:26:34 (11 years ago)
Author:
Marek Kurdej
Message:

Major: cleaned connection interfaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/ProducerConsumerExample/ConsumerExample.cpp

    r179 r206  
    9191    setState(MONITOR_OK);
    9292}
     93
     94void testPacpusTypedEventConverts()
     95{
     96    PacpusTypedEvent<float> floatEvent(TYPED_EVENT, 1.0f);
     97    PacpusTypedEvent<double> doubleEvent = floatEvent;
     98   
     99    PacpusTypedEvent<int> intEvent(TYPED_EVENT, 2);
     100    //PacpusTypedEvent<QImage> imageEvent = intEvent;
     101}
Note: See TracChangeset for help on using the changeset viewer.