Inheritance diagram for AsyncQueue:


Public Member Functions | |
| void | push (const CmdGenericPtr &rcCommand, bool removePrev=true) |
| Add a command in the queue, after having removed the commands of the same type already in the queue if needed. | |
| void | remove (const string &rType, const CmdGenericPtr &rcCommand) |
| Remove the commands of the given type. | |
| void | flush () |
| Flush the queue and execute the commands. | |
Static Public Member Functions | |
| static AsyncQueue * | instance (intf_thread_t *pIntf) |
| Get the instance of AsyncQueue Returns NULL if initialization failed. | |
| static void | destroy (intf_thread_t *pIntf) |
| Destroy the instance of AsyncQueue. | |
Friends | |
| class | CmdFlush |
Data Structures | |
| class | CmdFlush |
| AsyncQueue * AsyncQueue::instance | ( | intf_thread_t * | pIntf | ) | [static] |
Get the instance of AsyncQueue Returns NULL if initialization failed.
| void AsyncQueue::destroy | ( | intf_thread_t * | pIntf | ) | [static] |
Destroy the instance of AsyncQueue.
| void AsyncQueue::push | ( | const CmdGenericPtr & | rcCommand, | |
| bool | removePrev = true | |||
| ) |
Add a command in the queue, after having removed the commands of the same type already in the queue if needed.
| void AsyncQueue::remove | ( | const string & | rType, | |
| const CmdGenericPtr & | rcCommand | |||
| ) |
Remove the commands of the given type.
| void AsyncQueue::flush | ( | ) |
Flush the queue and execute the commands.
friend class CmdFlush [friend] |
1.5.1