1 #ifndef _ELMA_CHANNEL_H 2 #define _ELMA_CHANNEL_H 41 inline int size() {
return _queue.size(); }
45 inline bool empty() {
return _queue.size() == 0; }
49 inline bool nonempty() {
return _queue.size() > 0; }
53 inline string name() {
return _name; }
Channel(string name, int capacity)
A channel for sending double values to and from Process objects.