Home | Download | Screen shots | Discussion | Documentation |
---|
Public Member Functions | |
audio_clip_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) | |
Construct. | |
virtual | ~audio_clip_node () throw () |
Destroy. | |
void | update (double time) |
Called to update the AudioClip for the current time. | |
virtual audio_clip_node * | to_audio_clip () const |
Cast to an audio_clip_node node. | |
Private Member Functions | |
virtual void | do_initialize (double timestamp) throw (std::bad_alloc) |
Initialize. | |
virtual void | do_shutdown (double timestamp) throw () |
Shut down. | |
Private Attributes | |
exposedfield< sfstring > | description_ |
description exposedField. | |
exposedfield< sfbool > | loop_ |
loop exposedField. | |
exposedfield< sffloat > | pitch_ |
pitch exposedField. | |
exposedfield< sftime > | start_time_ |
startTime exposedField. | |
exposedfield< sftime > | stop_time_ |
stopTime exposedField. | |
exposedfield< mfstring > | url_ |
url exposedField. | |
sftime | duration_changed_ |
duration_changed eventOut value. | |
sftime_emitter | duration_changed_emitter_ |
duration_changed eventOut emitter. | |
sfbool | is_active_ |
isActive eventOut value. | |
sfbool_emitter | is_active_emitter_ |
isActive eventOut emitter. | |
Friends | |
class | audio_clip_class |
Class object for AudioClip nodes. |
openvrml::vrml97_node::audio_clip_node::audio_clip_node | ( | const node_type & | type, | |
const boost::shared_ptr< openvrml::scope > & | scope | |||
) |
Construct.
type | the node_type associated with the node instance. | |
scope | the scope to which the node belongs. |
openvrml::vrml97_node::audio_clip_node::~audio_clip_node | ( | ) | throw () [virtual] |
Destroy.
void openvrml::vrml97_node::audio_clip_node::update | ( | double | time | ) |
Called to update the AudioClip for the current time.
time | the current time. |
audio_clip_node * openvrml::vrml97_node::audio_clip_node::to_audio_clip | ( | ) | const [virtual] |
void openvrml::vrml97_node::audio_clip_node::do_initialize | ( | double | timestamp | ) | throw (std::bad_alloc) [private, virtual] |
Initialize.
timestamp | the current time. |
std::bad_alloc | if memory allocation fails. |
Reimplemented from openvrml::node.
void openvrml::vrml97_node::audio_clip_node::do_shutdown | ( | double | timestamp | ) | throw () [private, virtual] |
openvrml::vrml97_node::audio_clip_node::audio_clip_class [friend] |
Class object for AudioClip nodes.
description exposedField.
loop exposedField.
pitch exposedField.
startTime exposedField.
stopTime exposedField.
url exposedField.
duration_changed eventOut value.
duration_changed eventOut emitter.
isActive eventOut value.
isActive eventOut emitter.