Changeset 288 in pacpusframework for trunk/examples
- Timestamp:
- Mar 26, 2014, 9:27:30 PM (11 years ago)
- Location:
- trunk/examples/ProducerConsumerExample
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/ProducerConsumerExample/ConsumerExample.cpp
r272 r288 10 10 DECLARE_STATIC_LOGGER("pacpus.cityvip.test.ConsumerExample"); 11 11 12 /// Construct the factory 13 static ComponentFactory<ConsumerExample> sFactory("ConsumerExample"); 12 PACPUS_REGISTER_COMPONENT(ConsumerExample); 14 13 15 14 ConsumerExample::ConsumerExample(QString name) -
trunk/examples/ProducerConsumerExample/ConsumerExample.h
r176 r288 10 10 #include <string> 11 11 12 namespace pacpus { 12 namespace pacpus 13 { 13 14 14 15 class PRODUCERCONSUMEREXAMPLE_API ConsumerExample 15 16 16 : public QObject 17 , public ComponentBase 17 18 { 18 19 Q_OBJECT -
trunk/examples/ProducerConsumerExample/ProducerExample.cpp
r202 r288 12 12 DECLARE_STATIC_LOGGER("pacpus.cityvip.test.ProducerExample"); 13 13 14 /// Construct the factory 15 static ComponentFactory<ProducerExample> sFactory("ProducerExample"); 14 PACPUS_REGISTER_COMPONENT(ProducerExample); 16 15 17 16 static const char * outputFileName = "producer.txt";
Note:
See TracChangeset
for help on using the changeset viewer.