50 #ifndef FORMATTERLINKCONVERTER_H_
51 #define FORMATTERLINKCONVERTER_H_
53 #include "ncl/connectors/Action.h"
54 #include "ncl/connectors/AssessmentStatement.h"
55 #include "ncl/connectors/CausalConnector.h"
56 #include "ncl/connectors/ValueAssessment.h"
57 #include "ncl/connectors/CompoundAction.h"
58 #include "ncl/connectors/CompoundStatement.h"
59 #include "ncl/connectors/CompoundCondition.h"
60 #include "ncl/connectors/ConditionExpression.h"
61 #include "ncl/connectors/AttributeAssessment.h"
62 #include "ncl/connectors/Role.h"
63 #include "ncl/connectors/SimpleAction.h"
64 #include "ncl/connectors/SimpleCondition.h"
65 #include "ncl/connectors/Statement.h"
66 #include "ncl/connectors/TriggerExpression.h"
67 #include "ncl/connectors/EventUtil.h"
68 using namespace ::br::pucrio::telemidia::ncl::connectors;
70 #include "ncl/link/Bind.h"
71 #include "ncl/link/CausalLink.h"
72 #include "ncl/link/Link.h"
73 using namespace ::br::pucrio::telemidia::ncl::link;
75 #include "ncl/components/Node.h"
76 using namespace ::br::pucrio::telemidia::ncl::components;
78 #include "ncl/interfaces/InterfacePoint.h"
79 using namespace ::br::pucrio::telemidia::ncl::interfaces;
81 #include "ncl/Parameter.h"
82 using namespace ::br::pucrio::telemidia::ncl;
84 #include "../model/FormatterCausalLink.h"
85 #include "../model/LinkAction.h"
86 #include "../model/LinkAssessment.h"
87 #include "../model/LinkAndCompoundTriggerCondition.h"
88 #include "../model/LinkAssessmentStatement.h"
89 #include "../model/LinkValueAssessment.h"
90 #include "../model/LinkAssignmentAction.h"
91 #include "../model/LinkCompoundAction.h"
92 #include "../model/LinkAttributeAssessment.h"
93 #include "../model/LinkCompoundStatement.h"
94 #include "../model/LinkCompoundTriggerCondition.h"
95 #include "../model/LinkRepeatAction.h"
96 #include "../model/LinkSimpleAction.h"
97 #include "../model/LinkCondition.h"
98 #include "../model/LinkStatement.h"
99 #include "../model/LinkTriggerCondition.h"
100 #include "../model/LinkTransitionTriggerCondition.h"
101 using namespace ::br::pucrio::telemidia::ginga::ncl::model::link;
103 #include "../model/FormatterEvent.h"
104 using namespace ::br::pucrio::telemidia::ginga::ncl::model::event;
106 #include "../model/CompositeExecutionObject.h"
107 #include "../model/ExecutionObject.h"
108 #include "../model/NodeNesting.h"
109 using namespace ::br::pucrio::telemidia::ginga::ncl::model::components;
111 #include "FormatterConverter.h"
112 #include "ObjectCreationForbiddenException.h"
120 namespace telemidia {
123 namespace emconverter {
132 FormatterCausalLink* createCausalLink(
134 CompositeExecutionObject* parentObject,
138 void setImplicitRefAssessment(
139 string roleId, CausalLink* ncmLink, FormatterEvent* event);
141 LinkAction* createAction(
142 Action* actionExpression,
144 CompositeExecutionObject* parentObject,
147 LinkCondition* createCondition(
148 ConditionExpression* ncmExpression,
150 CompositeExecutionObject* parentObject,
153 LinkCompoundTriggerCondition* createCompoundTriggerCondition(
156 vector<ConditionExpression*>* ncmChildConditions,
158 CompositeExecutionObject* parentObject,
161 LinkCondition* createCondition(
162 TriggerExpression* triggerExpression,
164 CompositeExecutionObject* parentObject,
167 LinkAssessmentStatement* createAssessmentStatement(
168 AssessmentStatement* assessmentStatement,
171 CompositeExecutionObject* parentObject,
174 LinkStatement* createStatement(
175 Statement* statementExpression,
177 CompositeExecutionObject* parentObject,
180 LinkAttributeAssessment* createAttributeAssessment(
181 AttributeAssessment* attributeAssessment,
184 CompositeExecutionObject* parentObject,
187 LinkSimpleAction* createSimpleAction(
191 CompositeExecutionObject* parentObject,
194 LinkCompoundAction* createCompoundAction(
197 vector<Action*>* ncmChildActions,
199 CompositeExecutionObject* parentObject,
202 LinkTriggerCondition* createSimpleCondition(
203 SimpleCondition* condition,
206 CompositeExecutionObject* parentObject,
209 FormatterEvent* createEvent(
212 CompositeExecutionObject* parentObject,
215 double getDelayParameter(
216 Link* ncmLink, Parameter* connParam, Bind* ncmBind);
218 string getBindKey(Link* ncmLink, Bind* ncmBind);
219 double compileDelay(Link* ncmLink,
string delayObject, Bind* bind);
Definition: FormatterConverter.h:138
Definition: FormatterLinkConverter.h:124