geopm  3.1.1.dev296+g5916b956
GEOPM - Global Extensible Open Power Manager
Public Member Functions | List of all members
geopm::BatchStatusClient Class Reference

#include <BatchStatus.hpp>

Inheritance diagram for geopm::BatchStatusClient:
Inheritance graph
[legend]
Collaboration diagram for geopm::BatchStatusClient:
Collaboration graph
[legend]

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
 
BatchStatusClientoperator= (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. More...
 
char receive_message (void) override
 Receive any integer from the other process. More...
 
void receive_message (char expect) override
 Receive specified integer from the other process. More...
 
- 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< BatchStatusmake_unique_server (int client_pid, const std::string &server_key)
 
static std::unique_ptr< BatchStatusmake_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
 

Constructor & Destructor Documentation

◆ BatchStatusClient() [1/3]

geopm::BatchStatusClient::BatchStatusClient ( const std::string &  server_key)

The constructor which is called by the client.

◆ BatchStatusClient() [2/3]

geopm::BatchStatusClient::BatchStatusClient ( const std::string &  server_key,
const std::string &  fifo_prefix 
)

◆ BatchStatusClient() [3/3]

geopm::BatchStatusClient::BatchStatusClient ( const BatchStatusClient other)
delete

◆ ~BatchStatusClient()

geopm::BatchStatusClient::~BatchStatusClient ( )
virtual

Member Function Documentation

◆ operator=()

BatchStatusClient& geopm::BatchStatusClient::operator= ( const BatchStatusClient other)
delete

The documentation for this class was generated from the following files: