Changeset 440

Show
Ignore:
Timestamp:
08/26/09 18:35:43 (15 years ago)
Author:
bhilburn
Message:

Replacing tabs with spaces.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/src/include/vtcross/components.h

    r431 r440  
    138138        void DeregisterComponent(); 
    139139 
    140         /* Starts the SML Server and watches it for incoming messages 
    141         */ 
    142         void StartSMLServer(); 
     140    /* Starts the SML Server and watches it for incoming messages 
     141    */ 
     142    void StartSMLServer(); 
    143143 
    144144    private:  
     
    157157         */ 
    158158        void ReceiveServices(int32_t ID); 
    159             void DeregisterServices(int32_t ID); 
     159         void DeregisterServices(int32_t ID); 
    160160 
    161161        /* Change the active mission of the radio to a new one and adjust radio 
     
    166166        /* TODO 
    167167         */ 
    168             void RegisterCognitiveEngine(int32_t ID); 
    169             void DeregisterCognitiveEngine(int32_t ID); 
     168        void RegisterCognitiveEngine(int32_t ID); 
     169        void DeregisterCognitiveEngine(int32_t ID); 
    170170 
    171171        /* List all services provided to the radio by registered components. 
     
    178178        void LoadConfiguration(const char *SML_Config, Mission* &mList); 
    179179 
    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); 
     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); 
    189189 
    190190        /* The socket file descriptor information for the shell which this SML 
     
    195195        /* TODO 
    196196         */ 
    197             int16_t CEPort; 
     197        int16_t CEPort; 
    198198        int16_t SMLport; 
    199             uint16_t numberOfCognitiveEngines; 
    200         int32_t cogEngSrv; 
     199        uint16_t numberOfCognitiveEngines; 
     200        int32_t cogEngSrv; 
    201201        int32_t activeMission; 
    202             uint32_t Current_ID;  
    203             bool CE_Present; 
    204             CE_Reg *CE_List; 
     202        uint32_t Current_ID;  
     203        bool CE_Present; 
     204        CE_Reg *CE_List; 
    205205        Mission *miss; 
    206206}; 
     
    319319 
    320320 
    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(); 
     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(); 
    328328 
    329329        /* The SML_present bool reflects whether or not the remote component 
     
    386386        void DeregisterSML(int32_t socketFD); 
    387387         
    388             void SetActiveMission(int32_t socketFD); 
     388        void SetActiveMission(int32_t socketFD); 
    389389 
    390390        /* Handle a message that is received from a component. 
     
    403403        /* TODO 
    404404         */ 
    405                 bool UpdateParameterPerformance(int32_t socketFD); 
     405        bool UpdateParameterPerformance(int32_t socketFD); 
    406406 
    407407        /* TODO