Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
Process.h
1 /*
2  * Process class interface
3  *
4  * This file is part of OTAWA
5  * Copyright (c) 2006-12, IRIT UPS.
6  *
7  * OTAWA is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * OTAWA is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with OTAWA; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 #ifndef ELM_SYS_PROCESS_H
22 #define ELM_SYS_PROCESS_H
23 
24 namespace elm { namespace sys {
25 
26 // Process class
27 class Process {
28 public:
29  virtual ~Process(void);
30  virtual bool isAlive(void) = 0;
31  virtual int returnCode(void) = 0;
32  virtual void kill(void) = 0;
33  virtual void wait(void) = 0;
34 };
35 
36 } } // elm::system
37 
38 #endif // ELM_SYS_PROCESS_H
elm::sys::Process::kill
virtual void kill(void)=0
elm::sys::Process::returnCode
virtual int returnCode(void)=0
elm
Definition: adapter.h:26
elm::sys::Process
Definition: Process.h:27
elm::sys::Process::~Process
virtual ~Process(void)
Definition: system_Process.cpp:53
elm::sys::Process::isAlive
virtual bool isAlive(void)=0
elm::sys::Process::wait
virtual void wait(void)=0