Skip to content

File Dispatcher.cpp

FileList > demo-projets > stm32 > src > Dispatcher.cpp

Go to the source code of this file.

  • #include "Dispatcher.hpp"
  • #include "FreeRTOS.h"
  • #include "utils/Debug.hpp"
  • #include "Bsp.hpp"
  • #include "BuzzerController.hpp"
  • #include "ControlLink.hpp"
  • #include "Esp32Manager.hpp"
  • #include "I2cController.hpp"
  • #include "MotorController.hpp"
  • #include "Power.hpp"
  • #include "StupidServoController.hpp"
  • #include "UltrasoundController.hpp"
  • #include "queue.h"
  • #include "rbcx.pb.h"
  • #include "utils/QueueWrapper.hpp"

Public Static Attributes

Type Name
QueueWrapper< CoprocReq, 8 > requestQueue
QueueWrapper< CoprocStat, 64 > statusQueue

Public Functions

Type Name
bool dispatcherEnqueueRequest (const CoprocReq & request)
bool dispatcherEnqueueStatus (const CoprocStat & status)
void dispatcherInit ()
void dispatcherPoll ()
void dispatcherReset ()

Public Static Functions

Type Name
void dispatcherProcessReq (const CoprocReq & request)

Public Static Attributes Documentation

variable requestQueue

QueueWrapper<CoprocReq, 8> requestQueue;

variable statusQueue

QueueWrapper<CoprocStat, 64> statusQueue;

Public Functions Documentation

function dispatcherEnqueueRequest

bool dispatcherEnqueueRequest (
    const CoprocReq & request
) 

function dispatcherEnqueueStatus

bool dispatcherEnqueueStatus (
    const CoprocStat & status
) 

function dispatcherInit

void dispatcherInit () 

function dispatcherPoll

void dispatcherPoll () 

function dispatcherReset

void dispatcherReset () 

Public Static Functions Documentation

function dispatcherProcessReq

static void dispatcherProcessReq (
    const CoprocReq & request
) 

The documentation for this class was generated from the following file demo-projets/stm32/src/Dispatcher.cpp