GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
callback_event Class Reference
Inheritance diagram for callback_event:
Collaboration diagram for callback_event:

Public Types

enum  priority { INTERRUPT , QUEUE , CANCEL }
 

Public Member Functions

 callback_event (const graphics_handle &h, const octave_value &cb, const octave_value &data=Matrix(), int busyaction=base_graphics_event::QUEUE)
 
 callback_event (const graphics_handle &h, const std::string &name, const octave_value &data=Matrix(), int busyaction=base_graphics_event::QUEUE)
 
void execute (void)
 
int get_busyaction (void)
 

Private Member Functions

 callback_event (void)
 

Private Attributes

octave_value callback
 
octave_value callback_data
 
std::string callback_name
 
graphics_handle handle
 
int m_busyaction
 

Detailed Description

Definition at line 11832 of file graphics.cc.

Member Enumeration Documentation

◆ priority

Enumerator
INTERRUPT 
QUEUE 
CANCEL 

Definition at line 6147 of file graphics.in.h.

Constructor & Destructor Documentation

◆ callback_event() [1/3]

callback_event::callback_event ( const graphics_handle h,
const std::string &  name,
const octave_value data = Matrix (),
int  busyaction = base_graphics_event::QUEUE 
)
inline

Definition at line 11836 of file graphics.cc.

◆ callback_event() [2/3]

callback_event::callback_event ( const graphics_handle h,
const octave_value cb,
const octave_value data = Matrix (),
int  busyaction = base_graphics_event::QUEUE 
)
inline

Definition at line 11842 of file graphics.cc.

◆ callback_event() [3/3]

callback_event::callback_event ( void  )
inlineprivate

Definition at line 11860 of file graphics.cc.

Member Function Documentation

◆ execute()

void callback_event::execute ( void  )
inlinevirtual

Implements base_graphics_event.

Definition at line 11848 of file graphics.cc.

References octave::__get_gh_manager__(), and gh_manager::execute_callback().

◆ get_busyaction()

int base_graphics_event::get_busyaction ( void  )
inlineinherited

Definition at line 6161 of file graphics.in.h.

Member Data Documentation

◆ callback

octave_value callback_event::callback
private

Definition at line 11867 of file graphics.cc.

◆ callback_data

octave_value callback_event::callback_data
private

Definition at line 11868 of file graphics.cc.

◆ callback_name

std::string callback_event::callback_name
private

Definition at line 11866 of file graphics.cc.

◆ handle

graphics_handle callback_event::handle
private

Definition at line 11865 of file graphics.cc.

◆ m_busyaction

int base_graphics_event::m_busyaction
privateinherited

Definition at line 6166 of file graphics.in.h.


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