ArmNN  NotReleased
ITimelineDecoder.h
Go to the documentation of this file.
1 //
2 // Copyright © 2019 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #ifndef ARMNN_ITIMELINEDECODER_H
7 #define ARMNN_ITIMELINEDECODER_H
8 
9 #ifdef __cplusplus
10 extern "C"
11 {
12 #endif
13 
14 #include "TimelineModel.h"
15 
16 typedef enum ErrorCode
17 {
20 } ErrorCode;
21 
22 ErrorCode CreateModel(Model** model);
23 ErrorCode DestroyModel(Model** model);
24 
25 ErrorCode SetEntityCallback(OnNewEntityCallback cb, Model* model);
27 ErrorCode SetEventCallback(OnNewEventCallback cb, Model* model);
28 ErrorCode SetLabelCallback(OnNewLabelCallback cb, Model* model);
30 
31 ErrorCode CreateEntity(const Entity entity, Model* model);
32 ErrorCode CreateEventClass(const EventClass eventClass, Model* model);
33 ErrorCode CreateEvent(const Event event, Model* model);
34 ErrorCode CreateLabel(const Label label, Model* model);
35 ErrorCode CreateRelationship(const Relationship relationship, Model* model);
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif //ARMNN_ITIMELINEDECODER_H
ErrorCode CreateEvent(const Event event, Model *model)
ErrorCode SetRelationshipCallback(OnNewRelationshipCallback cb, Model *model)
void(* OnNewLabelCallback)(const Label, struct Model *model)
Definition: TimelineModel.h:59
void(* OnNewRelationshipCallback)(const Relationship, struct Model *model)
Definition: TimelineModel.h:60
ErrorCode CreateEventClass(const EventClass eventClass, Model *model)
void(* OnNewEntityCallback)(const Entity, struct Model *model)
Definition: TimelineModel.h:56
ErrorCode SetEventClassCallback(OnNewEventClassCallback cb, Model *model)
ErrorCode SetLabelCallback(OnNewLabelCallback cb, Model *model)
ErrorCode CreateRelationship(const Relationship relationship, Model *model)
ErrorCode
ErrorCode DestroyModel(Model **model)
ErrorCode CreateEntity(const Entity entity, Model *model)
ErrorCode SetEventCallback(OnNewEventCallback cb, Model *model)
void(* OnNewEventCallback)(const Event, struct Model *model)
Definition: TimelineModel.h:58
void(* OnNewEventClassCallback)(const EventClass, struct Model *model)
Definition: TimelineModel.h:57
ErrorCode SetEntityCallback(OnNewEntityCallback cb, Model *model)
ErrorCode CreateModel(Model **model)
ErrorCode CreateLabel(const Label label, Model *model)