Wiselib
Public Types | Public Member Functions
wiselib::ClusteringBase< OsModel_P, MAX_RECEIVERS > Class Template Reference

Base clustering classBasic clustering class that provides helpful methods like registration of callbacks. More...

#include <clustering_base.h>

List of all members.

Public Types

enum  ReturnValues { SUCCESS = OsModel::SUCCESS }
typedef OsModel_P OsModel
typedef delegate1< void, int > cluster_delegate_t
typedef vector_static< OsModel,
cluster_delegate_t,
MAX_RECEIVERS > 
CallbackVector
typedef CallbackVector::iterator CallbackVectorIterator

Public Member Functions

template<class T , void(T::*)(int) TMethod>
int reg_state_changed_callback (T *obj_pnt)
int unreg_state_changed_callback (int idx)
void state_changed (int event)

Detailed Description

template<typename OsModel_P, int MAX_RECEIVERS = 5>
class wiselib::ClusteringBase< OsModel_P, MAX_RECEIVERS >

Base clustering class

Basic clustering class that provides helpful methods like registration of callbacks.


Member Typedef Documentation

template<typename OsModel_P, int MAX_RECEIVERS = 5>
typedef vector_static<OsModel, cluster_delegate_t, MAX_RECEIVERS> wiselib::ClusteringBase< OsModel_P, MAX_RECEIVERS >::CallbackVector
template<typename OsModel_P, int MAX_RECEIVERS = 5>
typedef CallbackVector::iterator wiselib::ClusteringBase< OsModel_P, MAX_RECEIVERS >::CallbackVectorIterator
template<typename OsModel_P, int MAX_RECEIVERS = 5>
typedef delegate1<void, int> wiselib::ClusteringBase< OsModel_P, MAX_RECEIVERS >::cluster_delegate_t
template<typename OsModel_P, int MAX_RECEIVERS = 5>
typedef OsModel_P wiselib::ClusteringBase< OsModel_P, MAX_RECEIVERS >::OsModel

Member Enumeration Documentation

template<typename OsModel_P, int MAX_RECEIVERS = 5>
enum wiselib::ClusteringBase::ReturnValues
Enumerator:
SUCCESS 

Member Function Documentation

template<typename OsModel_P, int MAX_RECEIVERS = 5>
template<class T , void(T::*)(int) TMethod>
int wiselib::ClusteringBase< OsModel_P, MAX_RECEIVERS >::reg_state_changed_callback ( T *  obj_pnt) [inline]
template<typename OsModel_P, int MAX_RECEIVERS = 5>
void wiselib::ClusteringBase< OsModel_P, MAX_RECEIVERS >::state_changed ( int  event) [inline]
template<typename OsModel_P, int MAX_RECEIVERS = 5>
int wiselib::ClusteringBase< OsModel_P, MAX_RECEIVERS >::unreg_state_changed_callback ( int  idx) [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines