IT++ Logo Newcom Logo

itpp::Slot< ObjectType, DataType > Class Template Reference

Slot Class. More...

#include <itpp/protocol/signals_slots.h>

Inheritance diagram for itpp::Slot< ObjectType, DataType >:

itpp::Base_Slot< DataType > List of all members.

Public Member Functions

 Slot (const std::string _name="Unamed Slot")
void forward (ObjectType *object_pointer, void(ObjectType::*object_function_pointer)(DataType u))
 ~Slot ()
void operator() (DataType u)
void set_name (const std::string &slot_name)
 set slot name

Protected Types

typedef std::list< Signal<
DataType > *, std::allocator<
Signal< DataType
> * > >::iterator 
Signal_Iterator

Protected Member Functions

void _connect (Signal< DataType > *signal)
void _disconnect (Signal< DataType > *signal)

Protected Attributes

std::string name
std::list< Signal< DataType > *,
std::allocator< Signal< DataType > * > > 
connected_signals

Friends

class Signal< DataType >

Detailed Description

template<class ObjectType, class DataType>
class itpp::Slot< ObjectType, DataType >

Slot Class.

Definition at line 198 of file signals_slots.h.


Member Function Documentation

template<class DataType>
void itpp::Base_Slot< DataType >::set_name ( const std::string &  slot_name  )  [inherited]

set slot name

Definition at line 507 of file signals_slots.h.

References itpp::Base_Slot< DataType >::name.

Referenced by itpp::Base_Slot< DataType >::Base_Slot().


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

Generated on Thu Apr 19 14:15:04 2007 for IT++ by Doxygen 1.5.1