Exemple #1
0
bool Channel::_cmdFrameFinishReply( co::Command& command )
{
    const ChannelFrameFinishReplyPacket* packet = 
        command.get<ChannelFrameFinishReplyPacket>();

    _fireLoadData( packet->frameNumber, packet->nStatistics,
                   packet->statistics, packet->region );
    return true;
}
Exemple #2
0
bool Channel::_cmdFrameFinishReply( co::ICommand& cmd )
{
    co::ObjectICommand command( cmd );
    const Viewport& region = command.read< Viewport >();
    const uint32_t frameNumber = command.read< uint32_t >();
    const Statistics& statistics = command.read< Statistics >();

    _fireLoadData( frameNumber, statistics, region );
    return true;
}