7 #ifndef __intelligence_Audible_h__ 8 #define __intelligence_Audible_h__ 40 Audible(
void) { setName(
"Audible"); }
45 add(voice, FE_SPEC(
"snd:voice",
46 "sp<VoiceI> created as needed"));
47 add(song, FE_SPEC(
"snd:song",
48 "Name of sound emitted"));
49 add(nextSong, FE_SPEC(
"snd:nextSong",
50 "Next sound to play"));
51 add(nextPlays, FE_SPEC(
"snd:nextPlays",
52 "Number of times to play next sound (0 for loop)"));
53 add(gain, FE_SPEC(
"snd:gain",
54 "Fractional volume of sound emitted"));
55 add(pitch, FE_SPEC(
"snd:pitch",
56 "Relative pitch of sound emitted"));
57 add(nextGain, FE_SPEC(
"snd:nextGain",
58 "Fractional volume of next sound"));
59 add(nextPitch, FE_SPEC(
"snd:nextPitch",
60 "Relative pitch of next sound"));
68 identifier()=
"Audible";
virtual void addFunctors(void)
Called at instantiation to add functors.
Definition: Matter.h:36
virtual void initializeRecord(void)
Called at instantiation to initialize attributes.
Definition: Audible.h:62
Matter RecordView.
Definition: Matter.h:19
kernel
Definition: namespace.dox:3
Bound accessor in a RecordView.
Definition: RecordView.h:147
virtual void addFunctors(void)
Called at instantiation to add functors.
Definition: Audible.h:41
Audible RecordView.
Definition: Audible.h:28
sp< Attribute > attribute(void) const
Return the attribute this accessor is for.
Definition: Accessor.cc:151
virtual void initializeRecord(void)
Called at instantiation to initialize attributes.
Definition: Matter.h:53