An object that is executable and is freed after execution. More...
#include <DisposableInterface.hpp>
Public Types | |
typedef boost::shared_ptr < DisposableInterface > | shared_ptr |
Public Member Functions | |
virtual void | dispose ()=0 |
virtual void | executeAndDispose ()=0 |
virtual | ~DisposableInterface () |
An object that is executable and is freed after execution.
Definition at line 53 of file DisposableInterface.hpp.
typedef boost::shared_ptr<DisposableInterface> RTT::base::DisposableInterface::shared_ptr |
Use this type for shared pointer storage of an DisposableInterface object.
Reimplemented in RTT::internal::FusedMSignal< Signature >, RTT::internal::LocalOperationCallerImpl< FunctionT >, RTT::base::OperationCallerBase< F >, RTT::base::OperationCallerBase< OperationCallerT >, RTT::base::OperationCallerBase< Signature >, RTT::base::OperationCallerBase< FunctionT >, and RTT::base::OperationCallerInterface.
Definition at line 60 of file DisposableInterface.hpp.
virtual RTT::base::DisposableInterface::~DisposableInterface | ( | ) | [inline, virtual] |
Definition at line 62 of file DisposableInterface.hpp.
virtual void RTT::base::DisposableInterface::dispose | ( | ) | [pure virtual] |
Just free this object without executing it.
Implemented in RTT::internal::FusedMSignal< Signature >, RTT::RemoveMsg, RTT::internal::LocalOperationCallerImpl< FunctionT >, and RTT::internal::RemoteOperationCallerImpl< OperationCallerT >.
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 >.