[67] | 1 | #ifndef morpheo_behavioural_generic_queue_Parameters_h |
---|
| 2 | #define morpheo_behavioural_generic_queue_Parameters_h |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | * $Id: Parameters.h 101 2009-01-15 17:19:08Z rosiere $ |
---|
| 6 | * |
---|
| 7 | * [ Description ] |
---|
| 8 | * |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | #include "Common/include/Debug.h" |
---|
| 12 | #include "Behavioural/include/Parameters.h" |
---|
| 13 | #include <math.h> |
---|
| 14 | |
---|
| 15 | namespace morpheo { |
---|
| 16 | namespace behavioural { |
---|
| 17 | namespace generic { |
---|
| 18 | namespace queue { |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | class Parameters : public morpheo::behavioural::Parameters |
---|
| 22 | { |
---|
| 23 | //-----[ fields ]------------------------------------------------------------ |
---|
[101] | 24 | public : const uint32_t _size_queue ; |
---|
| 25 | public : const uint32_t _size_data ; |
---|
| 26 | public : const uint32_t _nb_port_slot ; |
---|
| 27 | public : const bool _have_port_ptr_write; |
---|
| 28 | public : const bool _have_port_ptr_read ; |
---|
[67] | 29 | |
---|
[101] | 30 | public : const uint32_t _size_ptr ; |
---|
| 31 | public : const bool _have_port_ptr ; |
---|
| 32 | |
---|
[67] | 33 | //-----[ methods ]----------------------------------------------------------- |
---|
[101] | 34 | public : Parameters (uint32_t size_queue , |
---|
| 35 | uint32_t size_data , |
---|
| 36 | uint32_t nb_port_slot , |
---|
| 37 | bool have_port_ptr_write, |
---|
| 38 | bool have_port_ptr_read ); |
---|
[100] | 39 | |
---|
[88] | 40 | // public : Parameters (Parameters & param) ; |
---|
[67] | 41 | public : ~Parameters () ; |
---|
| 42 | |
---|
[88] | 43 | public : void copy (void); |
---|
| 44 | |
---|
[78] | 45 | public : Parameters_test msg_error (void); |
---|
[67] | 46 | |
---|
[75] | 47 | public : std::string print (uint32_t depth); |
---|
| 48 | public : friend std::ostream& operator<< (std::ostream& output_stream, |
---|
| 49 | morpheo::behavioural::generic::queue::Parameters & x); |
---|
[67] | 50 | }; |
---|
| 51 | |
---|
| 52 | }; // end namespace queue |
---|
| 53 | }; // end namespace generic |
---|
| 54 | |
---|
| 55 | }; // end namespace behavioural |
---|
| 56 | }; // end namespace morpheo |
---|
| 57 | |
---|
| 58 | #endif |
---|