Lecture 20: Extended Visitor Design Pattern

October 8, 2012

Ambient Temperature: 74.1oF Concepts Extended Visitor Design Pattern: Instead of a host calling visitor.this_type_of_host_case(…), the host can call visitor.case_for_host( host_type, parameters… ). This allows your visitor to have a set_case_for_host( host_type, ICase _case ) method that will add behavior to the visitor for the specified host type. The end result is that you can support […]