Public Types | Public Member Functions | Private Member Functions | Static Private Member Functions | List of all members
RTT::internal::OROCOS_SIGNAL_N< R, SlotFunctionT > Class Template Reference

#include <signal_template.hpp>

Inheritance diagram for RTT::internal::OROCOS_SIGNAL_N< R, SlotFunctionT >:
Inheritance graph
[legend]

Public Types

typedef OROCOS_SIGNAL_CONNECTION_N< SlotFunctionT > connection_impl
 
typedef R result_type
 
typedef SlotFunctionT slot_function_type
 
- Public Types inherited from RTT::internal::SignalBase
typedef ConnectionBase::shared_ptr connection_t
 
typedef ListLockFree< connection_tconnections_list
 

Public Member Functions

virtual int arity () const
 
Handle connect (const slot_function_type &f)
 
emit (OROCOS_SIGNATURE_PARMS)
 
fire (OROCOS_SIGNATURE_PARMS)
 
operator() (OROCOS_SIGNATURE_PARMS)
 
OROCOS_SIGNATURE_ARG_TYPES OROCOS_SIGNAL_N ()
 
Handle setup (const slot_function_type &f)
 
- Public Member Functions inherited from RTT::internal::SignalBase
void destroy ()
 
void disconnect ()
 
void reserve (size_t conns)
 
virtual ~SignalBase ()
 

Private Member Functions

 OROCOS_SIGNAL_N (const OROCOS_SIGNAL_N< R, OROCOS_SIGNATURE_TEMPLATE_ARGS OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS SlotFunctionT > &s)
 

Static Private Member Functions

static void emitImpl (const connection_t &c)
 

Additional Inherited Members

- Protected Member Functions inherited from RTT::internal::SignalBase
void conn_connect (connection_t conn)
 
void conn_destroy (connection_t conn)
 
void conn_disconnect (connection_t conn)
 
void conn_setup (connection_t conn)
 
 SignalBase ()
 
- Protected Attributes inherited from RTT::internal::SignalBase
bool emitting
 
connections_list mconnections
 

Detailed Description

template<typename R, OROCOS_SIGNATURE_TEMPLATE_PARMS OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS class SlotFunctionT = OROCOS_SIGNATURE_FUNCTION_N< R OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS OROCOS_SIGNATURE_TEMPLATE_ARGS>>
class RTT::internal::OROCOS_SIGNAL_N< R, SlotFunctionT >

Definition at line 85 of file signal_template.hpp.

Member Typedef Documentation

template<typename R, OROCOS_SIGNATURE_TEMPLATE_PARMS OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS class SlotFunctionT = OROCOS_SIGNATURE_FUNCTION_N< R OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS OROCOS_SIGNATURE_TEMPLATE_ARGS>>
typedef OROCOS_SIGNAL_CONNECTION_N<SlotFunctionT> RTT::internal::OROCOS_SIGNAL_N< R, SlotFunctionT >::connection_impl

Definition at line 92 of file signal_template.hpp.

template<typename R, OROCOS_SIGNATURE_TEMPLATE_PARMS OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS class SlotFunctionT = OROCOS_SIGNATURE_FUNCTION_N< R OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS OROCOS_SIGNATURE_TEMPLATE_ARGS>>
typedef R RTT::internal::OROCOS_SIGNAL_N< R, SlotFunctionT >::result_type

Definition at line 94 of file signal_template.hpp.

template<typename R, OROCOS_SIGNATURE_TEMPLATE_PARMS OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS class SlotFunctionT = OROCOS_SIGNATURE_FUNCTION_N< R OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS OROCOS_SIGNATURE_TEMPLATE_ARGS>>
typedef SlotFunctionT RTT::internal::OROCOS_SIGNAL_N< R, SlotFunctionT >::slot_function_type

Definition at line 91 of file signal_template.hpp.

Constructor & Destructor Documentation

