CreateAxisControlGroup¶
- 
virtual PAxisControlGroup IController::CreateAxisControlGroup(const std::string &name, const std::vector<PAxisControl> &axes, PTemplate template_ = nullptr) = 0¶
- Creates an axis control group with the specified name, using the specified axes and template. - Parameters
- name – Name of the new axis control group. 
- axes – Axis controls that will be part of the new axis control group. 
- template – Template used to create the axis control group. 
 
- Returns
- PAxisControlGroup – Created axis control group. 
- Throws
- CInvalidArgumentException– Invalid name specified.
- CInvalidArgumentException– Empty axis control vector specified.
- CInvalidArgumentException– Too many axis controls specified (see product specific documentation).
- CInvalidArgumentException– Axis names are not unique.
- CInvalidArgumentException– Specified template is not of type ETemplateType::Group.
- CUnknownObjectException– One or more axis controls are unknown, belong to an other controller.
- CInvalidConfigException– Invalid template definition.
- CUnsupportedException– Axis control groups are not supported.
- CInvalidOperationException– Axis control states of the specified axis controls are not compatible.
- CResourceBusyException– One or more axis controls are already part of another axis control group, or queue of one or more axis controls is in running state.
- COutOfResourcesException– Maximum number of axis control groups exceeded.
- CCommunicationErrorException– Protocol error.
- CConnectionLostException– Connection to controller lost.
- CRebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.
- CIncompatibleException– Incompatible firmware version loaded.
- CObjectDestroyedException– Object is destroyed.