- Timestamp:
- Sep 28, 2007, 2:58:08 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Component.h
r44 r57 20 20 #include "Common/include/ToString.h" 21 21 #include "Common/include/Debug.h" 22 #include "Behavioural/include/Usage.h" 22 23 23 24 using namespace std; … … 26 27 namespace behavioural { 27 28 29 typedef uint8_t Tinstance_t; 30 31 #define INSTANCE_NONE 0x0 32 #define INSTANCE_LIBRARY 0x1 33 #define INSTANCE_COMPONENT 0x2 34 #define INSTANCE_POSITION 0x4 35 #define INSTANCE_ALL 0x7 36 37 typedef struct 38 { 39 public : Tinstance_t _instance; 40 public : Entity * _entity ; 41 } Tcomponent_t; 42 28 43 class Component 29 44 { 30 45 // -----[ fields ]---------------------------------------------------- 46 private : const Tusage_t _usage; 31 47 private : Entity * _entity ; 32 private : list< Entity *>* _list_component;33 48 private : list<Tcomponent_t*> * _list_component; 49 34 50 // -----[ methods ]--------------------------------------------------- 35 public : Component ( void);51 public : Component (Tusage_t usage=USE_ALL); 36 52 public : Component (const Component & component); 37 53 public : ~Component (); … … 52 68 ,uint32_t size_y 53 69 #endif 70 ,Tinstance_t instance=INSTANCE_ALL 54 71 ); 55 72
Note: See TracChangeset
for help on using the changeset viewer.