|
|
typedef R | SignatureType(A...) |
|
typedef SlotCall< SignatureType > | SelfType |
|
typedef std::shared_ptr< SelfType > | sptr |
|
typedef std::weak_ptr< SelfType > | wptr |
|
typedef std::shared_future< R > | SharedFutureType |
|
typedef void | SignatureType(A...) |
|
typedef SlotRun< SignatureType > | SelfType |
|
typedef std::shared_ptr< SelfType > | sptr |
|
typedef std::weak_ptr< SelfType > | wptr |
|
typedef std::shared_future< void > | VoidSharedFutureType |
| SlotBase::asyncRun return type.
|
|
typedef std::set< std::shared_ptr< const SlotConnectionBase > > | ConnectionSetType |
| Connections container type.
|
|
typedef std::shared_ptr< SlotBase > | sptr |
|
typedef std::weak_ptr< SlotBase > | wptr |
|
typedef std::shared_ptr< SlotBase const > | csptr |
|
typedef std::weak_ptr< SlotBase const > | cwptr |
|
typedef std::string | IDType |
|
|
virtual R | call (A...) const =0 |
| Call the Slot with the given parameters.
|
|
virtual SharedFutureType | asyncCall (const std::shared_ptr< ::fwThread::Worker > &worker, A...args) const |
| Call the Slot with the given parameters asynchronously. More...
|
|
virtual SharedFutureType | asyncCall (A...args) const |
| Call the Slot with the given parameters asynchronously. The execution of this slot will occur on it's own worker. More...
|
|
template<typename WEAKCALL > |
std::shared_future< R > | postWeakCall (const ::fwThread::Worker::sptr &worker, WEAKCALL f) |
|
virtual void | run (A...a) const =0 |
| Run the Slot with the given parameters.
|
|
virtual SlotBase::VoidSharedFutureType | asyncRun (const std::shared_ptr< ::fwThread::Worker > &worker, A...args) const |
| Run the Slot with the given parameters asynchronously. More...
|
|
virtual SlotBase::VoidSharedFutureType | asyncRun (A...args) const |
| Run the Slot with the given parameters asynchronously. The execution of this slot will occur on it's own worker. More...
|
|
template<typename R , typename WEAKCALL > |
std::shared_future< R > | postWeakCall (const ::fwThread::Worker::sptr &worker, WEAKCALL f) |
|
unsigned int | arity () const |
| Returns Slot's arity. The arity defines the number of parameters in Slot signature.
|
|
void | setWorker (const std::shared_ptr< ::fwThread::Worker > &worker) |
| Sets Slot's Worker.
|
|
std::shared_ptr< ::fwThread::Worker > | getWorker () const |
| Returns Slot's Worker.
|
|
size_t | getNumberOfConnections () const |
| Returns number of connections.
|
|
template<typename A1 , typename A2 , typename A3 > |
void | run (A1 a1, A2 a2, A3 a3) const |
|
template<typename A1 , typename A2 > |
void | run (A1 a1, A2 a2) const |
|
template<typename A1 > |
void | run (A1 a1) const |
|
FWCOM_API void | run () const |
|
template<typename R , typename A1 , typename A2 , typename A3 > |
R | call (A1 a1, A2 a2, A3 a3) const |
|
template<typename R , typename A1 , typename A2 > |
R | call (A1 a1, A2 a2) const |
|
template<typename R , typename A1 > |
R | call (A1 a1) const |
|
template<typename R > |
R | call () const |
|
template<typename A1 , typename A2 , typename A3 > |
VoidSharedFutureType | asyncRun (A1 a1, A2 a2, A3 a3) const |
|
template<typename A1 , typename A2 > |
VoidSharedFutureType | asyncRun (A1 a1, A2 a2) const |
|
template<typename A1 > |
VoidSharedFutureType | asyncRun (A1 a1) const |
|
FWCOM_API VoidSharedFutureType | asyncRun () const |
|
template<typename R , typename A1 , typename A2 , typename A3 > |
std::shared_future< R > | asyncCall (A1 a1, A2 a2, A3 a3) const |
|
template<typename R , typename A1 , typename A2 > |
std::shared_future< R > | asyncCall (A1 a1, A2 a2) const |
|
template<typename R , typename A1 > |
std::shared_future< R > | asyncCall (A1 a1) const |
|
template<typename R > |
std::shared_future< R > | asyncCall () const |
|
virtual bool | isA (const std::string &type) const |
|
virtual const std::string & | getLeafClassname () const |
| return object's classname without its namespace, i.e. BaseObject
|
|
virtual const std::string & | getClassname () const |
| return full object's classname with its namespace, i.e. fwCore::BaseObject
|
|
template<typename R, typename... A>
struct fwCom::SlotCall< R(A...) >
Slot call interface (call with return value).
- Template Parameters
-
R | Slot's return type. |
A | Slot's arguments types. |
Definition at line 30 of file SlotCall.hpp.