paludis  Version 2.6.0
Public Member Functions | List of all members
paludis::IPCInputManager Class Reference

Public Member Functions

 IPCInputManager (const Environment *const, const std::function< void(const std::shared_ptr< OutputManager > &)> &)
 
const std::function< std::string(const std::string &)> pipe_command_handler () PALUDIS_ATTRIBUTE((warn_unused_result))
 
const std::shared_ptr< OutputManagerunderlying_output_manager_if_constructed () const PALUDIS_ATTRIBUTE((warn_unused_result))
 

Member Function Documentation

const std::shared_ptr<OutputManager> paludis::IPCInputManager::underlying_output_manager_if_constructed ( ) const

The underlying output manager.

The underlying output manager is not constructed until the child process requests it, so a null pointer may be returned.

Normally the output manager is destroyed when the IPCInputManager is destroyed, but keeping the shared pointer this method returns around for longer will also work, if, for example, any 'finished' messages are to be displayed later on.


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