Following my recent questions about sync points, what are the implications
of associating ready with TM_STROKE in the 3rd line from the bottom?
I didn¹t see this in the SVN commit archives, has it been fixed in a more
recent version?
The following is from bml.cpp:

//  SpeechRequest
//    (no transition/blend yet)
SpeechRequest::SpeechRequest( DOMElement* xml, const XMLCh* id,
TriggerEvent* trigger )
:    xml( xml ),
    id( id? new XMLCh[ XMLString::stringLen(id)+1 ] : NULL ),
    start( new SynchPoint( buildBmlId( id, TM_START ), trigger,
trigger->start ) ),
    ready( new SynchPoint( buildBmlId( id, TM_READY ), trigger, start ) ),
    relax( new SynchPoint( buildBmlId( id, TM_RELAX ), trigger, ready ) ),
    end( new SynchPoint( buildBmlId( id, TM_END ), trigger, relax ) ),
    trigger( trigger )
{
    BmlRequest* request = trigger->request;
    if( id ) {
        XMLString::copyString( const_cast<XMLCh*>(this->id), id );

        // Register synch points
        request->synch_points.insert( make_pair( buildBmlId( id, TM_START ),
start ) );
        request->synch_points.insert( make_pair( buildBmlId( id, TM_READY ),
ready ) );
        request->synch_points.insert( make_pair( buildBmlId( id, TM_STROKE
), ready ) );
        request->synch_points.insert( make_pair( buildBmlId( id, TM_RELAX ),
relax ) );
        request->synch_points.insert( make_pair( buildBmlId( id, TM_END ),
end ) );


Alex Hill Ph.D.
Research Scientist
Center for Technology and Social Behavior
Northwestern University
<http://www.alexshill.com>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Smartbody-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartbody-developer

Reply via email to