Orocos Real-Time Toolkit
2.6.0
|
Exposes the operations this service offers. More...
import "rtt/transports/corba/OperationInterface.idl";
Public Types | |
typedef sequence< string > | COperationList |
Public Member Functions | |
COperationList | getOperations () |
Get a list of all operations. | |
CDescriptions | getArguments (in string operation) raises (CNoSuchNameException) |
Get a list of all arguments of a given operation. | |
unsigned short | getArity (in string operation) raises (CNoSuchNameException) |
Returns the number of arguments required in callOperation() and sendOperation() for a given operation. | |
unsigned short | getCollectArity (in string operation) raises (CNoSuchNameException) |
Returns the number of arguments required in CSendHandle::collect() and CSendHandle::collectIfDone() for a given operation. | |
string | getResultType (in string operation) raises (CNoSuchNameException) |
Get a result type of a given operation. | |
string | getArgumentType (in string operation, in unsigned short nbr) raises (CNoSuchNameException, CWrongArgumentException) |
Returns the argument or return type name of call as known to the Orocos type system. | |
string | getCollectType (in string operation, in unsigned short nbr) raises (CNoSuchNameException, CWrongArgumentException) |
Returns the argument type of collect as known to the Orocos type system. | |
string | getDescription (in string operation) raises (CNoSuchNameException) |
Get a description of a given operation. | |
void | checkOperation (in string operation, in CAnyArguments args) raises ( CNoSuchNameException, CWrongNumbArgException, CWrongTypeArgException) |
Checks if a given operation accepts the list of arguments. | |
any | callOperation (in string operation, inout CAnyArguments args) raises ( CNoSuchNameException, CWrongNumbArgException, CWrongTypeArgException, CCallInterrupted, CCallError) |
Call an operation with a list of arguments. | |
CSendHandle | sendOperation (in string operation, in CAnyArguments args) raises ( CNoSuchNameException, CWrongNumbArgException, CWrongTypeArgException, CCallInterrupted) |
Send an operation with a list of arguments. |
Exposes the operations this service offers.
Definition at line 126 of file OperationInterface.idl.
any RTT::corba::COperationInterface::callOperation | ( | in string | operation, |
inout CAnyArguments | args | ||
) | raises ( CNoSuchNameException, CWrongNumbArgException, CWrongTypeArgException, CCallInterrupted, CCallError) |
Call an operation with a list of arguments.
This method will block until the operation completes and returns its result.
void RTT::corba::COperationInterface::checkOperation | ( | in string | operation, |
in CAnyArguments | args | ||
) | raises ( CNoSuchNameException, CWrongNumbArgException, CWrongTypeArgException) |
Checks if a given operation accepts the list of arguments.
If no exception is thrown, the arguments and operation name were valid.
CSendHandle RTT::corba::COperationInterface::sendOperation | ( | in string | operation, |
in CAnyArguments | args | ||
) | raises ( CNoSuchNameException, CWrongNumbArgException, CWrongTypeArgException, CCallInterrupted) |
Send an operation with a list of arguments.
This method will return immediately and return a CSendHandle.