ContentsIndexHome
PreviousUpNext
ISession::updateData Method (std::vector<class IData*>&, int)

Flushes all outstanding buffers to AIMMS and synchronizes the open SDK objects with the data in AIMMS. If the timeout period is exceeded, a CommunicationException exception is raised, leaving the data in an undefined state. 

 

C++
virtual void updateData(std::vector<class IData*>& changedData, 
                                int timeout = -1) = 0;
Parameters 
Description 
std::vector<class IData*>& changedData 
Receives a list of IData objects that have been changed since the last call to updateData.  
int timeout = -1 
Timeout in seconds. If the timeout is less than zero, the earlier configured timeout is used. A value of -1 is equivalent to infinite.
 

UpdateData is only effective if there are changes made in the SDK: if data is changed by other means, these changes will only be reported if changes are expected. See also AIMMS feature support.