![]() |
Plasma Engine
2.0
|
A message sender that sends all messages to the next component derived from plEventMessageHandlerComponent up in the hierarchy starting with the given search object. If none is found the message is sent to all components registered as global event message handler. The receiver is cached after the first send/post call. More...
#include <EventMessage.h>
Public Member Functions | |
PL_ALWAYS_INLINE bool | SendEventMessage (EventMessageType &inout_msg, plComponent *pSenderComponent, plGameObject *pSearchObject) |
PL_ALWAYS_INLINE bool | SendEventMessage (EventMessageType &inout_msg, const plComponent *pSenderComponent, const plGameObject *pSearchObject) const |
PL_ALWAYS_INLINE void | PostEventMessage (EventMessageType &ref_msg, plComponent *pSenderComponent, plGameObject *pSearchObject, plTime delay, plObjectMsgQueueType::Enum queueType=plObjectMsgQueueType::NextFrame) |
PL_ALWAYS_INLINE void | PostEventMessage (EventMessageType &ref_msg, const plComponent *pSenderComponent, const plGameObject *pSearchObject, plTime delay, plObjectMsgQueueType::Enum queueType=plObjectMsgQueueType::NextFrame) const |
PL_ALWAYS_INLINE void | Invalidate () |
Additional Inherited Members |
A message sender that sends all messages to the next component derived from plEventMessageHandlerComponent up in the hierarchy starting with the given search object. If none is found the message is sent to all components registered as global event message handler. The receiver is cached after the first send/post call.