Afficher un message
Vieux 18/10/2007, 19h38   #4
Erik Wikström
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Taking values from Queue

On 2007-10-18 20:19, Donos wrote:
> Ok. Like i said, the Queue is declared as,
>
> std::queue<unsigned char> m_RxQueue;
>
> and the data is pushed into Queue using,
>
> m_RxQueue.push(*pBuf++);
>
> Where pBuf is a unsigned char*
>
> ---------------------------------------------
>
> And my question is, Now how can i extract the data back?
>
> If not a Deque::Iterator, what other approach i can use to extract
> data from Queue?


front() and pop(), if they are not enough then a queue is not what you want.

--
Erik Wikström
  Réponse avec citation
 
Page generated in 0,05987 seconds with 9 queries