Class: WEEL::HandlerWrapperBase
Overview
}}}
Class Method Summary collapse
- .inform_handlerwrapper_error(arguments, err) ⇒ Object
- .inform_position_change(arguments, ipc) ⇒ Object
-
.inform_state_change(arguments, newstate) ⇒ Object
{{{.
- .inform_syntax_error(arguments, err, code) ⇒ Object
Instance Method Summary collapse
- #activity_handle(passthrough, parameters) ⇒ Object
- #activity_no_longer_necessary ⇒ Object
- #activity_passthrough_value ⇒ Object
- #activity_result_status ⇒ Object
- #activity_result_value ⇒ Object
- #activity_stop ⇒ Object
- #callback(result = nil, options = {}) ⇒ Object
- #inform_activity_done ⇒ Object
- #inform_activity_failed(err) ⇒ Object
- #inform_activity_manipulate ⇒ Object
- #inform_manipulate_change(status, changed_data, changed_endpoints, data, endpoints) ⇒ Object
-
#initialize(arguments, endpoint = nil, position = nil, continue = nil) ⇒ HandlerWrapperBase
constructor
A new instance of HandlerWrapperBase.
- #manipulate(mr, code, result = nil, status = nil) ⇒ Object
-
#simulate(type, nesting, sequence, parent, parameters = {}) ⇒ Object
type => activity, loop, parallel, choice nesting => none, start, end eid => id’s also for control structures parameters => stuff given to the control structure.
- #test_condition(mr, code) ⇒ Object
- #vote_sync_after ⇒ Object
- #vote_sync_before(parameters = nil) ⇒ Object
Constructor Details
#initialize(arguments, endpoint = nil, position = nil, continue = nil) ⇒ HandlerWrapperBase
Returns a new instance of HandlerWrapperBase.
191 |
# File 'lib/weel.rb', line 191 def initialize(arguments,endpoint=nil,position=nil,continue=nil); end |
Class Method Details
.inform_handlerwrapper_error(arguments, err) ⇒ Object
188 |
# File 'lib/weel.rb', line 188 def self::inform_handlerwrapper_error(arguments,err); end |
.inform_position_change(arguments, ipc) ⇒ Object
189 |
# File 'lib/weel.rb', line 189 def self::inform_position_change(arguments,ipc); end |
.inform_state_change(arguments, newstate) ⇒ Object
{{{
186 |
# File 'lib/weel.rb', line 186 def self::inform_state_change(arguments,newstate); end |
.inform_syntax_error(arguments, err, code) ⇒ Object
187 |
# File 'lib/weel.rb', line 187 def self::inform_syntax_error(arguments,err,code); end |
Instance Method Details
#activity_handle(passthrough, parameters) ⇒ Object
193 |
# File 'lib/weel.rb', line 193 def activity_handle(passthrough, parameters); end |
#activity_no_longer_necessary ⇒ Object
201 |
# File 'lib/weel.rb', line 201 def activity_no_longer_necessary; end |
#activity_passthrough_value ⇒ Object
199 |
# File 'lib/weel.rb', line 199 def activity_passthrough_value; end |
#activity_result_status ⇒ Object
196 |
# File 'lib/weel.rb', line 196 def activity_result_status; end |
#activity_result_value ⇒ Object
195 |
# File 'lib/weel.rb', line 195 def activity_result_value; end |
#activity_stop ⇒ Object
198 |
# File 'lib/weel.rb', line 198 def activity_stop; end |
#callback(result = nil, options = {}) ⇒ Object
217 |
# File 'lib/weel.rb', line 217 def callback(result=nil,={}); end |
#inform_activity_done ⇒ Object
203 |
# File 'lib/weel.rb', line 203 def inform_activity_done; end |
#inform_activity_failed(err) ⇒ Object
205 |
# File 'lib/weel.rb', line 205 def inform_activity_failed(err); end |
#inform_activity_manipulate ⇒ Object
204 |
# File 'lib/weel.rb', line 204 def inform_activity_manipulate; end |
#inform_manipulate_change(status, changed_data, changed_endpoints, data, endpoints) ⇒ Object
206 |
# File 'lib/weel.rb', line 206 def inform_manipulate_change(status,changed_data,changed_endpoints,data,endpoints); end |
#manipulate(mr, code, result = nil, status = nil) ⇒ Object
220 |
# File 'lib/weel.rb', line 220 def manipulate(mr,code,result=nil,status=nil); mr.instance_eval(code); end |
#simulate(type, nesting, sequence, parent, parameters = {}) ⇒ Object
type => activity, loop, parallel, choice nesting => none, start, end eid => id’s also for control structures parameters => stuff given to the control structure
215 |
# File 'lib/weel.rb', line 215 def simulate(type,nesting,sequence,parent,parameters={}); end |
#test_condition(mr, code) ⇒ Object
219 |
# File 'lib/weel.rb', line 219 def test_condition(mr,code); mr.instance_eval(code); end |
#vote_sync_after ⇒ Object
209 |
# File 'lib/weel.rb', line 209 def vote_sync_after; true; end |
#vote_sync_before(parameters = nil) ⇒ Object
208 |
# File 'lib/weel.rb', line 208 def vote_sync_before(parameters=nil); true; end |