Deleted.
main.cpp
- Committer:
- QL
- Date:
- 2011-09-26
- Revision:
- 3:4df7120f6f33
- Parent:
- 2:27716f570c3d
File content as of revision 3:4df7120f6f33:
////////////////////////////////////////////////////////////////////////////// // 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; }