|
Orocos Real-Time Toolkit
2.5.0
|
A CTaskContext is the main entry point of a distributed component and maps to a RTT::TaskContext. More...
import "rtt/transports/corba/TaskContext.idl";
Public Types | |
| typedef sequence< string > | CPeerNames |
Public Member Functions | |
| string | getName () |
| Return the instance name of this component. | |
| string | getDescription () |
| Return the description of this component. | |
| CDataFlowInterface | ports () |
| Access to the Data Flow ports. | |
| boolean | connectPeers (in CTaskContext p) |
| Create a two-way peer connection. | |
| boolean | disconnectPeers (in string name) |
| Destroy a two-way peer connection. | |
| boolean | connectPorts (in CTaskContext p) |
| Connect all compatible and equally named data ports with another CTaskContext's data ports. | |
| boolean | connectServices (in CTaskContext p) |
| Connect all compatible and equally named services with another CTaskContext's services. | |
TaskContext life-cycle | |
| CTaskState | getTaskState () |
| Returns the current state of the component. | |
| boolean | configure () |
| Configure this component. | |
| boolean | start () |
| Start this component. | |
| boolean | activate () |
| Activate this component. | |
| boolean | stop () |
| Stop this component. | |
| boolean | resetException () |
| Asks the component to transition from an Exception state to the Stopped state. | |
| boolean | cleanup () |
| Cleanup this component. | |
| boolean | isActive () |
| Is this component's ExecutionEngine active ? | |
| boolean | isRunning () |
| Is this component running ? | |
| boolean | isConfigured () |
| Is this component configured ? | |
| boolean | inFatalError () |
| Is this component in a Fatal error state ? | |
| boolean | inRunTimeError () |
| Is this component in a RunTime error state ? | |
CTaskContext services | |
| CService | getProvider (in string service_name) |
| Get a service. | |
| CServiceRequester | getRequester (in string service_name) |
| Get a required service. | |
CTaskContext Browsing functions. | |
| CPeerNames | getPeerList () |
| Get a list of all the peers this task is connected to. | |
| CTaskContext | getPeer (in string name) |
| Get a peer this task is connected to. | |
| boolean | hasPeer (in string name) |
| Has this task a peer with given name ? | |
| boolean | addPeer (in CTaskContext p, in string peer_alias) |
| Add a one-way peer connection. | |
| boolean | removePeer (in string name) |
| Remove a one-way peer connection. | |
A CTaskContext is the main entry point of a distributed component and maps to a RTT::TaskContext.
Definition at line 33 of file TaskContext.idl.
| boolean RTT::corba::CTaskContext::activate | ( | ) |
Activate this component.
| boolean RTT::corba::CTaskContext::addPeer | ( | in CTaskContext | p, |
| in string | peer_alias | ||
| ) |
Add a one-way peer connection.
| boolean RTT::corba::CTaskContext::cleanup | ( | ) |
Cleanup this component.
| boolean RTT::corba::CTaskContext::configure | ( | ) |
Configure this component.
| boolean RTT::corba::CTaskContext::connectPeers | ( | in CTaskContext | p | ) |
Create a two-way peer connection.
| boolean RTT::corba::CTaskContext::connectPorts | ( | in CTaskContext | p | ) |
Connect all compatible and equally named data ports with another CTaskContext's data ports.
| boolean RTT::corba::CTaskContext::connectServices | ( | in CTaskContext | p | ) |
Connect all compatible and equally named services with another CTaskContext's services.
| boolean RTT::corba::CTaskContext::disconnectPeers | ( | in string | name | ) |
Destroy a two-way peer connection.
| CTaskContext RTT::corba::CTaskContext::getPeer | ( | in string | name | ) |
Get a peer this task is connected to.
| CPeerNames RTT::corba::CTaskContext::getPeerList | ( | ) |
Get a list of all the peers this task is connected to.
| CService RTT::corba::CTaskContext::getProvider | ( | in string | service_name | ) |
Get a service.
Use 'this' as the name to get the task context's own service provider
| CServiceRequester RTT::corba::CTaskContext::getRequester | ( | in string | service_name | ) |
Get a required service.
| boolean RTT::corba::CTaskContext::hasPeer | ( | in string | name | ) |
Has this task a peer with given name ?
| boolean RTT::corba::CTaskContext::inFatalError | ( | ) |
Is this component in a Fatal error state ?
| boolean RTT::corba::CTaskContext::inRunTimeError | ( | ) |
Is this component in a RunTime error state ?
| boolean RTT::corba::CTaskContext::isActive | ( | ) |
Is this component's ExecutionEngine active ?
| boolean RTT::corba::CTaskContext::isConfigured | ( | ) |
Is this component configured ?
| boolean RTT::corba::CTaskContext::isRunning | ( | ) |
Is this component running ?
Access to the Data Flow ports.
| boolean RTT::corba::CTaskContext::removePeer | ( | in string | name | ) |
Remove a one-way peer connection.
| boolean RTT::corba::CTaskContext::resetException | ( | ) |
Asks the component to transition from an Exception state to the Stopped state.
| boolean RTT::corba::CTaskContext::start | ( | ) |
Start this component.
| boolean RTT::corba::CTaskContext::stop | ( | ) |
Stop this component.
1.7.6.1