updateable_info_t< updateable_data_t, no_const_data_type_t > Class Template Reference

Class used to collect data during synchronization. More...

#include <distributed.hh>

Inherits abstract_info_t.

List of all members.

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.


Detailed Description

template<class updateable_data_t>
class updateable_info_t< updateable_data_t, no_const_data_type_t >

Class used to collect data during synchronization.

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.


The documentation for this class was generated from the following file:

Reference Manual for Library, 2006 developed in ParaDiSe laboratory, Faculty of Informatics, Masaryk University