Changeset 196
- Timestamp:
- 03/23/09 21:48:45 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
vtcross/trunk/src/include/vtcross/libvtcross.h
r170 r196 16 16 #define LIBVTCROSS_H 17 17 18 #ifdef GCC_EXPERIMENTAL 19 #include <cstdint> 20 #else 21 #include <stdint.h> 22 #endif 18 #include <stdint.h> 23 19 24 20 #include "components.h" … … 94 90 95 91 /* Deactivate/Activate/Disconnect a component by id. 96 *97 * TODO This seems silly? If id's are independent of component type, why not98 * just have one deactivate function that takes an id and operates on it? Why do99 * we need 3 separate functions? They are all components...100 92 */ 101 bool DeactivateCE(uint32_t id); 102 bool DeactivatePE(uint32_t id); 103 bool DeactivateSML(uint32_t id); 104 bool ActivateCE(uint32_t id); 105 bool ActivatePE(uint32_t id); 106 bool ActivateSML(uint32_t id); 107 bool DisconnectCE(uint32_t id); 108 bool DisconnectPE(uint32_t id); 109 bool DisconnectSML(uint32_t id); 93 bool ActivateComponent(uint32_t id); 94 bool DeactivateComponent(uint32_t id); 95 bool DisconnectComponent(uint32_t id); 110 96 111 97