OpenCPN Partial API docs
PluginMsg Class Reference

A plugin to plugin json message over the REST interface. More...

#include <comm_navmsg.h>

Inheritance diagram for PluginMsg:
NavMsg KeyProvider

Public Member Functions

 PluginMsg (const std::string &_name, const std::string &_dest_host, const std::string &msg)
 
 PluginMsg (const std::string &_name, const std::string &msg)
 
std::string key () const
 
- Public Member Functions inherited from NavMsg
virtual std::string to_string () const
 
std::string GetKey () const
 

Public Attributes

const std::string name
 
const std::string message
 
const std::string dest_host
 hostname, ip address or 'localhost'
 
- Public Attributes inherited from NavMsg
const NavAddr::Bus bus
 
std::shared_ptr< const NavAddrsource
 

Additional Inherited Members

- Protected Member Functions inherited from NavMsg
 NavMsg (const NavAddr::Bus &_bus, std::shared_ptr< const NavAddr > src)
 

Detailed Description

A plugin to plugin json message over the REST interface.

Definition at line 292 of file comm_navmsg.h.


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