source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Position_set_component.cpp @ 31

Last change on this file since 31 was 31, checked in by rosiere, 17 years ago

Class Position qui encapsule la génération des fichiers de positions

File size: 495 bytes
Line 
1#ifdef POSITION
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/include/Position.h"
10
11namespace morpheo              {
12namespace behavioural          {
13
14  void Position::set_component (Entity * entity, 
15                                uint32_t size_x,
16                                uint32_t size_y,
17                                uint32_t pos_x ,
18                                uint32_t pos_y )
19  {
20    _list_component->push_back(entity);
21
22    entity->mapping(size_x, size_y, pos_x, pos_y);
23  };
24
25}; // end namespace behavioural         
26}; // end namespace morpheo             
27#endif
Note: See TracBrowser for help on using the repository browser.