2015-05-06 07:38:29 +02:00
|
|
|
module Virtual
|
|
|
|
# The message that is being processed has a layout as per the constant above
|
|
|
|
class MessageSlot < Slot
|
2015-06-11 07:04:14 +02:00
|
|
|
def initialize index , type = Unknown , value = nil
|
2015-05-06 07:38:29 +02:00
|
|
|
super(index ,type , value )
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Return < MessageSlot
|
2015-06-11 07:04:14 +02:00
|
|
|
def initialize type = Unknown, value = nil
|
2015-05-06 07:38:29 +02:00
|
|
|
super( MESSAGE_RETURN_VALUE , type , value )
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Self < MessageSlot
|
2015-06-11 07:04:14 +02:00
|
|
|
def initialize type = Unknown, value = nil
|
2015-05-06 07:38:29 +02:00
|
|
|
super( MESSAGE_SELF , type , value )
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Name of the current message
|
|
|
|
class Name < MessageSlot
|
2015-06-11 07:04:14 +02:00
|
|
|
def initialize type = Unknown, value = nil
|
2015-05-06 07:38:29 +02:00
|
|
|
super( MESSAGE_NAME , type , value )
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|