#include <BatchStatus.hpp>
◆ BatchStatus()
| geopm::BatchStatus::BatchStatus |
( |
| ) |
|
|
default |
◆ ~BatchStatus()
| virtual geopm::BatchStatus::~BatchStatus |
( |
| ) |
|
|
virtualdefault |
◆ make_unique_client()
| std::unique_ptr< BatchStatus > geopm::BatchStatus::make_unique_client |
( |
const std::string & | server_key | ) |
|
|
static |
◆ make_unique_server()
| std::unique_ptr< BatchStatus > geopm::BatchStatus::make_unique_server |
( |
int | client_pid, |
|
|
const std::string & | server_key ) |
|
static |
◆ receive_message() [1/2]
| virtual void geopm::BatchStatus::receive_message |
( |
char | expect | ) |
|
|
pure virtual |
Receive specified integer from the other process.
- Parameters
-
| expect | [in] Value that is expected to be received from other process. |
- Exceptions
-
| Exception | if a message is received, but the message does not match the expected_message. |
Implemented in geopm::BatchStatusImp.
◆ receive_message() [2/2]
| virtual char geopm::BatchStatus::receive_message |
( |
void | | ) |
|
|
pure virtual |
Receive any integer from the other process.
- Returns
- Message received
Implemented in geopm::BatchStatusImp.
◆ send_message()
| virtual void geopm::BatchStatus::send_message |
( |
char | msg | ) |
|
|
pure virtual |
Send an integer to the other process.
- Parameters
-
| msg | [in] Message number to send. |
Implemented in geopm::BatchStatusImp.
◆ M_MESSAGE_CONTINUE
| char geopm::BatchStatus::M_MESSAGE_CONTINUE = 'c' |
|
staticconstexpr |
◆ M_MESSAGE_QUIT
| char geopm::BatchStatus::M_MESSAGE_QUIT = 'q' |
|
staticconstexpr |
◆ M_MESSAGE_READ
| char geopm::BatchStatus::M_MESSAGE_READ = 'r' |
|
staticconstexpr |
◆ M_MESSAGE_TERMINATE
| char geopm::BatchStatus::M_MESSAGE_TERMINATE = 't' |
|
staticconstexpr |
◆ M_MESSAGE_WRITE
| char geopm::BatchStatus::M_MESSAGE_WRITE = 'w' |
|
staticconstexpr |
The documentation for this class was generated from the following files: