Towards Real World Object Orientation Paul Holleis Albrecht - - PowerPoint PPT Presentation

towards real world object orientation
SMART_READER_LITE
LIVE PREVIEW

Towards Real World Object Orientation Paul Holleis Albrecht - - PowerPoint PPT Presentation

Towards Real World Object Orientation Paul Holleis Albrecht Schmidt paul@hcilab.org albrecht@hcilab.org Research Group Embedded Interaction University of Munich, Germany Paul Holleis Embedded Interaction Research Group University of


slide-1
SLIDE 1

Paul Holleis Embedded Interaction Research Group University of Munich, Germany

Towards Real World Object Orientation

Paul Holleis Albrecht Schmidt

paul@hcilab.org albrecht@hcilab.org

Research Group Embedded Interaction University of Munich, Germany

slide-2
SLIDE 2

Paul Holleis Embedded Interaction Research Group University of Munich, Germany

2

“Definitions”

  • Real World Objects

All sorts of tangible, not virtual devices Display, PDA, TV, Phone, Ball

  • Object Orientation

See Software Engineering Objects as instances of abstractions (classes, interfaces) Properties and Capabilities

slide-3
SLIDE 3

Paul Holleis Embedded Interaction Research Group University of Munich, Germany

3

Problem Statement

  • Many devices / technologies exist

(Particles, Smart-Its, PocketPC, Symbian)

  • Different ways of programming for each

(high level, low level, hard level)

  • Different communication as well
  • Hardly any way of combining several of

them (neatly)

slide-4
SLIDE 4

Paul Holleis Embedded Interaction Research Group University of Munich, Germany

4

Example Problem

  • Knob based on Pin&Play (N. Villar et al.)
  • Java programmable cell phone with display
  • Should be easy:

Get informed on phone when knob changed

– Technology is available – How to connect?

slide-5
SLIDE 5

Paul Holleis Embedded Interaction Research Group University of Munich, Germany

5

Proposed Solution

  • Use existing programming language and

environment

  • Treat real world objects as common

programming objects

  • Provide the environment with capabilities

to use such objects in an obvious way

slide-6
SLIDE 6

Paul Holleis Embedded Interaction Research Group University of Munich, Germany

6

Example Solution

Eclipse Plug-in

– sense new devices – retrieve interface – create proxy classes – show and alter properties

slide-7
SLIDE 7

Paul Holleis Embedded Interaction Research Group University of Munich, Germany

7

Some Open Questions?

  • Categorisation of devices?
  • Event based mechanism?
  • Is there an object / class hierarchy / inheritance?
  • What about abstraction, polymorphism?
  • Deploy interfaces on central server / web page

associated to each device?

  • IDL, suitable interface description language?
  • Interface documentation?