Go to the documentation of this file.
59 bool alwaysReloadBehavior) :
61 initialized_(
false), alwaysReloadBehavior_(alwaysReloadBehavior),
62 alreadyCreatingState_(
false) {
120 std::string(
"Error while loading operation behavior for "
123 +
"\". Operation behavior is undefined or missing.");
OperationBehavior & importBehavior(const Operation &parent)
bool alwaysReloadBehavior_
If this is true, the behavior is always (re)loaded from the dynamic library or the DAG instead of loa...
virtual ~OperationBehaviorProxy()
virtual int numberOfInputs() const
virtual bool canBeSimulated() const
virtual TCEString name() const
Operation * target_
Operation that owns this proxy;.
virtual bool canBeSimulated() const
bool initialized_
Flag indicating whether proxy is initialized or not.
virtual void setBehavior(OperationBehavior &behavior)
void initializeBehavior() const
virtual void deleteState(OperationContext &context) const
void uninitializeBehavior() const
virtual void createState(OperationContext &context) const
virtual int dagCount() const
find Finds info of the inner loops in the false
virtual void deleteState(OperationContext &context) const
virtual bool simulateTrigger(SimValue **, OperationContext &context) const
virtual bool simulateTrigger(SimValue **io, OperationContext &context) const
virtual OperationBehavior & behavior() const
bool alreadyCreatingState_
Helpers variable to catch infinite recursive function call due to missing or undefined operation beha...
std::set< OperationDAGBehavior * > cleanUs_
Clean up list for created OperationDAGBehaviors.
virtual void createState(OperationContext &context) const
virtual int numberOfOutputs() const
OperationBehaviorLoader * loader_
Used to load behavior model for operation.
OperationBehaviorProxy(Operation &targetOperation, OperationBehaviorLoader &loader, bool alwaysReloadBehavior=false)
virtual OperationDAG & dag(int index) const