fpmas 1.6
Public Member Functions | Public Attributes | List of all members
fpmas::synchro::NodeUpdatePack< T > Struct Template Reference

#include <data_update_pack.h>

Inheritance diagram for fpmas::synchro::NodeUpdatePack< T >:
Inheritance graph
[legend]
Collaboration diagram for fpmas::synchro::NodeUpdatePack< T >:
Collaboration graph
[legend]

Public Member Functions

 NodeUpdatePack (DistributedId id, const T &data, float weight)
 
- Public Member Functions inherited from fpmas::synchro::DataUpdatePack< T >
 DataUpdatePack (DistributedId id, const T &data)
 

Public Attributes

float updated_weight
 
- Public Attributes inherited from fpmas::synchro::DataUpdatePack< T >
DistributedId id
 
updated_data
 

Detailed Description

template<typename T>
struct fpmas::synchro::NodeUpdatePack< T >

Structure used to send and receive node updates, including data and weight.

Constructor & Destructor Documentation

◆ NodeUpdatePack()

template<typename T >
fpmas::synchro::NodeUpdatePack< T >::NodeUpdatePack ( DistributedId  id,
const T &  data,
float  weight 
)
inline

NodeUpdatePack constructor.

Parameters
idassociated node id
datareference to sent / received data
weightupdated weight

Member Data Documentation

◆ updated_weight

template<typename T >
float fpmas::synchro::NodeUpdatePack< T >::updated_weight

Updated weight.


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