CreateParameterSet¶
-
virtual PLockableParameterSet IRobot::CreateParameterSet(const std::string &name, const std::vector<PSignal> &signals) = 0¶
Creates a lockable parameter set with the specified name and the specified signals.
- Parameters
name – Name of the parameter set.
signals – Signals in the parameter set.
- Returns
PLockableParameterSet – Created parameter set.
- Throws
CNullArgumentException
– Empty pointer was passed.CInvalidArgumentException
– Invalid name specified.CInvalidArgumentException
– No signals specified.CInvalidArgumentException
– Too many signals specified (see product specific documentation).CInvalidArgumentException
– Signal is not writable.CInvalidArgumentException
– Specified signal is not part of this robot or one of its children.CInvalidArgumentException
– Specified signal maps to a sub-controller which implies a single cycle switch cannot be guaranteed.CInvalidArgumentException
– Signal that is not part of the robot topology is provided.CInvalidOperationException
– Can only create parameter set when robot is completed.CUnknownObjectException
– One or more signals are unknown, belong to an other controller.COutOfResourcesException
– No parameter set available.CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.