Public Types | Public Member Functions | Private Attributes | List of all members
google::protobuf::compiler::Subprocess Class Reference

#include <subprocess.h>

Public Types

enum  SearchMode { SEARCH_PATH, EXACT_NAME, SEARCH_PATH, EXACT_NAME }
 
enum  SearchMode { SEARCH_PATH, EXACT_NAME, SEARCH_PATH, EXACT_NAME }
 

Public Member Functions

bool Communicate (const Message &input, Message *output, std::string *error)
 
bool Communicate (const Message &input, Message *output, std::string *error)
 
void Start (const std::string &program, SearchMode search_mode)
 
void Start (const std::string &program, SearchMode search_mode)
 
 Subprocess ()
 
 Subprocess ()
 
 ~Subprocess ()
 
 ~Subprocess ()
 

Private Attributes

pid_t child_pid_
 
int child_stdin_
 
int child_stdout_
 

Detailed Description

Definition at line 57 of file third_party/bloaty/third_party/protobuf/src/google/protobuf/compiler/subprocess.h.

Member Enumeration Documentation

◆ SearchMode [1/2]

Enumerator
SEARCH_PATH 
EXACT_NAME 
SEARCH_PATH 
EXACT_NAME 

Definition at line 62 of file third_party/bloaty/third_party/protobuf/src/google/protobuf/compiler/subprocess.h.

◆ SearchMode [2/2]

Enumerator
SEARCH_PATH 
EXACT_NAME 
SEARCH_PATH 
EXACT_NAME 

Definition at line 64 of file third_party/protobuf/src/google/protobuf/compiler/subprocess.h.

Constructor & Destructor Documentation

◆ Subprocess() [1/2]

Subprocess::Subprocess ( )

◆ ~Subprocess() [1/2]

Subprocess::~Subprocess ( )

◆ Subprocess() [2/2]

google::protobuf::compiler::Subprocess::Subprocess ( )

◆ ~Subprocess() [2/2]

google::protobuf::compiler::Subprocess::~Subprocess ( )

Member Function Documentation

◆ Communicate() [1/2]

bool Subprocess::Communicate ( const Message input,
Message output,
std::string *  error 
)

◆ Communicate() [2/2]

bool google::protobuf::compiler::Subprocess::Communicate ( const Message input,
Message output,
std::string *  error 
)

◆ Start() [1/2]

void Subprocess::Start ( const std::string &  program,
SearchMode  search_mode 
)

◆ Start() [2/2]

void google::protobuf::compiler::Subprocess::Start ( const std::string &  program,
SearchMode  search_mode 
)

Member Data Documentation

◆ child_pid_

pid_t Subprocess::child_pid_
private

◆ child_stdin_

int Subprocess::child_stdin_
private

◆ child_stdout_

int Subprocess::child_stdout_
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:22