#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
| constexpr char geopm::BatchStatus::M_MESSAGE_CONTINUE = 'c' |
|
staticconstexpr |
◆ M_MESSAGE_QUIT
| constexpr char geopm::BatchStatus::M_MESSAGE_QUIT = 'q' |
|
staticconstexpr |
◆ M_MESSAGE_READ
| constexpr char geopm::BatchStatus::M_MESSAGE_READ = 'r' |
|
staticconstexpr |
◆ M_MESSAGE_TERMINATE
| constexpr char geopm::BatchStatus::M_MESSAGE_TERMINATE = 't' |
|
staticconstexpr |
◆ M_MESSAGE_WRITE
| constexpr char geopm::BatchStatus::M_MESSAGE_WRITE = 'w' |
|
staticconstexpr |
The documentation for this class was generated from the following files: