indexing
description: "Information about a process."
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class interface
WEL_PROCESS_INFO
create
make
item
WEL_STRUCTURE
ensure WEL_STRUCTURE
not_shared: not shared
feature
item: POINTER
WEL_ANY
process_handle: INTEGER
process_id: INTEGER
thread_handle: INTEGER
thread_id: INTEGER
feature
exists: BOOLEAN
item
WEL_ANY
ensure WEL_ANY
Result = (item /= default_pointer)
shared: BOOLEAN
item
item
destroy_item
item
WEL_ANY
feature
set_shared
shared
WEL_ANY
ensure WEL_ANY
shared: shared
set_unshared
shared
WEL_ANY
ensure WEL_ANY
unshared: not shared
feature
set_item (an_item: POINTER)
iteman_item
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
feature
dispose
Current
Current
WEL_ANY
feature
to_integer: INTEGER
item
WEL_ANY
ensure WEL_ANY
Result = cwel_pointer_to_integer (item)
feature
initialize
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
initialize_with_character (a_character: CHARACTER)
a_character
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
memory_copy (source_pointer: POINTER; length: INTEGER)
lengthsource_pointeritem
WEL_STRUCTURE
require WEL_STRUCTURE
length_small_enough: length <= structure_size
length_large_enough: length > 0
exists: exists
feature
set_process_handle (a_handle: like process_handle)
process_handlea_handle
require
valid_handle: a_handle > 0
ensure
handle_set: process_handle = a_handle
set_process_id (a_id: like process_id)
process_ida_id
require
valid_id: a_id > 0
ensure
id_set: process_id = a_id
set_thread_handle (a_handle: like thread_handle)
thread_handlea_handle
require
valid_handle: a_handle > 0
ensure
handle_set: thread_handle = a_handle
set_thread_id (a_id: like thread_id)
thread_ida_id
require
valid_id: a_id > 0
ensure
id_set: thread_id = a_id
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- WEL_PROCESS_INFO