|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLSOUND::CSoundPattern Class Reference#include <sound_pattern.h>
List of all members.
Public Methods |
| CSoundPattern () |
| Constructor. More...
|
virtual | ~CSoundPattern () |
| Destructor. More...
|
|
virtual void | addSound (std::string &name) |
virtual void | removeSound (std::string &name) |
virtual void | getSounds (std::vector< std::string > &sounds) |
|
virtual PatternIterator | beginSoundPattern () |
virtual std::string & | getSound (PatternIterator *iterator) |
|
virtual IntervalIterator | beginIntervalPattern () |
virtual uint16 | getInterval (IntervalIterator *iterator) |
|
virtual void | setSoundPattern (std::string &list) |
virtual void | getSoundPattern (std::string &list) |
virtual void | generateRandomPattern (uint length) |
virtual void | generateRandomMin1Pattern (uint length) |
|
virtual void | setIntervals (std::string &list) |
virtual void | getIntervals (std::string &list) |
virtual void | generateRandomIntervals (uint length, uint16 min, uint16 max) |
virtual void | generateRandomMin1Intervals (uint length, uint16 min, uint16 max) |
|
virtual float | getTicksPerSecond () |
virtual void | setTicksPerSecond (float ticks) |
|
virtual void | setSpawn (bool v) |
virtual bool | getSpawn () |
|
virtual void | setVolumeEnvelope (ISoundController *env) |
virtual ISoundController * | getVolumeEnvelope () |
virtual void | setFreqModulation (ISoundController *mod) |
virtual ISoundController * | getFreqModulation () |
Private Methods |
virtual void | parsePattern (std::string &list, uint16_string &pattern) |
virtual void | concatenatePattern (std::string &list, uint16_string &pattern) |
virtual void | generateRandomPattern (uint16_string &pattern, uint length, uint16 min, uint16 max) |
virtual void | generateRandomMin1Pattern (uint16_string &pattern, uint length, uint16 min, uint16 max) |
virtual void | expandString (std::string &s, std::string &buffer) |
Private Attributes |
std::vector< std::string > | _Sounds |
float | _TicksPerSeconds |
uint16_string | _SoundPattern |
uint16_string | _Intervals |
bool | _Spawn |
ISoundController * | _VolumeEnvelope |
ISoundController * | _FreqModulation |
std::string | _StringBuffer |
Constructor & Destructor Documentation
NLSOUND::CSoundPattern::CSoundPattern |
( |
|
) |
|
|
virtual NLSOUND::CSoundPattern::~CSoundPattern |
( |
|
) |
[virtual] |
|
Member Function Documentation
virtual void NLSOUND::CSoundPattern::addSound |
( |
std::string & |
name |
) |
[inline, virtual] |
|
virtual IntervalIterator NLSOUND::CSoundPattern::beginIntervalPattern |
( |
|
) |
[inline, virtual] |
|
virtual PatternIterator NLSOUND::CSoundPattern::beginSoundPattern |
( |
|
) |
[inline, virtual] |
|
virtual void NLSOUND::CSoundPattern::concatenatePattern |
( |
std::string & |
list, |
|
|
uint16_string & |
pattern |
|
) |
[private, virtual] |
|
virtual void NLSOUND::CSoundPattern::expandString |
( |
std::string & |
s, |
|
|
std::string & |
buffer |
|
) |
[private, virtual] |
|
virtual void NLSOUND::CSoundPattern::generateRandomIntervals |
( |
uint |
length, |
|
|
uint16 |
min, |
|
|
uint16 |
max |
|
) |
[virtual] |
|
virtual void NLSOUND::CSoundPattern::generateRandomMin1Intervals |
( |
uint |
length, |
|
|
uint16 |
min, |
|
|
uint16 |
max |
|
) |
[virtual] |
|
virtual void NLSOUND::CSoundPattern::generateRandomMin1Pattern |
( |
uint16_string & |
pattern, |
|
|
uint |
length, |
|
|
uint16 |
min, |
|
|
uint16 |
max |
|
) |
[private, virtual] |
|
virtual void NLSOUND::CSoundPattern::generateRandomMin1Pattern |
( |
uint |
length |
) |
[virtual] |
|
virtual void NLSOUND::CSoundPattern::generateRandomPattern |
( |
uint |
length |
) |
[virtual] |
|
virtual ISoundController* NLSOUND::CSoundPattern::getFreqModulation |
( |
|
) |
[inline, virtual] |
|
virtual void NLSOUND::CSoundPattern::getIntervals |
( |
std::string & |
list |
) |
[virtual] |
|
virtual std::string& NLSOUND::CSoundPattern::getSound |
( |
PatternIterator * |
iterator |
) |
[virtual] |
|
virtual void NLSOUND::CSoundPattern::getSoundPattern |
( |
std::string & |
list |
) |
[virtual] |
|
virtual void NLSOUND::CSoundPattern::getSounds |
( |
std::vector< std::string > & |
sounds |
) |
[virtual] |
|
virtual bool NLSOUND::CSoundPattern::getSpawn |
( |
void |
|
) |
[inline, virtual] |
|
virtual float NLSOUND::CSoundPattern::getTicksPerSecond |
( |
|
) |
[inline, virtual] |
|
virtual ISoundController* NLSOUND::CSoundPattern::getVolumeEnvelope |
( |
|
) |
[inline, virtual] |
|
virtual void NLSOUND::CSoundPattern::parsePattern |
( |
std::string & |
list, |
|
|
uint16_string & |
pattern |
|
) |
[private, virtual] |
|
virtual void NLSOUND::CSoundPattern::removeSound |
( |
std::string & |
name |
) |
[virtual] |
|
virtual void NLSOUND::CSoundPattern::setFreqModulation |
( |
ISoundController * |
mod |
) |
[inline, virtual] |
|
virtual void NLSOUND::CSoundPattern::setIntervals |
( |
std::string & |
list |
) |
[virtual] |
|
virtual void NLSOUND::CSoundPattern::setSoundPattern |
( |
std::string & |
list |
) |
[virtual] |
|
virtual void NLSOUND::CSoundPattern::setSpawn |
( |
bool |
v |
) |
[inline, virtual] |
|
virtual void NLSOUND::CSoundPattern::setTicksPerSecond |
( |
float |
ticks |
) |
[inline, virtual] |
|
virtual void NLSOUND::CSoundPattern::setVolumeEnvelope |
( |
ISoundController * |
env |
) |
[inline, virtual] |
|
Member Data Documentation
ISoundController* NLSOUND::CSoundPattern::_FreqModulation [private]
|
|
std::vector<std::string> NLSOUND::CSoundPattern::_Sounds [private]
|
|
bool NLSOUND::CSoundPattern::_Spawn [private]
|
|
std::string NLSOUND::CSoundPattern::_StringBuffer [private]
|
|
float NLSOUND::CSoundPattern::_TicksPerSeconds [private]
|
|
ISoundController* NLSOUND::CSoundPattern::_VolumeEnvelope [private]
|
|
The documentation for this class was generated from the following file:
|
|