Class: Fairy::WC::PostFilter
- Defined in:
- lib/fairy/client/wc.rb
Defined Under Namespace
Modules: Interface
Instance Method Summary collapse
- #backend_class_name ⇒ Object
-
#initialize(fairy, opts = nil) ⇒ PostFilter
constructor
A new instance of PostFilter.
- #input=(job) ⇒ Object
- #output(vfn) ⇒ Object
Methods inherited from Filter
#backend, #backend=, #backend_class, #def_pool_variable
Constructor Details
permalink #initialize(fairy, opts = nil) ⇒ PostFilter
Returns a new instance of PostFilter.
64 65 66 67 |
# File 'lib/fairy/client/wc.rb', line 64 def initialize(fairy, opts = nil) super @to_desc = nil end |
Instance Method Details
permalink #backend_class_name ⇒ Object
[View source]
69 70 71 |
# File 'lib/fairy/client/wc.rb', line 69 def backend_class_name "CWC::CPostFilter" end |
permalink #input=(job) ⇒ Object
[View source]
80 81 82 83 84 85 86 |
# File 'lib/fairy/client/wc.rb', line 80 def input=(job) @input = job backend.input=job.backend backend.wait_all_output_finished @vfile.create_vfile end |
permalink #output(vfn) ⇒ Object
[View source]
73 74 75 76 77 78 |
# File 'lib/fairy/client/wc.rb', line 73 def output(vfn) @descripter = vfn @vfile = VFile.new @vfile.vfile_name = vfn backend.output(@vfile) end |