18#ifndef INCLUDED_DYNAMICSUBSCRIPTION
19#define INCLUDED_DYNAMICSUBSCRIPTION
44 if (entityA < entityB)
46 if (entityB < entityA)
64 std::set<IComponent*, CompareIComponent>
m_Added;
A list of components that are dynamically subscribed to a particular message.
Definition: DynamicSubscription.h:37
const std::vector< IComponent * > & GetComponents()
Definition: DynamicSubscription.cpp:62
std::set< IComponent *, CompareIComponent > m_Added
Definition: DynamicSubscription.h:64
void Remove(IComponent *cmp)
Definition: DynamicSubscription.cpp:28
void Flatten()
Definition: DynamicSubscription.cpp:34
void DebugDump()
Definition: DynamicSubscription.cpp:70
void Add(IComponent *cmp)
Definition: DynamicSubscription.cpp:22
std::set< IComponent *, CompareIComponent > m_Removed
Definition: DynamicSubscription.h:65
std::vector< IComponent * > m_Components
Definition: DynamicSubscription.h:63
Definition: IComponent.h:33
entity_id_t GetEntityId() const
Definition: IComponent.h:54
virtual int GetComponentTypeId() const =0
u32 entity_id_t
Entity ID type.
Definition: Entity.h:29
Definition: DynamicSubscription.h:39
bool operator()(const IComponent *cmpA, const IComponent *cmpB) const
Definition: DynamicSubscription.h:40