#include <llioutil.h>
Public Member Functions | |
LLChangeChannel (S32 is, S32 becomes) | |
Constructor for iterating over a segment range to change channel. | |
void | operator() (LLSegment &segment) |
Do the work of changing the channel. | |
Protected Attributes | |
S32 | mIs |
S32 | mBecomes |
set_in_to_out(LLChannelDescriptors channels, LLBufferArray* buf) { std::for_each( buf->beginSegment(), buf->endSegment(), LLChangeChannel(channels.in(), channels.out())); }
Definition at line 155 of file llioutil.h.
Constructor for iterating over a segment range to change channel.
is | The channel to match when looking at a segment. | |
becomes | The channel to set the segment when a match is found. |
Definition at line 87 of file llioutil.cpp.
Do the work of changing the channel.
Definition at line 93 of file llioutil.cpp.
References LLSegment::isOnChannel(), mBecomes, mIs, and LLSegment::setChannel().
S32 LLChangeChannel::mBecomes [protected] |
S32 LLChangeChannel::mIs [protected] |