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


Public Member Functions | |
| BatchStatusClient (const std::string &server_key) | |
| BatchStatusClient (const std::string &server_key, const std::string &fifo_prefix) | |
| BatchStatusClient (const BatchStatusClient &other)=delete | |
| BatchStatusClient & | operator= (const BatchStatusClient &other)=delete |
| virtual | ~BatchStatusClient () |
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::BatchStatusClient::BatchStatusClient | ( | const std::string & | server_key | ) |
The constructor which is called by the client.
| geopm::BatchStatusClient::BatchStatusClient | ( | const std::string & | server_key, |
| const std::string & | fifo_prefix | ||
| ) |
|
delete |
|
virtual |
|
delete |