widgetmodel/alfwidgetmodel/src/alfanimationoutput.cpp
changeset 3 4526337fb576
parent 0 e83bab7cf002
equal deleted inserted replaced
2:b1a1f09f9110 3:4526337fb576
    26 #include "alf/alfattributecontainer.h"
    26 #include "alf/alfattributecontainer.h"
    27 #include <alf/alfvisual.h>
    27 #include <alf/alfvisual.h>
    28 #include <alf/alfcontrol.h>
    28 #include <alf/alfcontrol.h>
    29 #include <alf/alfenv.h>
    29 #include <alf/alfenv.h>
    30 #include <alf/alfexceptions.h>
    30 #include <alf/alfexceptions.h>
    31 #include "alf/alfperf.h"
    31 //#include "alf/alfperf.h"
    32 #include "alfanimationoutput.h"
    32 #include "alfanimationoutput.h"
    33 
    33 
    34 namespace Alf
    34 namespace Alf
    35     {
    35     {
    36 
    36 
    94     CAlfVisual* visual = NULL;
    94     CAlfVisual* visual = NULL;
    95     visual = mTargetVisual->resolve( aControl, aDataID );
    95     visual = mTargetVisual->resolve( aControl, aDataID );
    96     if ( visual )
    96     if ( visual )
    97         {
    97         {
    98         // Create the animation command(s) and send them through the env.
    98         // Create the animation command(s) and send them through the env.
    99         ALF_PERF_START( perfdata, "AlfAnimationOutput-sendCommand-createAndSendCommands" )
    99         //ALF_PERF_START( perfdata, "AlfAnimationOutput-sendCommand-createAndSendCommands" )
   100         // reference visual is optional, it may be 0.
   100         // reference visual is optional, it may be 0.
   101         mAttributeSetter->createAndSendCommands( *visual, mAttributeContainer, ref );
   101         mAttributeSetter->createAndSendCommands( *visual, mAttributeContainer, ref );
   102         ALF_PERF_STOP( perfdata, "AlfAnimationOutput-sendCommand-createAndSendCommands" )
   102         //ALF_PERF_STOP( perfdata, "AlfAnimationOutput-sendCommand-createAndSendCommands" )
   103         }
   103         }
   104     }
   104     }
   105 
   105 
   106     } // namespace Alf
   106     } // namespace Alf
   107 
   107