Base class for the generated C++ glue class, forwarding the Goby virtual methods to Python.
More...
#include <goby/middleware/languages/python/application.h>
|
| using | Hook = std::function< void()> |
| |
| using | HealthHook = std::function< std::string(const std::string &)> |
| | Takes the serialized ThreadHealth Goby filled in and returns the one Python wrote.
|
| |
template<typename
AppBase>
class goby::middleware::python::Application< AppBase >
Base class for the generated C++ glue class, forwarding the Goby virtual methods to Python.
- Template Parameters
-
Definition at line 161 of file application.h.
◆ HealthHook
Takes the serialized ThreadHealth Goby filled in and returns the one Python wrote.
Definition at line 168 of file application.h.
◆ Hook
◆ finalize()
◆ health()
Hands the report goby_coroner asked for to Python, as serialized Protobuf.
Serializing round trip rather than a wrapped message: the Python and C++ descriptor pools are separate, and this way an extension Python does not know about survives as an unknown field instead of being dropped.
Definition at line 190 of file application.h.
◆ initialize()
◆ loop()
◆ set_hooks()
The documentation for this class was generated from the following file: