Proxy class for a generic SoftwareProcessUnit
Accessors common to all PU
Architectural common member functions for all PU
Simple implementation of RTTI (see note above)
State transitions
virtual functions for generic configuring, starting/updating/continuing a state transition
Proxy class for a generic SoftwareProcessUnit. A software process unit is any process running on a UNIX host. Currently it is not really used, but is rather a placeholder (but tested!). A typical use for the Swpu is to control a monitor process that monitors the data as it is taken.The process unit can either be forked off at initialisation,download or startrun time.
Currently we only support processes running on the same host as the run control. With a little more work one could interface it to the launcher and gain the capability of having Swpus on any host in the galaxy (well... sort of).
Last update: Feb 5, 2000, CW
Swpu(const char *name, const char *design, const char *host, const char *exec, int eStartMode = eStartAtStartRun )
~Swpu()
accessors
void setAllArgv( int argc, const char **pccArgv )
int setArgv( int iarg, const char *argv )
inline const char* getHost()
inline const char* getExecFile()
inline long getStartMode()
Overloaded member functions from PU
Misc member functions: (dump, identify, RTTI)
static void listAll( ostream &os = cout )
static void dump_all( ostream &os = cout )
void identify( ostream &os = cout )
virtual void dump( ostream &os = cout )
int spawnProcess()
int killProcess()
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de