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

#include <autocast_message.h>

List of all members.

Public Types

typedef OsModel_P OsModel
typedef Radio_P Radio
typedef Debug_P Debug
typedef Radio::node_id_t node_id_t
typedef Radio::block_data_t block_data_t
typedef Radio::size_t size_t
typedef Radio::message_id_t message_id_t

Public Member Functions

 AutoCast_Message (uint8_t nrOfbyteOfHash)
 ~AutoCast_Message ()
size_t payload_size ()
block_data_tgetDataUnits ()
void setDataUnits (size_t len, block_data_t *buf)
uint8_t getMessageId ()
void setMessageId (uint8_t msgId)
uint8_t getNrOfStaleHashes ()
void setNrOfStaleHashes (uint8_t nrOfStaleHashes)
uint8_t getNrOfDataHashes ()
void setNrOfDataHashes (uint8_t nrOfDataHashes)
uint8_t getNrOfDataUnits ()
void setNrOfDataUnits (uint8_t nrOfDataUnits)
uint8_t getMsgId ()
void setMsgId (uint8_t nextBeaconMsg)
uint8_t getTypeOfHash ()
void setTypeOfHash (uint8_t nrOfbyte)
size_t buffer_size ()
size_t addDataUnit (size_t len, block_data_t *dataUnit)
block_data_tgetDataUnit (size_t pos)
size_t addDataHash (block_data_t *dataHash)
block_data_tgetDataHash (size_t pos)
size_t addStaleDataHash (block_data_t *StaleDataHash)
block_data_tgetStaleDataHash (size_t pos)

template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug>
class wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >


Member Typedef Documentation

template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
typedef Radio::block_data_t wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::block_data_t
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
typedef Debug_P wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::Debug
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
typedef Radio::message_id_t wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::message_id_t
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
typedef Radio::node_id_t wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::node_id_t
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
typedef OsModel_P wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::OsModel
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
typedef Radio_P wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::Radio
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
typedef Radio::size_t wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::size_t

Constructor & Destructor Documentation

template<typename OsModel_P , typename Radio_P , typename Debug_P >
wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::AutoCast_Message ( uint8_t  nrOfbyteOfHash)
template<typename OsModel_P , typename Radio_P , typename Debug_P >
wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::~AutoCast_Message ( )

Member Function Documentation

template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
size_t wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::addDataHash ( block_data_t dataHash) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
size_t wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::addDataUnit ( size_t  len,
block_data_t dataUnit 
) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
size_t wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::addStaleDataHash ( block_data_t StaleDataHash) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
size_t wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::buffer_size ( void  ) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
block_data_t* wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::getDataHash ( size_t  pos) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
block_data_t* wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::getDataUnit ( size_t  pos) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
block_data_t* wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::getDataUnits ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
uint8_t wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::getMessageId ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
uint8_t wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::getMsgId ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
uint8_t wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::getNrOfDataHashes ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
uint8_t wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::getNrOfDataUnits ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
uint8_t wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::getNrOfStaleHashes ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
block_data_t* wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::getStaleDataHash ( size_t  pos) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
uint8_t wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::getTypeOfHash ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
size_t wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::payload_size ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
void wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::setDataUnits ( size_t  len,
block_data_t buf 
) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
void wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::setMessageId ( uint8_t  msgId) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
void wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::setMsgId ( uint8_t  nextBeaconMsg) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
void wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::setNrOfDataHashes ( uint8_t  nrOfDataHashes) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
void wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::setNrOfDataUnits ( uint8_t  nrOfDataUnits) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
void wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::setNrOfStaleHashes ( uint8_t  nrOfStaleHashes) [inline]
template<typename OsModel_P , typename Radio_P , typename Debug_P = typename OsModel_P::Debug>
void wiselib::AutoCast_Message< OsModel_P, Radio_P, Debug_P >::setTypeOfHash ( uint8_t  nrOfbyte) [inline]

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