#include <help.hpp>
Inheritance diagram for process::Help:
Public Member Functions
void
add (const std::string &id, const std::string &name, const
Option< std::string > &help)
bool
remove (const std::string &id, const std::string &name)
bool
remove (const std::string &id)
Returns the
PID of the process.
More...
Protected Member Functions
Invoked when a process gets spawned.
More...
Invoked when an event is serviced.
More...
Invoked when a process is terminated.
More...
Invoked when a linked process has exited.
More...
Invoked when a linked process can no longer be monitored.
More...
void
send (const
UPID &to, const std::string &name, const char *data=nullptr, size_t length=0)
void
send (const
UPID &to, std::string &&name)
void
send (const
UPID &to, std::string &&name, std::string &&data)
Sets up a handler for messages with the specified name.
More...
template<typename T >
void
install (const std::string &name, void(T::*method)(const
UPID &, const std::string &))
Sets up a handler for messages with the specified name.
More...
Delegates incoming messages, with the specified name, to the
UPID .
More...
Sets up a handler for HTTP requests with the specified name.
More...
template<typename T >
Sets up a handler for HTTP requests with the specified name.
More...
template<typename T >
void
provide (const std::string &name, const std::string &path, const std::map< std::string, std::string > &types=
mime::types)
Sets up the default HTTP request handler to provide the static asset(s) at the specified
absolute path for the specified name.
More...
template<typename T >
Returns the number of events of the given type currently on the event queue.
More...
Friends
Additional Inherited Members
Any function which takes a "from"
UPID and a message body as arguments.
More...
Constructor & Destructor Documentation
process::Help::Help
(
const
Option< std::string > &
delegate )
Member Function Documentation
void process::Help::add
(
const std::string &
id,
const std::string &
name,
const
Option< std::string > &
help
)
void process::Help::initialize
(
)
overrideprotectedvirtual
bool process::Help::remove
(
const std::string &
id,
const std::string &
name
)
bool process::Help::remove
(
const std::string &
id )
Friends And Related Function Documentation
The documentation for this class was generated from the following file:
- 3rdparty/libprocess/include/process/help.hpp