Show
Ignore:
Timestamp:
03/26/09 12:53:27 (15 years ago)
Author:
bhilburn
Message:

Simply whitespace fixes.

Files:
1 modified

Legend:

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

    r208 r209  
    4949        } 
    5050 
    51          
    5251        /* Send an indentfying string for this object's component type in 
    5352         * response to a GetRemoteComponentType query. 
     
    5554        virtual void SendComponentType() = 0; 
    5655 
    57  
    5856        /* Wait for a command signal containing task instructions. 
    5957         */ 
    6058        virtual void WaitForSignal() = 0; 
    6159 
    62  
    6360        /* Completely shutdown the radio and all operations. 
    6461         */ 
    6562        virtual void Shutdown() = 0; 
    66  
    6763 
    6864        /* Reset the radio and reload all configuration files. 
     
    7167         */ 
    7268        virtual void Reset() = 0; 
    73  
    7469 
    7570        /* Register or deregister a component with the primary radio shell. 
     
    9792                const char* serverPort, const bool SML) = 0; 
    9893 
    99  
    10094        /* Register or deregister services that this engine provides with the 
    10195         * service management layer. 
     
    140134        void TransferRadioConfiguration(); 
    141135 
    142          
    143136        /* Receive information regarding a completed 'experience' and pass it on 
    144137         * to the appropriate cognitive engine. 
    145138         */ 
    146139        void TransferExperience(); 
    147  
    148140         
    149141        /* Listen for other components registering their available services with 
     
    152144        void ReceiveServices(); 
    153145 
    154  
    155146        /* Change the active mission of the radio to a new one and adjust radio 
    156147         * behavoir appropriately. 
     
    158149        void SetActiveMission(); 
    159150 
    160  
    161151        /* List all services provided to the radio by registered components. 
    162152         */ 
    163153        void ListServices(); 
    164  
    165154 
    166155        /* Load/Relead the XML configuration file.  
     
    169158        void LoadConfiguration(); 
    170159 
    171  
    172160        /* The socket file descriptor information for the shell which this SML 
    173161         * is connected to. 
     
    185173        PolicyEngine(); 
    186174        ~PolicyEngine(); 
    187  
    188175 
    189176        /* Overloaded constructor that creates a policy engine object and 
     
    211198        void ReloadPolicies(); 
    212199 
    213          
    214200        /* Return a decision made by the policy engine regarding a certain set 
    215201         * of transmission parameters. 
     
    218204                int32_t decision_array[]); 
    219205 
    220  
    221206        /* Validate a set of transmission parameters received from the radio. 
    222207         */ 
    223208        void ValidateParameters(); 
    224  
    225209 
    226210        /* The SML_present bool reflects whether or not the remote component 
     
    261245        void ReceiveRadioConfiguration(); 
    262246 
    263  
    264247        /* Receive an 'experience' report from the radio. 
    265248         */ 
    266249        void ReceiveExperience(); 
    267  
    268250 
    269251        /* Find the most optimal set of transmission parameters given certain 
     
    273255        void GetSolution(Observable *observables); 
    274256        void GetSolution(Observable *observables, std::string service); 
    275  
    276257 
    277258        /* Receive a feedback from the radio regarding the performance of a 
     
    303284        ~CognitiveRadioShell(); 
    304285 
    305  
    306         /* Overloaded constructor that creates a CR Shell object */  
     286        /* Overloaded constructor that creates a CR Shell object and loads the 
     287         * passed radio configuration XML file. 
     288         */ 
    307289        CognitiveRadioShell(const char* radioConfig, int16_t primaryPort, \ 
    308290            int16_t policyPort, int16_t commandPort); 
     
    314296        /* Start all the socket servers */ 
    315297        void StartShellServer(); 
     298 
    316299        int32_t LoadRadioConfiguration(const char* radioConfig, Parameter* &pList, \ 
    317300            Utility* &uList, Observable* &oList, Radio_Info* radioInfo); 
     
    322305        void ReloadPolicies(); 
    323306 
    324         /* Register and Deregister the different components */ 
     307        /* Register and Deregister the different components. 
     308         */ 
    325309        void RegisterCognitiveEngine(int32_t socketFD); 
    326310        void DeregisterCognitiveEngine(int32_t socketFD); 
     
    330314        void DeregisterSML(int32_t socketFD); 
    331315 
    332         /* Handle a message that is received from a component */ 
     316        /* Handle a message that is received from a component. 
     317         */ 
    333318        void HandleMessage(int32_t socketFD); 
    334319        
    335         /* Send optimization request to primary port FD*/ 
     320        /* Send optimization request to primary port FD. 
     321         */ 
    336322        void GetOptimalParameters(int32_t socketFD); 
    337323