Smarts Namespace Reference


Classes

class  Runnable
 Runnable is the base class for system classes "Thread" and "Iterate". More...
struct  SerialAsync
 Tag class for specializing IterateScheduler, Iterate and DataObject. More...
class  Iterate< SerialAsync >
 Iterate<SerialAsync> is used to implement the SerialAsync scheduling policy. More...
struct  SystemContext
class  IterateScheduler< SerialAsync >
 Implements a asynchronous scheduler for a data driven execution. More...
class  DataObject< SerialAsync >
 Implements a asynchronous scheduler for a data driven execution. More...
class  Stub
class  Iterate< Stub >
class  IterateScheduler< Stub >
class  DataObject< Stub >

Typedefs

typedef RunnableRunnablePtr_t

Functions

void add (RunnablePtr_t)
 Schedulers need to implement this function to add a runnable to the execution queue.
void concurrency (int)
int concurrency ()
void wait ()
void mustRunOn ()
void add (Runnable *runnable)

Typedef Documentation


Function Documentation

void Smarts::add ( RunnablePtr_t  rn  )  [inline]

Schedulers need to implement this function to add a runnable to the execution queue.

Adds a runnable to the appropriate work-queue.

References Smarts::Runnable::priority(), Smarts::SystemContext::workQueue_m, and Smarts::SystemContext::workQueueMessages_m.

Referenced by Pooma::addRunnable(), and Smarts::Iterate< SerialAsync >::notify().

void Smarts::concurrency ( int   )  [inline]

int Smarts::concurrency (  )  [inline]

void Smarts::wait (  )  [inline]

void Smarts::mustRunOn (  )  [inline]

void Smarts::add ( Runnable *  runnable  )  [inline]


Generated on Wed Mar 16 06:22:48 2011 for FreePOOMA by  doxygen 1.5.9