HISE Logo Forum
    • Categories
    • Register
    • Login

    HISE Object-Oriented Programming Tutorial/Code Example?

    Scheduled Pinned Locked Moved Unsolved Scripting
    3 Posts 2 Posters 175 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • clevername27C
      clevername27
      last edited by

      After a suggestion by the wise and powerful @Lindon, I explored refactoring a plugin to implement a quasi-OO schema. Polymorphism, Constructors, Destructors, Operator Overloading, Public and Private Methods, and such.

      I'd love to share this (if only to be corrected at how I'm doing bad things), but there's an aspect of polymorphism I'm still grasping at—identifying HISE objects. (For example, ID'ing every type of processor.)

      I know there are some special cases for this, but I'm looking for a generalized solution across HISE. Something like "instanceof", "typeid" or such. Likewise, to be able to traverse up or down the inheritance tree.

      Is there such a thing, or a technique?

      Thanks.

      LindonL 1 Reply Last reply Reply Quote 1
      • LindonL
        Lindon @clevername27
        last edited by

        @clevername27 it sounds like you have gone waaaay beyond my level of expertise.....well done, I must be more careful what i suggest in future...😲

        HISE Development for hire.
        www.channelrobot.com

        clevername27C 1 Reply Last reply Reply Quote 2
        • clevername27C
          clevername27 @Lindon
          last edited by

          @Lindon …or, I've done something really dumb. :beaming_face_with_smiling_eyes:

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          24

          Online

          1.8k

          Users

          12.1k

          Topics

          105.7k

          Posts