Show
Ignore:
Timestamp:
05/15/09 11:47:36 (15 years ago)
Author:
wrodgers
Message:

Implemented service DB, transfer methods

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/src/cognitive_engines/CognitiveEngine.cpp

    r231 r255  
    8181 
    8282    if(SML) { 
     83        RegisterServices(); 
    8384        RegisterComponent(); 
    84         RegisterServices(); 
    8585        LOG("Cognitive Engine connected to SML at %s.\n", serverName); 
    8686        ReceiveRadioConfiguration(); 
     
    339339{ 
    340340    if(SML_present) { 
    341         DeregisterServices(); 
     341        //DeregisterServices(); 
    342342        DeregisterComponent(); 
    343343    }  
     
    363363} 
    364364 
     365        RegisterServices(); 
    365366 
    366367void 
     
    402403} 
    403404 
    404  
    405 void  
     405//Combined with deregister component since those two things must happen togeather 
     406/*void  
    406407CognitiveEngine::DeregisterServices() 
    407408{ 
     
    420421    SendMessage(commandSocketFD, "jam_bluetooth"); 
    421422 
    422 } 
     423}*/ 
    423424 
    424425void