[gmpi] Re: low level API

  • From: "Angus F. Hewlett" <angus@xxxxxxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Wed, 02 Feb 2005 20:20:37 +0000

Mike Berry wrote:


This is where I think that an interface-based approach, even if implemented with dispatcher/selectors can be useful.


So the main entry is used to acquire various "interfaces." The interfaces could be structs with function pointers in them, or they could be subdispatchers. Generalized, this can produce a useful heirarchy, where later changes only affect the readability of subsections.


Yep... and you can build on that by having all interfaces or dispatchers share a common head-end (the first X entries in the vtable or the dispatcher opcode table) allowing nice COM-style type and interface interrogation.

Best regards,
      Angus.

--
=========================================================
Angus F. Hewlett, Managing Director (CEO)
FXpansion Audio UK Ltd - http://www.fxpansion.com
Registered in the UK - #4455834 - VAT: GB 798 7782 33
=========================================================



---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: