Go to the documentation of this file.
36 #ifndef TTA_OPERATION_BEHAVIOR_PROXY_HH
37 #define TTA_OPERATION_BEHAVIOR_PROXY_HH
63 bool alwaysReloadBehavior=
false);
94 mutable std::set<OperationDAGBehavior*>
cleanUs_;
bool alwaysReloadBehavior_
If this is true, the behavior is always (re)loaded from the dynamic library or the DAG instead of loa...
virtual void setAlwaysReloadBehavior(bool f)
virtual ~OperationBehaviorProxy()
Operation * target_
Operation that owns this proxy;.
virtual bool canBeSimulated() const
bool initialized_
Flag indicating whether proxy is initialized or not.
void initializeBehavior() const
void uninitializeBehavior() const
virtual void deleteState(OperationContext &context) const
virtual bool simulateTrigger(SimValue **io, OperationContext &context) 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
OperationBehaviorLoader * loader_
Used to load behavior model for operation.
OperationBehaviorProxy(Operation &targetOperation, OperationBehaviorLoader &loader, bool alwaysReloadBehavior=false)
OperationBehaviorProxy & operator=(const OperationBehaviorProxy &)
Assignment not allowed.