Erik Ogenvik
86f4820a38
Refactor aiclient main loop.
...
We now use a totally boost::asio based loop. As a result the client
now plays along with other asio based components. Other clients are
broken currently though, needs to be fixed.
2018-09-25 23:30:03 +02:00
Erik Ogenvik
c99af50dbe
Provide template specialization for LocatedEntity.
2018-05-07 10:48:59 +02:00
Erik Ogenvik
7895d1b0aa
Reload minds when python code changes.
...
All thoughts are first persisted and then restored.
2018-05-01 22:23:31 +02:00
Erik Ogenvik
dce29d2d28
Remove future seconds totally.
2017-06-12 18:01:14 +02:00
Erik Ogenvik
7aaa9b9ba7
Optimize includes.
2017-03-19 21:36:52 +01:00
Erik Ogenvik
ee3c30854d
Remove the "immediate" queue.
...
It presented an option of starving the ops queue; if the immediate
queue always was full, no other op would ever be executed.
2016-12-30 23:53:44 +01:00
Erik Ogenvik
986aa35410
Always set current time on dispatched ops.
...
That way subsystems can always use getSeconds() on the current op
to know when it was dispatched.
2016-12-15 18:27:42 +01:00
Erik Ogenvik
74bb437540
Fixed tests.
2015-05-24 11:25:08 +02:00
Erik Ogenvik
dd352ec759
Refactor ai client to use op dispatch.
2015-05-24 11:25:08 +02:00
Erik Ogenvik
f9bfd991cd
Fixes after merge.
2015-05-24 11:25:08 +02:00
Erik Ogenvik
b4572d67e6
Moved operation dispatch to separate class.
...
So it can better be reused.
2015-05-24 11:25:08 +02:00