- Timestamp:
- May 1, 2008, 6:48:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Component.h
r81 r82 5 5 * $Id$ 6 6 * 7 * [ 7 * [ Description ] 8 8 * 9 9 */ … … 65 65 #define INSTANCE_ALL 0x7 66 66 67 typedef struct68 {69 //public : Component * _component;70 public : Entity * _entity ;71 public : Tinstance_t _instance ;72 } Tcomponent_t;73 74 67 class Component 75 68 { 76 // -----[ fields ]---------------------------------------------------- 69 typedef struct 70 { 71 public : Component * _component; 72 public : Entity * _entity ; 73 public : Tinstance_t _instance ; 74 } Tcomponent_t; 75 76 // -----[ fields ]---------------------------------------------------- 77 77 private : const Tusage_t _usage; 78 78 private : Entity * _entity ; 79 79 private : std::list<Tcomponent_t*> * _list_component; 80 80 81 // -----[ 82 public : Component (Tusage_t usage =USE_ALL);81 // -----[ methods ]--------------------------------------------------- 82 public : Component (Tusage_t usage); 83 83 public : Component (const Component & component); 84 84 public : ~Component (); 85 86 public : std::string get_name (void); 85 87 86 88 public : Entity * set_entity (std::string name … … 124 126 private : bool test_map (uint32_t depth, bool recursive); 125 127 128 // public : bool test_equi (bool recursive=true); 129 // private : bool test_equi (uint32_t depth, bool recursive); 130 126 131 #ifdef POSITION 127 132 public : void interface_map (std::string component_src ,
Note: See TracChangeset
for help on using the changeset viewer.