Last change
on this file since 107 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
528 bytes
|
Rev | Line | |
---|
[31] | 1 | /* |
---|
| 2 | * $Id: Component_get_entity.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
[42] | 8 | #include "Behavioural/include/Component.h" |
---|
[31] | 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | |
---|
[43] | 13 | #undef FUNCTION |
---|
| 14 | #define FUNCTION "Component::get_entity" |
---|
[75] | 15 | std::string Component::get_entity (void) |
---|
[31] | 16 | { |
---|
[43] | 17 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
| 18 | |
---|
[75] | 19 | std::ostringstream text; |
---|
[31] | 20 | text << *(_entity); |
---|
[43] | 21 | |
---|
| 22 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
| 23 | |
---|
[31] | 24 | return text.str(); |
---|
| 25 | }; |
---|
| 26 | |
---|
| 27 | }; // end namespace behavioural |
---|
| 28 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.