Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Process Class Reference

Represents a common interface for each process being run. More...

#include <Process.h>

Inheritance diagram for Process:

Detailed Description

Represents a common interface for each process being run.

Definition at line 11 of file Process.h.

List of all members.

Public Member Functions

 Process (ProcessID::ProcessID_t pid, const std::string &pname)
virtual ~Process ()
virtual void start ()
virtual void stop ()
virtual void run ()
virtual void statusReport (std::ostream &os)

Static Public Member Functions

static const char * getName ()
static ProcessgetCurrent ()
static bool statusReport (RCRegion *msg)

Protected Member Functions

virtual void doStart ()
virtual void doStop ()

Static Protected Attributes

static Processprocs [ProcessID::NumProcesses]

Private Member Functions

 Process (const Process &)
 don't call
Processoperator= (const Process &)
 don't call

Constructor & Destructor Documentation

Process ( ProcessID::ProcessID_t  pid,
const std::string &  pname 
)

Definition at line 13 of file Process.cc.

~Process (  )  [virtual]

Definition at line 20 of file Process.cc.

Process ( const Process  )  [private]

don't call


Member Function Documentation

virtual void doStart (  )  [protected, virtual]

Reimplemented in Main, Motion, Simulator, and SoundPlay.

Definition at line 26 of file Process.h.

Referenced by start().

virtual void doStop (  )  [protected, virtual]

Reimplemented in Main, Motion, Simulator, and SoundPlay.

Definition at line 27 of file Process.h.

Referenced by stop().

static const char* getName (  )  [static]
Process& operator= ( const Process  )  [private]

don't call

void run (  )  [virtual]

Reimplemented in Main, Motion, and Simulator.

Definition at line 24 of file Process.cc.

virtual void start (  )  [virtual]

Definition at line 15 of file Process.h.

Referenced by Motion::gotWakeup().

bool statusReport ( RCRegion msg  )  [static]

Definition at line 43 of file Process.cc.

void statusReport ( std::ostream &  os  )  [virtual]
virtual void stop (  )  [virtual]

Definition at line 16 of file Process.h.

Referenced by Motion::gotWakeup().


Member Data Documentation

Process * procs [static, protected]

Definition at line 28 of file Process.h.

Referenced by getCurrent(), Process(), and ~Process().


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

Tekkotsu Hardware Abstraction Layer 5.1CVS
Generated Mon May 9 05:01:41 2016 by Doxygen 1.6.3