OpenCPN Partial API docs
Loading...
Searching...
No Matches
RESTServerEvent Class Reference
Inheritance diagram for RESTServerEvent:

Public Member Functions

 RESTServerEvent (wxEventType commandType=wxEVT_RESTFUL_SERVER, int id=0)
 
void SetPayload (std::shared_ptr< std::string > data)
 
void SetSource (std::string source)
 
void SetAPIKey (std::string key)
 
std::shared_ptr< std::string > GetPayload ()
 
wxEvent * Clone () const
 

Public Attributes

std::shared_ptr< std::string > m_payload
 
std::string m_source_peer
 
std::string m_api_key
 

Detailed Description

Definition at line 98 of file REST_server.cpp.

Constructor & Destructor Documentation

◆ RESTServerEvent()

RESTServerEvent::RESTServerEvent ( wxEventType  commandType = wxEVT_RESTFUL_SERVER,
int  id = 0 
)
inline

Definition at line 100 of file REST_server.cpp.

◆ ~RESTServerEvent()

RESTServerEvent::~RESTServerEvent ( )
inline

Definition at line 103 of file REST_server.cpp.

Member Function Documentation

◆ Clone()

wxEvent * RESTServerEvent::Clone ( ) const
inline

Definition at line 118 of file REST_server.cpp.

◆ GetPayload()

std::shared_ptr< std::string > RESTServerEvent::GetPayload ( )
inline

Definition at line 115 of file REST_server.cpp.

◆ SetAPIKey()

void RESTServerEvent::SetAPIKey ( std::string  key)
inline

Definition at line 112 of file REST_server.cpp.

◆ SetPayload()

void RESTServerEvent::SetPayload ( std::shared_ptr< std::string >  data)
inline

Definition at line 106 of file REST_server.cpp.

◆ SetSource()

void RESTServerEvent::SetSource ( std::string  source)
inline

Definition at line 109 of file REST_server.cpp.

Member Data Documentation

◆ m_api_key

std::string RESTServerEvent::m_api_key

Definition at line 129 of file REST_server.cpp.

◆ m_payload

std::shared_ptr<std::string> RESTServerEvent::m_payload

Definition at line 127 of file REST_server.cpp.

◆ m_source_peer

std::string RESTServerEvent::m_source_peer

Definition at line 128 of file REST_server.cpp.


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