Jared Boone
|
46b3d9d087
|
Disallow copy constructors/assignments.
For classes containing pointers/state that should not be copied.
|
2016-11-26 16:52:57 -08:00 |
|
Jared Boone
|
4eb0facacb
|
Add lots of value constructors.
|
2016-11-26 16:50:44 -08:00 |
|
Jared Boone
|
c52f5fa26c
|
Expose static EventDispatcher to stop main loop.
Used to fix reboot into HackRF firmware.
|
2016-07-02 16:38:01 -07:00 |
|
Jared Boone
|
eac4cf678a
|
Capture M4 chDbgPanic msg, show in application.
|
2016-07-02 15:33:03 -07:00 |
|
Jared Boone
|
59aa99c8ff
|
Whoops, use events_flag(), not events_flag_isr().
|
2016-06-21 11:19:22 -07:00 |
|
Jared Boone
|
76c5fe96af
|
Use app-local queue for messages coming from application.
Messages are now deferred until application thread call stack unwinds, events are checked.
|
2016-06-21 11:00:42 -07:00 |
|
Jared Boone
|
dbe735233a
|
Add app-local MessageQueue.
|
2016-06-21 10:57:44 -07:00 |
|
Jared Boone
|
6bd191349a
|
Hide MessageHandlerMap.
Definitely didn't belong in message.hpp, saw no reason to expose it outside translation unit (.cpp file).
|
2016-06-19 22:56:06 -07:00 |
|
Jared Boone
|
f731366248
|
Hide some M0 EventDispatcher event masks.
|
2016-06-19 11:41:38 -07:00 |
|
Jared Boone
|
dbc2a5c9ea
|
Hide CaptureThread event mask, only used internally.
|
2016-06-19 11:20:45 -07:00 |
|
Jared Boone
|
479a96fc22
|
Move Painter into EventDispatcher.
|
2016-05-12 15:52:18 -07:00 |
|
Jared Boone
|
d64344a84f
|
Un-template MessageHandlerRegistration, move code to .cpp.
|
2016-05-12 15:24:08 -07:00 |
|
Jared Boone
|
7d4dd03418
|
Wrap message handler registrations in class to subscribe/unsubscribe automatically.
|
2016-05-11 22:53:09 -07:00 |
|
Jared Boone
|
91ee2dbb67
|
Move FIFO and write size to CaptureConfig structure.
Now configured from baseband, where write size and appropriate FIFO size is known.
|
2016-04-26 22:26:30 -07:00 |
|
Jared Boone
|
c585f3d4ea
|
Rename EVT_FIFO_HIGHWATER -> EVT_MASK_CAPTURE_THREAD.
|
2016-04-23 17:30:55 -07:00 |
|
Jared Boone
|
3103e9b80e
|
Remove unused EventDispatcher::thread_record.
|
2016-04-23 17:26:54 -07:00 |
|
Jared Boone
|
8e14d2f4e8
|
Signal SD card write thread from M4 event.
|
2016-04-11 10:20:19 -07:00 |
|
Jared Boone
|
0681f9c5df
|
Init message queues in M0 event dispatcher.
|
2016-02-16 11:23:02 -08:00 |
|
Jared Boone
|
b801366e4e
|
Recover from display sleep, use LCD sleep function.
|
2016-01-27 21:05:28 -08:00 |
|
Jared Boone
|
894d4b955c
|
Unclever first attempt at display sleep.
|
2016-01-27 20:33:54 -08:00 |
|
Jared Boone
|
9cab3c9978
|
Remove message_map from Context.
It doesn't belong in a display/rendering context object, it has much broader significance, mostly distributing messages via the M4->M0 IPC mechanism.
|
2016-01-13 15:46:04 -08:00 |
|
Jared Boone
|
f06d5989db
|
Move EventDispatcher code out of .hpp.
|
2016-01-12 22:20:13 -08:00 |
|
Jared Boone
|
731cea1b96
|
Move event.* code into event_m[04].*.
Slightly more duplication of code now. Need a base class...
|
2016-01-12 22:00:42 -08:00 |
|
Jared Boone
|
e73a9f98a1
|
Move EventDispatcher code into event_*.hpp.
More code redistribution coming shortly...
|
2016-01-12 21:49:29 -08:00 |
|
Jared Boone
|
c1e5577669
|
Eliminate duplicate code between event_m4.hpp, event.hpp.
event.* is common code, _m0 and _m4 contain specific event mask definitions.
|
2016-01-04 12:54:05 -08:00 |
|