Queue¶
-
virtual void ICommandQueue::Queue(PCommandSequence sequence, ECommandQueuePriority prio = ECommandQueuePriority::Normal) = 0¶
Queues the commands of the specified command sequence without waiting for execution to complete.
- Parameters
sequence – Command sequence containing commands to be queued.
prio – Queue priority for the command.
- Throws
CNullArgumentException
– Empty pointer was passed.CInvalidArgumentException
– Command sequence does not belong to this queue.CInvalidArgumentException
– Unknown priority specified.CInvalidConfigException
– Command sequence set as event response.CInvalidConfigException
– Invalid configuration of command(s) in the command sequence.CInvalidOperationException
– Command state not “Idle”.CInvalidOperationException
– Top-controller state is not “Run”.CResourceBusyException
– Axis associated with queue is part of an axis control group.CResourceBusyException
– CommandQueue is in use by homing.CResourceBusyException
– Command sequence is claimed by event response.COutOfResourcesException
– Queue is full. See product specific documentation.CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.