- Timestamp:
- Sep 28, 2007, 2:58:08 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Component_set_component.cpp
r43 r57 15 15 void Component::set_component (Component * component 16 16 #ifdef POSITION 17 ,uint32_t pos_x18 ,uint32_t pos_y19 ,uint32_t size_x20 ,uint32_t size_y17 ,uint32_t pos_x 18 ,uint32_t pos_y 19 ,uint32_t size_x 20 ,uint32_t size_y 21 21 #endif 22 ,Tinstance_t instance 22 23 ) 23 24 { … … 26 27 Entity * entity = component->_entity; 27 28 28 _list_component->push_back(entity); 29 Tcomponent_t * entry = new Tcomponent_t; 30 31 entry->_instance = instance; 32 entry->_entity = entity; 33 34 _list_component->push_back(entry); 29 35 30 36 #ifdef POSITION 31 entity->mapping( pos_x, pos_y, size_x, size_y); 37 if (instance & INSTANCE_POSITION) 38 entity->mapping( pos_x, pos_y, size_x, size_y); 32 39 #endif 33 40
Note: See TracChangeset
for help on using the changeset viewer.