CXMessagePipe

From cxwiki

CXMessagePipe allows one CXMessageTarget to observe "broadcasts" from another CXMessageTarget. This is typically used to implement a simple observer-observee relationship where both objects are derived from CXMessageTarget and where more complicated custom requirements are not necessary.
 
CXMessagePipe does NOT simply forward all CXMessages passing through the observed CXMessageTarget.
 

Configuration

TBD.

CXMessagePipe(CXMessageTarget* __nonnull p_observer, CXMessageTarget* __nullable p_target = NULL);

void ConnectTo(CXMessageTarget* __nonnull p_target);

void Disconnect(void);

 

Broadcast

TBD.

void CXMessage::BroadcastToObservers(const CXMessage &msg);

 

Threading

TBD.