Class: Rbind::RCallback
- Defined in:
- lib/rbind/core/rcallback.rb
Instance Attribute Summary collapse
-
#fct ⇒ Object
readonly
Returns the value of attribute fct.
Attributes inherited from RDataType
#cdelete_method, #check_type, #invalid_value, #typedef
Attributes inherited from RBase
#alias, #auto_alias, #cname, #csignature, #doc, #extern_package_name, #ignore, #name, #namespace, #owner, #signature, #version
Instance Method Summary collapse
- #callback? ⇒ Boolean
-
#initialize(name, return_type, *args) ⇒ RCallback
constructor
A new instance of RCallback.
Methods inherited from RDataType
#==, #basic_type?, #check_type?, #cname, #const?, #container?, #ownership?, #ptr?, #raw?, #ref?, #remove_const, #remove_ownership, #remove_ptr, #remove_ref, #template?, #to_const, #to_ownership, #to_ptr, #to_raw, #to_ref, #to_single_ptr, #typedef?
Methods inherited from RBase
basename, #binding, #delete!, #doc?, #extern?, #full_name, #generate_signatures, #ignore?, #map_to_namespace, namespace, #namespace?, normalize, #pretty_print, #rename, #specialize_ruby, split_name, to_cname, #to_s
Constructor Details
#initialize(name, return_type, *args) ⇒ RCallback
Returns a new instance of RCallback.
6 7 8 9 |
# File 'lib/rbind/core/rcallback.rb', line 6 def initialize(name,return_type,*args) @fct = ROperation.new(name,return_type,*args) super(name) end |
Instance Attribute Details
#fct ⇒ Object (readonly)
Returns the value of attribute fct.
4 5 6 |
# File 'lib/rbind/core/rcallback.rb', line 4 def fct @fct end |
Instance Method Details
#callback? ⇒ Boolean
11 12 13 |
# File 'lib/rbind/core/rcallback.rb', line 11 def callback? true end |