Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class MPCallbackList
Note: This documentation is automatically generated.
Single callback that runs the list of callbacks given at construction, in
sequence.
Method |
MPCallbackList | Return type: explicit Arguments: const std::vector<MPCallback*>& callbacks |
RunCallback | Return type: void Arguments: MPCallbackContext* context Runs all callbacks from the list given at construction, in sequence.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[],["The `MPCallbackList` class in C++ manages a list of callbacks. It is initialized with a vector of `MPCallback` pointers. Its core functionality is encapsulated in the `RunCallback` method, which iterates through and executes each callback in the list sequentially. The `MPCallbackList` object's constructor takes the callback list to use as an argument.\n"],null,[]]