FSMSADF::PrecedenceGraph::Node Class Reference

#include <precedence_graph.h>

Collaboration diagram for FSMSADF::PrecedenceGraph::Node:

List of all members.

Public Member Functions

 Node (Actor *a, CId n, Time t)
 ~Node ()
void updateDeadline (const Time t)
bool isSchedulable () const

Public Attributes

Actoractor
CId idx
Time actorExecutionTime
Time deadline
Nodes previous
Nodes next

Detailed Description

Node Precedence node.


Constructor & Destructor Documentation

FSMSADF::PrecedenceGraph::Node::Node ( Actor a,
CId  n,
Time  t 
)

Node() Constructor

FSMSADF::PrecedenceGraph::Node::~Node (  )  [inline]

Member Function Documentation

bool FSMSADF::PrecedenceGraph::Node::isSchedulable (  )  const

isSchedulable() A node can be scheduled when it has either no previous or next precedence constraints.

References next, and previous.

Referenced by FSMSADF::PrecedenceGraph::getEarliestDeadline().

void FSMSADF::PrecedenceGraph::Node::updateDeadline ( const Time  t  ) 

updateDeadline() Update the deadline time of this node to t in case its current deadline is less then t.

References actorExecutionTime, deadline, previous, and updateDeadline().

Referenced by FSMSADF::PrecedenceGraph::PrecedenceGraph(), and updateDeadline().

Here is the call graph for this function:


Member Data Documentation


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