sgpemv2/src/backend/pyloader/Policy.py

14 lines
429 B
Python
Raw Normal View History

from sgpem import SchedulableList, PolicyParameters
from Abstract import *
class Policy:
## @var Avoid instantiation of an abstract class
__metaclass__ = Metaclass
configure = AbstractMethod('configure')
sort_queue = AbstractMethod('sort_queue')
is_preemptive = AbstractMethod('is_preemptive')
is_time_sliced = AbstractMethod('is_time_sliced')
get_parameters = AbstractMethod('get_parameters')