#include <iso_synth_channel_map.h>
Public Member Functions | |
| ChannelMap (unsigned int pChannelCount) throw (SynthException) | |
| parameter based constructor | |
| ChannelMap (const math::Vector< unsigned int > &pMap) throw (SynthException) | |
| parameter based constructor | |
| ChannelMap (unsigned int pChannelCount, unsigned int *pMap) throw (SynthException) | |
| parameter based constructor | |
| ChannelMap (unsigned int pChannelCount, unsigned int p1,...) throw (SynthException) | |
| parameter based constructor | |
| ChannelMap (const ChannelMap &pChannelMap) | |
| copy constructor | |
| ChannelMap (const serialize::SerializeData &pSerializeData) throw (serialize::SerializeException) | |
| serialization based constructor | |
| ~ChannelMap () | |
| destructor | |
| virtual serialize::SerializeData | serialize (const String &pSerialName=sClassName) const |
| create serializeData for channel map | |
| unsigned int | mapSize () const |
| return number of mapped channels | |
| int | channel (unsigned int pChannelIndex) const throw (SynthException) |
| return single target channel index | |
| void | setChannel (unsigned int pChannelIndex, int pMapValue) throw (SynthException) |
| set single target channel index | |
| void | setChannels (unsigned int *pMap) |
| set channel map | |
Static Public Member Functions | |
| static serialize::Serializable * | deSerialize (const serialize::SerializeData &pSerializeData) throw (serialize::SerializeException) |
| create channel map from SerializeData | |
Static Public Attributes | |
| static const String | sClassName |
| default name | |
Protected Attributes | |
| unsigned int | mMapSize |
| number of mapped channels | |
| int * | mChannelArray |
| array of target channel indices | |
Friends | |
| class | ChannelConversionStrategyManager |
| std::ostream & | operator<< (std::ostream &pOstream, const ChannelMap &pChannelMap) |
| print unit information | |
remapping information
Created by Daniel Bisig on 6/7/06.
| ChannelMap::ChannelMap | ( | unsigned int | pChannelCount | ) | throw (SynthException) |
parameter based constructor
| pChannelCount | number of channels |
| ChannelMap::ChannelMap | ( | const math::Vector< unsigned int > & | pMap | ) | throw (SynthException) |
parameter based constructor
| pMap | channel map values |
| ChannelMap::ChannelMap | ( | unsigned int | pChannelCount, | |
| unsigned int * | pMap | |||
| ) | throw (SynthException) |
parameter based constructor
| pChannelCount | number of channels | |
| pMap | array of map values |
| ChannelMap::ChannelMap | ( | unsigned int | pChannelCount, | |
| unsigned int | p1, | |||
| ... | ||||
| ) | throw (SynthException) |
parameter based constructor
| pChannelCount | number of channels | |
| p1 | first of a number of target channel indexes |
| ChannelMap::ChannelMap | ( | const ChannelMap & | pChannelMap | ) |
copy constructor
| pChannelMap | channel map to copy properties from |
| ChannelMap::ChannelMap | ( | const serialize::SerializeData & | pSerializeData | ) | throw (serialize::SerializeException) |
serialization based constructor
| pSerializeData | serialization data |
| SerializeException | failed to create channel map |
| ChannelMap::~ChannelMap | ( | ) |
destructor
| serialize::SerializeData ChannelMap::serialize | ( | const String & | pSerialName = sClassName |
) | const [virtual] |
create serializeData for channel map
| serialize::Serializable * ChannelMap::deSerialize | ( | const serialize::SerializeData & | pSerializeData | ) | throw (serialize::SerializeException) [static] |
create channel map from SerializeData
| pSerializeData | SerializeData |
| SerializeException | incompatible SerializeData |
| unsigned int iso::synth::ChannelMap::mapSize | ( | ) | const [inline] |
return number of mapped channels
| int iso::synth::ChannelMap::channel | ( | unsigned int | pChannelIndex | ) | const throw (SynthException) [inline] |
return single target channel index
| pChannelIndex | channel index |
| void ChannelMap::setChannel | ( | unsigned int | pChannelIndex, | |
| int | pMapValue | |||
| ) | throw (SynthException) |
set single target channel index
| pChannelIndex | channel index | |
| pMapValue | map index |
| void ChannelMap::setChannels | ( | unsigned int * | pMap | ) |
set channel map
| pMap | channel map array |
friend class ChannelConversionStrategyManager [friend] |
| std::ostream& operator<< | ( | std::ostream & | pOstream, | |
| const ChannelMap & | pChannelMap | |||
| ) | [friend] |
print unit information
const String ChannelMap::sClassName [static] |
default name
unsigned int iso::synth::ChannelMap::mMapSize [protected] |
number of mapped channels
int* iso::synth::ChannelMap::mChannelArray [protected] |
array of target channel indices
1.5.1