CreateAxisControl¶
-
virtual PAxisControl IController::CreateAxisControl(const std::string &name, PTemplate template_) = 0¶
Creates an axis control with the specified name, using the specified template.
- Parameters
name – Name of the axis control.
template – Template used to create the axis control.
- Returns
PAxisControl – Created axis control.
- Throws
CInvalidArgumentException– Invalid name specified.CInvalidArgumentException– Specified template is not of type ETemplateType::AxisControl.CInvalidConfigException– Invalid template definition.CUnsupportedException– Axis control creation is not supported.CInvalidOperationException– Axis control can not be created while top-controller state is not “Config”.COutOfResourcesException– Maximum number of axis controls 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.