|
geopm 3.2.1.dev535+ga96c120fc
GEOPM - Global Extensible Open Power Manager
|
#include <BatchStatus.hpp>


Public Member Functions | |
| BatchStatusServer (int other_pid, const std::string &server_key) | |
| BatchStatusServer (int other_pid, const std::string &server_key, const std::string &fifo_prefix) | |
| BatchStatusServer (const BatchStatusServer &other)=delete | |
| BatchStatusServer & | operator= (const BatchStatusServer &other)=delete |
| virtual | ~BatchStatusServer () |
| Public Member Functions inherited from geopm::BatchStatusImp | |
| BatchStatusImp (int read_fd, int write_fd) | |
| virtual | ~BatchStatusImp ()=default |
| void | send_message (char msg) override |
| Send an integer to the other process. | |
| char | receive_message (void) override |
| Receive any integer from the other process. | |
| void | receive_message (char expect) override |
| Receive specified integer from the other process. | |
| Public Member Functions inherited from geopm::BatchStatus | |
| BatchStatus ()=default | |
| virtual | ~BatchStatus ()=default |
Additional Inherited Members | |
| Static Public Member Functions inherited from geopm::BatchStatus | |
| static std::unique_ptr< BatchStatus > | make_unique_server (int client_pid, const std::string &server_key) |
| static std::unique_ptr< BatchStatus > | make_unique_client (const std::string &server_key) |
| Static Public Attributes inherited from geopm::BatchStatus | |
| static constexpr char | M_MESSAGE_READ = 'r' |
| static constexpr char | M_MESSAGE_WRITE = 'w' |
| static constexpr char | M_MESSAGE_CONTINUE = 'c' |
| static constexpr char | M_MESSAGE_QUIT = 'q' |
| static constexpr char | M_MESSAGE_TERMINATE = 't' |
| Protected Member Functions inherited from geopm::BatchStatusImp | |
| void | check_return (int ret, const std::string &func_name) |
| Protected Attributes inherited from geopm::BatchStatusImp | |
| int | m_read_fd |
| int | m_write_fd |
| Static Protected Attributes inherited from geopm::BatchStatusImp | |
| static constexpr const char * | M_DEFAULT_FIFO_PREFIX |
| geopm::BatchStatusServer::BatchStatusServer | ( | int | other_pid, |
| const std::string & | server_key ) |
The constructor which is called by the server.
| geopm::BatchStatusServer::BatchStatusServer | ( | int | other_pid, |
| const std::string & | server_key, | ||
| const std::string & | fifo_prefix ) |
|
delete |
|
virtual |
|
delete |