Robobo
ActiveObject.h
1 #ifndef ACTIVEOBJECT_INCLUDED
2 #define ACTIVEOBJECT_INCLUDED
3 
4 #include <FreeRTOS.h>
5 #include "timers.h"
6 #include "queue.h"
7 #include "MethodRequest.h"
8 
10 {
11  private:
12  QueueHandle_t queue;
13 
14  public:
15  ActiveObject();
16 
17  TimerHandle_t createTimer (
18  MethodRequestBase *mr,
19  const TickType_t xTimerPeriod,
20  const UBaseType_t uxAutoReload );
21 
22  uint8_t executeMethod(MethodRequestBase *mr);
23 
24 };
25 
26 void ActiveObjectTimerCallback( TimerHandle_t xTimer );
27 void ActiveObjectTaskFunction( void * );
28 
29 #endif
Definition: MethodRequest.h:6
Definition: ActiveObject.h:9