#include <distributed.hh>
Inherits abstract_info_t.
Public Member Functions | |
virtual void | get_data_ptr (char *&ptr) |
virtual void | get_data_size (int &size) |
virtual void | update (void) |
Public Attributes | |
updateable_data_t | data |
Structure that stores collected data. |
Instances of this class are passed to distributed_t::synchronized(abstract_info_t &info) function.
The updateable_data_t type should be struct with simple types in it (no dynamic arrays, strings, etc.) - the struct holds the collected data. It must have a "void update(void)" function, which will be called on every workstation.
The word "updateable" means that each workstation can change the data being collected during the synchronization process (by calling the update() function). For more information see distributed_t::synchronized(abstract_info_t &info) function.