Changeset 440
- Timestamp:
- 08/26/09 18:35:43 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
vtcross/trunk/src/include/vtcross/components.h
r431 r440 138 138 void DeregisterComponent(); 139 139 140 141 142 140 /* Starts the SML Server and watches it for incoming messages 141 */ 142 void StartSMLServer(); 143 143 144 144 private: … … 157 157 */ 158 158 void ReceiveServices(int32_t ID); 159 159 void DeregisterServices(int32_t ID); 160 160 161 161 /* Change the active mission of the radio to a new one and adjust radio … … 166 166 /* TODO 167 167 */ 168 169 168 void RegisterCognitiveEngine(int32_t ID); 169 void DeregisterCognitiveEngine(int32_t ID); 170 170 171 171 /* List all services provided to the radio by registered components. … … 178 178 void LoadConfiguration(const char *SML_Config, Mission* &mList); 179 179 180 181 182 183 184 185 /* TODO 186 */ 187 188 180 /* Create and initialize the DB to hold the services 181 */ 182 void CreateServicesDB(); 183 void CreateDataDB(); 184 185 /* TODO 186 */ 187 void PerformActiveMission(); 188 void TransactData(int32_t sourceID); 189 189 190 190 /* The socket file descriptor information for the shell which this SML … … 195 195 /* TODO 196 196 */ 197 197 int16_t CEPort; 198 198 int16_t SMLport; 199 200 199 uint16_t numberOfCognitiveEngines; 200 int32_t cogEngSrv; 201 201 int32_t activeMission; 202 203 204 202 uint32_t Current_ID; 203 bool CE_Present; 204 CE_Reg *CE_List; 205 205 Mission *miss; 206 206 }; … … 319 319 320 320 321 322 323 324 325 326 327 321 /* BuildCognitiveEngine performs the CE implementation specific work 322 * that defines the internals of a CE. For example, a CBR CE engine 323 * would build the case-base reasoner or create the database, a neural 324 * network based CE may perform the initial training, a GA based CE 325 * may build the chromosome structure. 326 */ 327 void BuildCognitiveEngine(); 328 328 329 329 /* The SML_present bool reflects whether or not the remote component … … 386 386 void DeregisterSML(int32_t socketFD); 387 387 388 388 void SetActiveMission(int32_t socketFD); 389 389 390 390 /* Handle a message that is received from a component. … … 403 403 /* TODO 404 404 */ 405 405 bool UpdateParameterPerformance(int32_t socketFD); 406 406 407 407 /* TODO