HISE Logo Forum
    • Categories
    • Register
    • Login

    Table functions unavailable for UI tables

    Scheduled Pinned Locked Moved General Questions
    scripttabletableresetfunction
    5 Posts 2 Posters 390 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.
    • d.healeyD
      d.healey
      last edited by

      It seems some of the functions available for Tables and Table Processors are not available for ScriptTables. Has this always been the case? I think some of these functions need to be available to UI tables.

      HiseSnippet 819.3ocsUstaSCCE1tqdrTXHlDO.Q8WYRipVXLPbQLZ6JpB5VEcLw+l7bbasVhcThyFUn8TvaDuC7dva.bbb5Z1VUYqRzeTkykuy4y9bw8iULdRhJFgcNbRDGge.YvDodbqwTgD0sMB+PROZhlG6ZU0bRDMIg6iv3U9fQA1oLJ62ueWSZ.Ux3yTgPGoDL9mDgB8Ls828ihffNTe9ghvBdu8tcYJYKUfJE3yJj5nHJ6T5H99TiakHH7p64Kzp3AZplm.9zT4OYvX04Rq+GIRDmDvMBMPCf.YUiZMVD32e5YMAgvk6O6juh8j+XROgu3R8ytAdTlA2YHJdGfKsHJ03NPIbAJU1RoMHCXwhH8LKF9beRWITPFRgq5hTw5KpzOvjVJvCotVH8TdmXP3RDd6Tu9Vtvea95JUfq6Ds6YzX2Co.Ia39V2oHGw0sTgQJIH3U0ZtpAiPFHjb2goRlVnjtJYyTsVIaXPFqB7XSgsED4fT9lU9dEGwPWubIGGazpEyS3ZOHlW.gc94MOzU2rVhQeVBZQCBNAZL7tdlgHUfU6qz7CjdYYuxEUbutogCmqs7XEvimqYSGa7h.5ISCOgGW7rabDJoWsOY0aWeBydsTvQkrqTnOHhmK2QE3ap+luuYWEJ+dE95KcaS0TSiVtNvuHdrVXnCtM+LXR0114PZySNUqhfgtKKFH78zYVWOuoLqJhDPpWiXqnnugvD7qfbMw7wafONW3qGaD9IFgFyEiFqMRUAoD5Y7tx9YcAl1WTgTspMUOLOU15bVtbH4Ecax5hyS1ulSDEI8TgP7nwfK3RnaNfAi1J+z.p9py6lEa4Ffh6UFxLCRxDgdRwEe2gk.0W3RfaKE2fzWnYimOGKMGNBk8+GbLe045j8FNjyzyHXYRmutr6I+Go+ypTsPNpGUGKL8.6mFN.dwfwgrKk7fDS6PISquUttQ1bCLfK8yD9C7K2XCiLN2XioFQgTVr5Xlcj1rbdsLM.mjYuE4.OJBxtMPYi4.NR8Z0Qgv6DGyXli+Sfow4i4oKAlmsDX1dIv77k.yNKAlWrDXd4BwXdh98oZUncb.Tzeur8cX7dRy1ortPzewpBA2j
      

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      d.healeyD 1 Reply Last reply Reply Quote 1
      • d.healeyD
        d.healey @d.healey
        last edited by d.healey

        I've tried creating a function that returns the table or tableprocessor of the scripttable, HISE compiles and lets me call my function, but still none of the table/tableprocessor functions are available. Any ideas?

        These are the two I tried:

        var ScriptingApi::Content::ScriptTable::asTable()
        {
        	if (auto t = getCachedTable())
        		return var(t);		
        }
        
        var ScriptingApi::Content::ScriptTable::asTable()
        {
        	if (auto t = getCachedTable())
        	{
        		ScriptingObjects::ScriptingTableProcessor *st = dynamic_cast<ScriptingObjects::ScriptingTableProcessor*>(t);
        		return var(st);
        	}		
        }
        

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        clevername27C 1 Reply Last reply Reply Quote 1
        • clevername27C
          clevername27 @d.healey
          last edited by

          @d-healey Wondering about this, myself.

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @clevername27
            last edited by

            @clevername27 https://github.com/christophhart/HISE/pull/631

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            clevername27C 1 Reply Last reply Reply Quote 2
            • clevername27C
              clevername27 @d.healey
              last edited by

              @d-healey You never cease to amaze me, David. Thank you - fantastic.

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

              16

              Online

              1.7k

              Users

              11.9k

              Topics

              103.4k

              Posts