Micke Prag
|
f7336b34f9
|
Rewrite our callback dispatcher. Instead of dynamically create new
threads for each callback they are now precreated when they are
registered. Each callback will now be called using the same thread each
time.
|
2014-01-08 13:55:02 +01:00 |
|
Micke Prag
|
78444e20b9
|
Add #include <string> for string, according to Google style guidelines "build/include_what_you_use"
|
2012-06-19 12:30:50 +02:00 |
|
Micke Prag
|
0d25f0b389
|
Fix #ifndef header guard style, according to Google style guidelines
"build/header_guard"
|
2012-06-19 12:30:50 +02:00 |
|
Micke Prag
|
5b5be387cd
|
Include the directory when naming .h files. According to Google style guideline "build/include".
|
2012-06-19 12:30:49 +02:00 |
|
Micke Prag
|
246b4273ce
|
Add callback TDControllerEvent
|
2012-02-27 15:19:04 +01:00 |
|
Micke Prag
|
148fd52c76
|
Create one generic callback dispatcher that can handle all our
callbacks.
This minimize code duplication and allows us much easier to add and
maintain callbacks.
|
2012-02-24 16:47:30 +01:00 |
|
Stefan Persson
|
c049b97a64
|
Dispatching of events in own thread, to somewhat counter problems with long running events.
|
2012-02-23 15:48:39 +01:00 |
|
Micke Prag
|
a7a59302ef
|
Implement done() for all callbackdispatchers
|
2011-10-07 09:37:16 +00:00 |
|
Micke Prag
|
27ddbb9eb8
|
Add done() getter to DeviceChangeEventDispatcher
|
2011-10-07 09:37:13 +00:00 |
|
Micke Prag
|
9535ecd0ae
|
Merge branch t102, this closes #102
|
2011-10-06 14:12:55 +00:00 |
|
Micke Prag
|
054f8076e1
|
Changed parameter dataType in SensorEvent to be an int instead of string
|
2011-05-12 15:31:17 +00:00 |
|
Micke Prag
|
61b193ad2d
|
Added class TDSensorEventDispatcher
|
2011-05-12 14:57:54 +00:00 |
|
Micke Prag
|
0345f70616
|
Added mutexes to the callbacks to allow unregistering and callbacks at the same time
|
2011-03-02 09:09:32 +00:00 |
|
Micke Prag
|
b81b656e83
|
Retrieve callbackstruct as pointer instead of copy
|
2011-03-01 18:17:30 +00:00 |
|
Micke Prag
|
0163ba4d44
|
Removed our templated CallbackDispatcher, is only caused problems.
|
2010-11-02 17:08:55 +00:00 |
|
Micke Prag
|
7f7d9445a7
|
Use CallbackDispatcher for DeviceChange- and RawDevice events also
|
2010-11-02 14:48:13 +00:00 |
|
Micke Prag
|
348de30928
|
Welcome new class CallbackDispatcher
|
2010-11-02 14:30:30 +00:00 |
|