Deleted.
Diff: main.cpp
- Revision:
- 4:64ecf7d8ebc4
- Parent:
- 3:4df7120f6f33
diff -r 4df7120f6f33 -r 64ecf7d8ebc4 main.cpp --- a/main.cpp Mon Sep 26 03:32:15 2011 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,44 +0,0 @@ -////////////////////////////////////////////////////////////////////////////// -// Model: pelican.qm -// File: ./main.cpp -// -// This file has been generated automatically by QP Modeler (QM). -// DO NOT EDIT THIS FILE MANUALLY. -// -// Please visit www.state-machine.com/qm for more information. -////////////////////////////////////////////////////////////////////////////// -#include "qp_port.h" -#include "pelican.h" -#include "bsp.h" - -// Local-scope objects ------------------------------------------------------- -static QEvent const *l_pelicanQueueSto[5]; -static QEvent const *l_pedQueueSto[5]; -static QSubscrList l_subscrSto[MAX_PUB_SIG]; -static union { - void *e0; - uint8_t e1[sizeof(QEvent)]; - // ... other event types to go into this pool -} l_smlPoolSto[10]; // storage for the small event pool - -//............................................................................ -int main(void) { - BSP_init(); // initialize the BSP - QF::init(); // initialize the framework and the underlying RT kernel - // object dictionaries... - QS_OBJ_DICTIONARY(l_smlPoolSto); - QS_OBJ_DICTIONARY(l_pelicanQueueSto); - QS_OBJ_DICTIONARY(l_pedQueueSto); - - QF::psInit(l_subscrSto, Q_DIM(l_subscrSto)); // init publish-subscribe - // initialize event pools... - QF::poolInit(l_smlPoolSto, sizeof(l_smlPoolSto), sizeof(l_smlPoolSto[0])); - - // start the active objects... - AO_Pelican->start(1, l_pelicanQueueSto, Q_DIM(l_pelicanQueueSto), 0, 0); - AO_Ped ->start(2, l_pedQueueSto, Q_DIM(l_pedQueueSto), 0, 0); - - QF::run(); // run the QF application - - return 0; -}