src/main/parameter/ParameterManager.h
/**
     * This will go over each control element in the paramters array of the node and try to expose it to the daw
     * Will return true if all parameters could be claimed, false if at least one failed
     */
This will go over each control element in the paramters array of the node and try to expose it to the daw
Will return true if all parameters could be claimed, false if at least one failed
This will go over each control element in the paramters array of the node and try to expose it to the daw Will return true if all parameters could be claimed false if at least one failed
bool claimNode(Node* node) {
      bool gotAllParams = true;
      String prefix = node->mInfo->displayName;
      for (int i = 0; i < node->mParameterCount; i++) {
        if (node->mParameters[i].wantsDawParameter && !claimParameter(&node->mParameters[i], prefix.c_str())) {
          WDBGMSG("Ran out of daw parameters!\n");
          gotAllParams = false;
        }
      }
      if (mCallback != nullptr) {
        mCallback();
      }
      return gotAllParams;
    }
bool claimNode ( Node * node ) { bool gotAllParams = true ; String prefix = node -> mInfo -> displayName ; for ( int i = 0 ; i < node -> mParameterCount ; i ++ ) { if ( node -> mParameters [ i ] . wantsDawParameter && ! claimParameter ( & node -> mParameters [ i ] , prefix . c_str ( ) ) ) { WDBGMSG ( " \n " ) ; gotAllParams = false ; } } if ( mCallback != nullptr ) { mCallback ( ) ; } return gotAllParams ; }
This will go over each control element in the paramters array of the node and try to expose it to the daw
 Will return true if all parameters could be claimed, false if at least one failed
This will go over each control element in the paramters array of the node and try to expose it to the daw Will return true if all parameters could be claimed false if at least one failed
/**
           * this means the manager has no free parameters left and the control cannot be automated from the daw
           */