Orocos Real-Time Toolkit  2.8.3
Public Types | Public Member Functions | List of all members
RTT::base::DisposableInterface Class Referenceabstract

An object that is executable and is freed after execution. More...

#include <rtt/base/DisposableInterface.hpp>

Inheritance diagram for RTT::base::DisposableInterface:
RTT::base::OperationCallerInterface RTT::internal::FusedMSignal< Signature > RTT::RemoveMsg RTT::base::OperationCallerBase< FunctionT > RTT::base::OperationCallerBase< OperationCallerT > RTT::base::OperationCallerBase< Signature > RTT::base::OperationCallerBase< F > RTT::internal::LocalOperationCallerImpl< FunctionT > RTT::internal::RemoteOperationCallerImpl< OperationCallerT >

Public Types

typedef boost::shared_ptr< DisposableInterfaceshared_ptr
 Use this type for shared pointer storage of an DisposableInterface object. More...
 

Public Member Functions

virtual ~DisposableInterface ()
 
virtual void executeAndDispose ()=0
 Execute functionality and free this object. More...
 
virtual void dispose ()=0
 Just free this object without executing it. More...
 

Detailed Description

An object that is executable and is freed after execution.

Definition at line 53 of file DisposableInterface.hpp.

Member Typedef Documentation

Use this type for shared pointer storage of an DisposableInterface object.

Definition at line 60 of file DisposableInterface.hpp.

Constructor & Destructor Documentation

virtual RTT::base::DisposableInterface::~DisposableInterface ( )
inlinevirtual

Definition at line 62 of file DisposableInterface.hpp.

Member Function Documentation

virtual void RTT::base::DisposableInterface::dispose ( )
pure virtual
virtual void RTT::base::DisposableInterface::executeAndDispose ( )
pure virtual

Execute functionality and free this object.

You may no longer use this object after calling this method.

Implemented in RTT::internal::FusedMSignal< Signature >, RTT::RemoveMsg, RTT::internal::LocalOperationCallerImpl< FunctionT >, and RTT::internal::RemoteOperationCallerImpl< OperationCallerT >.

Referenced by RTT::ExecutionEngine::processMessages().


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