#include <BCP_message.hpp>
Inheritance diagram for BCP_proc_id:
Public Member Functions | |
Destructor | |
virtual | ~BCP_proc_id () |
Comparing processes | |
virtual bool | is_same_process (const BCP_proc_id *other_process) const=0 |
Cloning a process | |
virtual BCP_proc_id * | clone () const=0 |
All methods are pure virtual, enforcing the correct overriding of the methods.
Definition at line 28 of file BCP_message.hpp.
|
Being virtual, the destructor invokes the destructor for the real type of the object being deleted. Definition at line 34 of file BCP_message.hpp.
00034 {} |
|
Create a new process id that describes the same process. Cloning is used instead of the copy constructor since this is an abstract base class. Referenced by BCP_buffer::operator=(). |
|
This query method determines whether the current process is the same as the one given in the argument. Returns true if the two processes are the same, false otherwise. |