Last change
on this file since 87 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:
709 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Signal_set_size.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/include/Signal.h" |
---|
9 | |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | |
---|
14 | #undef FUNCTION |
---|
15 | #define FUNCTION "Signal::set_size" |
---|
16 | void Signal::set_size (uint32_t size) |
---|
17 | { |
---|
18 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
19 | _size = size; |
---|
20 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
21 | }; |
---|
22 | |
---|
23 | #undef FUNCTION |
---|
24 | #define FUNCTION "Signal::set_size_max" |
---|
25 | void Signal::set_size_max (uint32_t size) |
---|
26 | { |
---|
27 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
28 | if (size > _size) |
---|
29 | _size = size; |
---|
30 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
31 | }; |
---|
32 | |
---|
33 | }; // end namespace behavioural |
---|
34 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.