SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND


Platform::Thread
Template Struct Communicator

SynchronizableType
   |
   +-Communicator

Implemented in:
Platform.Thread.Communicator.h

template <typename Type>
struct Communicator:
protected SynchronizableType

Provides a way to communicate between threads using message passing.

Field Summarycollapse
Containers::Queue<Type> buffer
          

Fields inherited from struct SynchronizableTypecollapse
monitor

Method Summarycollapse
Type receiveMessage()
          
Void sendMessage(const Type& payload)
          

 

Field Detail

buffer

Containers::Queue<Type> buffer

 

Method Detail

receiveMessage[inline]

Type receiveMessage()


sendMessage[inline]

Void sendMessage(const Type& payload)



SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND