Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
camera_design [2020/08/30 21:15]
paul [Camera Design]
camera_design [2020/08/31 03:24] (current)
paul [Observer Pattern]
Line 4: Line 4:
  
 Android uses an IPC framework called Binder that allows for inter process communication. Everyone in Android is connected together in Binder. Android uses an IPC framework called Binder that allows for inter process communication. Everyone in Android is connected together in Binder.
 +
 +===== Intents =====
 +
 +Android allows for processes to communicate with each other using Intents. You can send intents to other processes and then handle their callbacks.
 +
 +{{:pasted:20200830-211833.png?500}}
 +
 +==== Binder Structure ====
 +
 +{{:pasted:20200830-213136.png?500}}
 +
 +Binder allows us to communicate to other process through a managed way. It's pretty much roscore in ROS.
 +
 +Theres a bunch of different stuff that will happen to get messages from senders to receivers. No need to worry about it but here is how it looks.
 +
 +{{:pasted:20200830-224627.png?500}}
 +
 +Here is an interesting example of how this plays out when an app requests a location service.
 +
 +{{:pasted:20200830-224905.png?500}}
  
 ===== OOP ===== ===== OOP =====
Line 62: Line 82:
  
 ===== OOP Patterns ===== ===== OOP Patterns =====
 +
 +The following are different design patterns that can be implemented.
 +
 ==== Strategy Pattern ==== ==== Strategy Pattern ====
  
Line 72: Line 95:
 dynamically. dynamically.
  
 +==== Observer Pattern ====
 +
 +This very similar to the publisher subscriber model. An Observer 
 +
 +{{:pasted:20200830-233332.png?500}}
 ===== Video Compression ==== ===== Video Compression ====
  
  • camera_design.1598822122.txt.gz
  • Last modified: 2020/08/30 21:15
  • by paul