- Timestamp:
- Apr 14, 2009, 8:39:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Component_set_entity.cpp
r81 r113 13 13 #undef FUNCTION 14 14 #define FUNCTION "Component::set_entity" 15 Entity * Component::set_entity (std::string name16 ,std::string type15 Entity * Component::set_entity (std::string name 16 ,std::string type 17 17 #ifdef POSITION 18 ,schema_t 18 ,schema_t schema 19 19 #endif 20 20 ) 21 21 { 22 22 log_printf(FUNC,Behavioural,FUNCTION,"Begin"); 23 24 if (_entity != NULL) 25 throw ERRORMORPHEO(FUNCTION,_("Entity is already allocated.\n")); 23 26 24 27 Entity * entity = new Entity (name … … 29 32 ,_usage 30 33 ); 34 31 35 _entity = entity; 32 36
Note: See TracChangeset
for help on using the changeset viewer.