PhoenixSwarm  3.5.0
Library to ease communication between daemons
Loading...
Searching...
No Matches
static_for_deserialise_message< First, Last > Struct Template Reference

Iterate over function parameters. More...

#include <phoenix_function_call.h>

+ Inheritance diagram for static_for_deserialise_message< First, Last >:

Public Member Functions

template<typename T>
void operator() (PLog &log, bool &isOk, DataStreamIter &iter, T &mContainers) const
 Deserialise the message in the tuple.
 

Detailed Description

template<int First, int Last>
struct static_for_deserialise_message< First, Last >

Iterate over function parameters.

Definition at line 22 of file phoenix_function_call.h.

Member Function Documentation

◆ operator()()

template<int First, int Last>
template<typename T>
void static_for_deserialise_message< First, Last >::operator() ( PLog & log,
bool & isOk,
DataStreamIter & iter,
T & mContainers ) const
inline

Deserialise the message in the tuple.

Parameters
[out]log: logger
[out]isOk: true if the deserialisation is OK
[out]iter: iterator of the message
[out]mContainers: tuple to be initialised with the message

Definition at line 30 of file phoenix_function_call.h.

30 {
31 if(First < Last && isOk){
34// std::cout << "\tstatic_for_deserialise_message : args("<<First<<") : "<<phoenix_network_get_type_name(value)<<" " << value << std::endl;
36 }
37 }
Iterate over function parameters.

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