Scenario::Command::MoveEventFactoryInterface Class Referenceabstract
Inheritance diagram for Scenario::Command::MoveEventFactoryInterface:
score::InterfaceBase Scenario::Command::MoveEventClassicFactory

Public Types

enum  Strategy { CREATION , MOVE }
 

Public Member Functions

virtual std::unique_ptr< SerializableMoveEventmake (const Scenario::ProcessModel &, Id< EventModel > eventId, TimeVal newDate, ExpandMode mode, LockMode lm)=0
 
virtual std::unique_ptr< SerializableMoveEventmake (LockMode)=0
 
virtual int priority (const score::ApplicationContext &ctx, Strategy strategy) const =0
 priority the highest priority will be default move behavior for the indicated strategy Basically, we want to know how well the policy is suited for the desired strategy. More...
 
- Public Member Functions inherited from score::InterfaceBase
virtual InterfaceKey interfaceKey () const noexcept=0
 Identifies an interface uniquely.
 

Member Function Documentation

◆ priority()

virtual int Scenario::Command::MoveEventFactoryInterface::priority ( const score::ApplicationContext ctx,
Strategy  strategy 
) const
pure virtual

priority the highest priority will be default move behavior for the indicated strategy Basically, we want to know how well the policy is suited for the desired strategy.

Parameters
strategythe strategy for which we need a displacement policy;
Returns

The documentation for this class was generated from the following files: