Next: C++ SLAC Throttle Status Up: C++ API Previous: C++ SLAC Throttle Show

C++ SLAC Throttle Remove



  void cmlogFilterSLAC::throttleRemove (int n)
This function removes the n'th throttle, as listed in throttleShow() output. Note that this will renumber all throttles after this one, so removing a series of throttles with this function requires keeping track of the changing throttle numbers via throttleShow().

Note that indexing begins at 1. A call of throttleRemove(0) will remove all throttles being stored in the SLAC filter. An invalid index will send an error reply and no action will be taken.

ALso note that after a call to throttleRemove(n), the indexing changes and so if you wish to do further deletion, you must call throttleShow() again to make sure that you are using the correct index.
James Silva
2002-10-28