template<typename R, OROCOS_SIGNATURE_TEMPLATE_PARMS OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS class SlotFunctionT = OROCOS_SIGNATURE_FUNCTION_N< R OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS OROCOS_SIGNATURE_TEMPLATE_ARGS>>
RTT::internal::OROCOS_SIGNAL_N< R, SlotFunctionT >::OROCOS_SIGNAL_N ( const OROCOS_SIGNAL_N< R, OROCOS_SIGNATURE_TEMPLATE_ARGS OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS SlotFunctionT > &  s)
private
template<typename R, OROCOS_SIGNATURE_TEMPLATE_PARMS OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS class SlotFunctionT = OROCOS_SIGNATURE_FUNCTION_N< R OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS OROCOS_SIGNATURE_TEMPLATE_ARGS>>
OROCOS_SIGNATURE_ARG_TYPES RTT::internal::OROCOS_SIGNAL_N< R, SlotFunctionT >::OROCOS_SIGNAL_N ( )
inline

Definition at line 105 of file signal_template.hpp.

Member Function Documentation

template<typename R, OROCOS_SIGNATURE_TEMPLATE_PARMS OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS class SlotFunctionT = OROCOS_SIGNATURE_FUNCTION_N< R OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS OROCOS_SIGNATURE_TEMPLATE_ARGS>>
virtual int RTT::internal::OROCOS_SIGNAL_N< R, SlotFunctionT >::arity ( ) const
inlinevirtual

Returns the arity (the number of arguments) of this signal.

Implements RTT::internal::SignalBase.

Definition at line 178 of file signal_template.hpp.

template<typename R, OROCOS_SIGNATURE_TEMPLATE_PARMS OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS class SlotFunctionT = OROCOS_SIGNATURE_FUNCTION_N< R OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS OROCOS_SIGNATURE_TEMPLATE_ARGS>>
Handle RTT::internal::OROCOS_SIGNAL_N< R, SlotFunctionT >::connect ( const slot_function_type f)
inline

Definition at line 109 of file signal_template.hpp.

template<typename R, OROCOS_SIGNATURE_TEMPLATE_PARMS OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS class SlotFunctionT = OROCOS_SIGNATURE_FUNCTION_N< R OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS OROCOS_SIGNATURE_TEMPLATE_ARGS>>
R RTT::internal::OROCOS_SIGNAL_N< R, SlotFunctionT >::emit ( OROCOS_SIGNATURE_PARMS  )
inline

Definition at line 135 of file signal_template.hpp.

template<typename R, OROCOS_SIGNATURE_TEMPLATE_PARMS OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS class SlotFunctionT = OROCOS_SIGNATURE_FUNCTION_N< R OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS OROCOS_SIGNATURE_TEMPLATE_ARGS>>
static void RTT::internal::OROCOS_SIGNAL_N< R, SlotFunctionT >::emitImpl ( const connection_t c)
inlinestaticprivate

Definition at line 125 of file signal_template.hpp.

template<typename R, OROCOS_SIGNATURE_TEMPLATE_PARMS OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS class SlotFunctionT = OROCOS_SIGNATURE_FUNCTION_N< R OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS OROCOS_SIGNATURE_TEMPLATE_ARGS>>
R RTT::internal::OROCOS_SIGNAL_N< R, SlotFunctionT >::fire ( OROCOS_SIGNATURE_PARMS  )
inline

Definition at line 173 of file signal_template.hpp.

template<typename R, OROCOS_SIGNATURE_TEMPLATE_PARMS OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS class SlotFunctionT = OROCOS_SIGNATURE_FUNCTION_N< R OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS OROCOS_SIGNATURE_TEMPLATE_ARGS>>
R RTT::internal::OROCOS_SIGNAL_N< R, SlotFunctionT >::operator() ( OROCOS_SIGNATURE_PARMS  )
inline

Definition at line 168 of file signal_template.hpp.

template<typename R, OROCOS_SIGNATURE_TEMPLATE_PARMS OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS class SlotFunctionT = OROCOS_SIGNATURE_FUNCTION_N< R OROCOS_SIGNATURE_COMMA_IF_NONZERO_ARGS OROCOS_SIGNATURE_TEMPLATE_ARGS>>
Handle RTT::internal::OROCOS_SIGNAL_N< R, SlotFunctionT >::setup ( const slot_function_type f)
inline

Definition at line 116 of file signal_template.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Tue Jun 25 2019 19:33:45