Changeset 217

Show
Ignore:
Timestamp:
03/26/09 17:05:14 (15 years ago)
Author:
jgaeddert
Message:

More fixes to c++ CE.

Files:
1 modified

Legend:

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

    r213 r217  
    228228        ~CognitiveEngine(); 
    229229 
     230        /* Overloaded constructor that creates a cognitive engine object and 
     231         * connects it to either the shell or an SML, depening on the SML bool. 
     232         */ 
     233        CognitiveEngine(const char* serverName, const char* serverPort, \ 
     234                const bool SML); 
     235         
    230236        void SendComponentType(); 
    231237        void ConnectToRemoteComponent(const char* serverName, \ 
     
    260266         * certain set of parameters, possibly associated with a service. 
    261267         * 
    262          * TODO what is the difference between experiences and feedback, 
    263          * exactly? we should explain that explicitly here. 
     268         * Feedback is a single set of performance statistics that is achieved 
     269         * corresponding to a specific set of transmission parameters.  Feedback 
     270         * helps a Cognitive Engine make better future decisions based upon  
     271         * more accurate performance statistics.  
    264272         */ 
    265273        void ReceiveFeedback(Observable *observables,\ 
    266274                Parameter *parameters, Utility *utilities); 
    267275        void ReceiveFeedback(Observable *observables, \ 
    268                 Parameter *parameters, std::string service); 
     276                Parameter *parameters, Utility *utilities, std::string service); 
    269277 
    270278        /* The SML_present bool reflects whether or not the remote component 
     
    275283        bool SML_present; 
    276284        int32_t commandSocketFD; 
     285         
     286        Utility * uList; 
     287        Parameter * pList; 
     288        Observable * oList; 
     289        struct Radio_Info * radioInfo; 
    277290}; 
    278291 
     
    328341        void GetOptimalParameters(int32_t socketFD); 
    329342 
    330         void SendRadioConfiguration(int32_t socketFD); 
    331         void SendRadioExperience(int32_t socketFD); 
     343        bool SendRadioConfiguration(int32_t socketFD); 
     344        bool SendRadioExperience(int32_t socketFD); 
    332345  
    333346        bool SML_present;