Wiselib
Public Types | Public Member Functions
wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P > Class Template Reference

Diffie-Hellman Algorithm for the Wiselib. More...

#include <diffie_hellman_algorithm.h>

Inherits wiselib::RoutingBase< OsModel_P, Radio_P >.

List of all members.

Public Types

typedef OsModel_P OsModel
typedef Routing_P RoutingType
typedef NodeidIntMap_P MapType
typedef Radio_P Radio
typedef Debug_P Debug
typedef OsModel::Timer Timer
typedef RoutingType::RoutingTable RoutingTable
typedef
RoutingType::RoutingTableIterator 
RoutingTableIterator
typedef Radio::node_id_t node_id_t
typedef Radio::size_t size_t
typedef Radio::block_data_t block_data_t
typedef Radio::message_id_t message_id_t
typedef MapType::iterator MapTypeIterator
typedef Timer::millis_t millis_t
typedef DiffieHellmanAlgorithm
< OsModel, RoutingType,
MapType, Radio, Debug
self_type
typedef DiffieHellmanMessage
< OsModel, Radio
Message
typedef self_typeself_pointer_t
enum  ReturnValues
typedef delegate3< void,
node_id_t, size_t,
block_data_t * > 
radio_delegate_t
typedef vector_static< OsModel,
radio_delegate_t,
MAX_RECEIVERS > 
CallbackVector
typedef CallbackVector::iterator CallbackVectorIterator

Public Member Functions

 DiffieHellmanAlgorithm ()
void enable ()
void disable ()
void send (node_id_t, size_t, block_data_t *)
void receive (node_id_t, size_t, block_data_t *)
void set_routing_type (RoutingType *routing)
RoutingTyperouting_type ()
void init (Radio &radio, Timer &timer, Debug &debug)
int reg_recv_callback (T *obj_pnt)
int unreg_recv_callback (int idx)
void notify_receivers (node_id_t from, size_t len, block_data_t *data)

Detailed Description

template<typename OsModel_P, typename Routing_P, typename NodeidIntMap_P, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
class wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >

Diffie-Hellman Algorithm for the Wiselib.

Diffie-Hellman Algorithm

Diffie-Hellman Algorithm for the Wiselib.


Member Typedef Documentation

template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef Radio::block_data_t wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::block_data_t
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef Debug_P wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::Debug
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef NodeidIntMap_P wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::MapType
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef MapType::iterator wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::MapTypeIterator
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef DiffieHellmanMessage<OsModel, Radio> wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::Message
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef Radio::message_id_t wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::message_id_t
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef Timer::millis_t wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::millis_t
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef Radio::node_id_t wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::node_id_t
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef OsModel_P wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::OsModel
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef Radio_P wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::Radio
typedef delegate3<void, node_id_t, size_t, block_data_t*> wiselib::RadioBase< OsModel_P, Radio_P::node_id_t , Radio_P::size_t , Radio_P::block_data_t , MAX_RECEIVERS >::radio_delegate_t [inherited]
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef RoutingType::RoutingTable wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::RoutingTable
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef RoutingType::RoutingTableIterator wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::RoutingTableIterator
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef Routing_P wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::RoutingType
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef self_type* wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::self_pointer_t
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef DiffieHellmanAlgorithm<OsModel, RoutingType, MapType, Radio, Debug> wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::self_type
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef Radio::size_t wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::size_t
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
typedef OsModel::Timer wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::Timer

Member Enumeration Documentation


Constructor & Destructor Documentation

template<typename OsModel_P , typename Routing_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, RoutingTable_P, Radio_P, Debug_P >::DiffieHellmanAlgorithm ( ) [inline]

Member Function Documentation

template<typename OsModel_P , typename Routing_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
void wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, RoutingTable_P, Radio_P, Debug_P >::disable ( void  ) [inline]
template<typename OsModel_P , typename Routing_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
void wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, RoutingTable_P, Radio_P, Debug_P >::enable ( void  ) [inline]
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
void wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::init ( Radio radio,
Timer timer,
Debug debug 
) [inline]
void wiselib::RadioBase< OsModel_P, Radio_P::node_id_t , Radio_P::size_t , Radio_P::block_data_t , MAX_RECEIVERS >::notify_receivers ( node_id_t  from,
size_t  len,
block_data_t data 
) [inline, inherited]
template<typename OsModel_P , typename Routing_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
void wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, RoutingTable_P, Radio_P, Debug_P >::receive ( node_id_t  from,
size_t  len,
block_data_t data 
) [inline]
int wiselib::RadioBase< OsModel_P, Radio_P::node_id_t , Radio_P::size_t , Radio_P::block_data_t , MAX_RECEIVERS >::reg_recv_callback ( T *  obj_pnt) [inline, inherited]
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
RoutingType* wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::routing_type ( ) [inline]
template<typename OsModel_P , typename Routing_P , typename RoutingTable_P , typename Radio_P , typename Debug_P >
void wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, RoutingTable_P, Radio_P, Debug_P >::send ( node_id_t  destination,
size_t  len,
block_data_t data 
) [inline]
template<typename OsModel_P , typename Routing_P , typename NodeidIntMap_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
void wiselib::DiffieHellmanAlgorithm< OsModel_P, Routing_P, NodeidIntMap_P, Radio_P, Debug_P >::set_routing_type ( RoutingType routing) [inline]
int wiselib::RadioBase< OsModel_P, Radio_P::node_id_t , Radio_P::size_t , Radio_P::block_data_t , MAX_RECEIVERS >::unreg_recv_callback ( int  idx) [inline, inherited]

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