Show
Ignore:
Timestamp:
04/03/09 13:05:41 (15 years ago)
Author:
trnewman
Message:

Added a loop in the demo to actually adapt.

Added simple adaptation functionality and proper db querying in the CE.

Location:
vtcross/trunk/src/include/vtcross
Files:
2 modified

Legend:

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

    r228 r230  
    272272         */ 
    273273        void ReceiveFeedback(Observable *observables,\ 
    274                 Parameter *parameters, Utility *utilities); 
     274                Parameter *parameters); 
    275275        void ReceiveFeedback(Observable *observables, \ 
    276                 Parameter *parameters, Utility *utilities, std::string service); 
     276                Parameter *parameters, std::string service); 
    277277 
    278278 
     
    352352        bool SendRadioConfiguration(int32_t socketFD); 
    353353        bool SendRadioExperience(int32_t socketFD); 
    354   
     354 
     355                bool UpdateParameterPerformance(int32_t socketFD); 
     356 
    355357        bool SML_present; 
    356358        bool PE_present; 
  • vtcross/trunk/src/include/vtcross/libvtcross.h

    r228 r230  
    8686 * radio's performance? 
    8787 */ 
    88 bool UpdateParameterPerformance(Parameter *radioParameters, \ 
    89         Observable *radioObservables, Utility *radioUtilies); 
    90  
     88bool UpdateParameterPerformance(Parameter *p, uint32_t numParameters, Observable *o, \ 
     89        uint32_t numObservables); 
    9190 
    9291/* Deactivate/Activate/Disconnect a component by id. 
     
    107106 */ 
    108107uint32_t GetNumParameters(); 
     108uint32_t GetNumObservables(); 
     109uint32_t GetNumUtilities(); 
    109110 
    110111