OpenCPN Partial API docs
Loading...
Searching...
No Matches
ObservedEvt Class Reference

Adds a std::shared<void> element to wxCommandEvent. More...

#include <ocpn_plugin.h>

Inheritance diagram for ObservedEvt:

Public Member Functions

 ObservedEvt (wxEventType commandType=obsNOTIFY, int id=0)
 
 ObservedEvt (const ObservedEvt &event)
 
wxEvent * Clone () const
 
std::shared_ptr< const void > GetSharedPtr () const
 
void SetSharedPtr (std::shared_ptr< const void > p)
 
 ObservedEvt (wxEventType commandType=obsNOTIFY, int id=0)
 Construct an event using given commandType and id. More...
 
 ObservedEvt (const ObservedEvt &event)
 Copy operation. More...
 
wxEvent * Clone () const
 Return a shallow copy of this. More...
 
std::shared_ptr< const void > GetSharedPtr () const
 Retrieve pointer set by SetSharedPtr(). More...
 
void SetSharedPtr (std::shared_ptr< const void > p)
 Set a shared_ptr transferred to listeners. More...
 

Detailed Description

Adds a std::shared<void> element to wxCommandEvent.

Definition at line 1615 of file ocpn_plugin.h.

Constructor & Destructor Documentation

◆ ObservedEvt() [1/4]

ObservedEvt::ObservedEvt ( wxEventType  commandType = obsNOTIFY,
int  id = 0 
)
inline

Definition at line 1617 of file ocpn_plugin.h.

◆ ObservedEvt() [2/4]

ObservedEvt::ObservedEvt ( const ObservedEvt event)
inline

Definition at line 1619 of file ocpn_plugin.h.

◆ ObservedEvt() [3/4]

ObservedEvt::ObservedEvt ( wxEventType  commandType = obsNOTIFY,
int  id = 0 
)
inline

Construct an event using given commandType and id.

Definition at line 40 of file observable_evt.h.

◆ ObservedEvt() [4/4]

ObservedEvt::ObservedEvt ( const ObservedEvt event)
inline

Copy operation.

Definition at line 44 of file observable_evt.h.

Member Function Documentation

◆ Clone() [1/2]

wxEvent * ObservedEvt::Clone ( ) const
inline

Definition at line 1623 of file ocpn_plugin.h.

◆ Clone() [2/2]

wxEvent * ObservedEvt::Clone ( ) const
inline

Return a shallow copy of this.

Definition at line 49 of file observable_evt.h.

◆ GetSharedPtr() [1/2]

std::shared_ptr< const void > ObservedEvt::GetSharedPtr ( ) const
inline

Definition at line 1625 of file ocpn_plugin.h.

◆ GetSharedPtr() [2/2]

std::shared_ptr< const void > ObservedEvt::GetSharedPtr ( ) const
inline

Retrieve pointer set by SetSharedPtr().

Definition at line 52 of file observable_evt.h.

◆ SetSharedPtr() [1/2]

void ObservedEvt::SetSharedPtr ( std::shared_ptr< const void >  p)
inline

Definition at line 1627 of file ocpn_plugin.h.

◆ SetSharedPtr() [2/2]

void ObservedEvt::SetSharedPtr ( std::shared_ptr< const void >  p)
inline

Set a shared_ptr transferred to listeners.

Definition at line 55 of file observable_evt.h.


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