M2_SETI/T2/tp/exercice-1/iMessageAdder.h

16 lines
255 B
C
Raw Normal View History

2022-11-18 15:07:43 +01:00
#ifndef I_MESSAGE_ADDER_H
#define I_MESSAGE_ADDER_H
#include "msg.h"
/**
* Gets a message that represents the current value of the sum.
*/
MSG_BLOCK getCurrentSum();
/**
* Get the number of consumed messages.
*/
unsigned int getConsumedCount();
#endif