Orocos Real-Time Toolkit  2.5.0
Public Types | Public Member Functions
RTT::corba::COperationInterface Interface Reference

Exposes the operations this service offers. More...

import "rtt/transports/corba/OperationInterface.idl";

Inheritance diagram for RTT::corba::COperationInterface:
RTT::corba::CService

List of all members.

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)
 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.

Detailed Description

Exposes the operations this service offers.

Definition at line 121 of file OperationInterface.idl.


Member Function Documentation

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.

Send an operation with a list of arguments.

This method will return immediately and return a CSendHandle.


The documentation for this interface was generated from the following file: