X-Git-Url: https://ruin.nu/git/?p=popboot.git;a=blobdiff_plain;f=planner.h;fp=planner.h;h=8d116933f14a6d0122aaa0182ca22f21686ca277;hp=f00c61473382884c6c42bf427614278c627c851f;hb=3f82360c5e0c61eccacdbaf3bd077852b9326f34;hpb=a425dcba102ae92c0b132afa598318447d7f78c4 diff --git a/planner.h b/planner.h index f00c614..8d11693 100644 --- a/planner.h +++ b/planner.h @@ -3,6 +3,9 @@ #include #include +#include +#include +#include #include "action.h" class Node; @@ -14,10 +17,15 @@ class Planner { void execute(); + protected: void makePlan(Node* node); void addNode(Node* node); + + sem_t _nodes; + sem_t _list; + std::queue _executedNodes; Node* _start; Node* _finish;