10 if (model ==
nullptr || model->
m_EntityCb ==
nullptr)
30 if (model ==
nullptr || model->
m_EventCb ==
nullptr)
40 if (model ==
nullptr || model->
m_LabelCb ==
nullptr)
60 if (cb ==
nullptr || model ==
nullptr)
70 if (cb ==
nullptr || model ==
nullptr)
80 if (cb ==
nullptr || model ==
nullptr)
90 if (cb ==
nullptr || model ==
nullptr)
100 if (cb ==
nullptr || model ==
nullptr)
124 if (*model ==
nullptr)
129 Model* modelPtr = *model;
OnNewLabelCallback m_LabelCb
void(* OnNewLabelCallback)(const Label, struct Model *model)
void(* OnNewRelationshipCallback)(const Relationship, struct Model *model)
ErrorCode CreateEvent(const Event event, Model *model)
EventClass ** m_EventClasses
void(* OnNewEntityCallback)(const Entity, struct Model *model)
ErrorCode CreateEntity(const Entity entity, Model *model)
ErrorCode DestroyModel(Model **model)
ErrorCode SetRelationshipCallback(OnNewRelationshipCallback cb, Model *model)
OnNewEntityCallback m_EntityCb
ErrorCode CreateLabel(const Label label, Model *model)
OnNewEventCallback m_EventCb
uint32_t m_EventClassCount
unsigned char * m_ThreadId
ErrorCode SetLabelCallback(OnNewLabelCallback cb, Model *model)
void(* OnNewEventCallback)(const Event, struct Model *model)
ErrorCode SetEntityCallback(OnNewEntityCallback cb, Model *model)
ErrorCode SetEventCallback(OnNewEventCallback cb, Model *model)
void(* OnNewEventClassCallback)(const EventClass, struct Model *model)
uint32_t m_RelationshipCount
Relationship ** m_Relationships
ErrorCode CreateEventClass(const EventClass eventClass, Model *model)
ErrorCode SetEventClassCallback(OnNewEventClassCallback cb, Model *model)
OnNewRelationshipCallback m_RelationshipCb
ErrorCode CreateModel(Model **model)
OnNewEventClassCallback m_EventClassCb
ErrorCode CreateRelationship(Relationship relationship, Model *model)