pelib  2.0.0
pelib::DeadlineConstant Class Reference

#include <DeadlineConstant.hpp>

Inheritance diagram for pelib::DeadlineConstant:
[legend]

List of all members.

Public Member Functions

 DeadlineConstant (double val)
virtual double calculate (const Taskgraph &tg, const Platform &arch) const

Detailed Description

Holds a contant floating-point value and returns it upon deadline computing request

Definition at line 30 of file DeadlineConstant.hpp.


Constructor & Destructor Documentation

Constructor: holds the floating-point value given as parameter to return it upon invocation of calculate()

Definition at line 26 of file DeadlineConstant.cpp.


Member Function Documentation

double DeadlineConstant::calculate ( const Taskgraph tg,
const Platform arch 
) const [virtual]

Returns the private member value, ignoring instances of Taskgraph and Platform

Implements pelib::DeadlineCalculator.

Definition at line 28 of file DeadlineConstant.cpp.


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