Public Member Functions | Private Attributes
ShortHeavyLoader Class Reference

#include <ShortHeavyLoader.h>

List of all members.

Public Member Functions

bool is_question (vector< uint8_t > &question)
void short_callback (std::map< id_type, std::vector< uint8_t > > const &answers)
void short_handler (vector< uint8_t > &answer, id_type from, vector< uint8_t > const &question)
 ShortHeavyLoader (int sid)
void statistics ()
void timer (socrob::multicast::Manager &manager)

Private Attributes

const uint8_t MAGIC_BYTE_
unsigned long rounds_
int sid_

Detailed Description

Definition at line 40 of file ShortHeavyLoader.h.


Constructor & Destructor Documentation

ShortHeavyLoader::ShortHeavyLoader ( int  sid) [inline]

Definition at line 49 of file ShortHeavyLoader.h.


Member Function Documentation

bool ShortHeavyLoader::is_question ( vector< uint8_t > &  question) [inline]

Definition at line 57 of file ShortHeavyLoader.h.

void ShortHeavyLoader::short_callback ( std::map< id_type, std::vector< uint8_t > > const &  answers) [inline]

Definition at line 79 of file ShortHeavyLoader.h.

void ShortHeavyLoader::short_handler ( vector< uint8_t > &  answer,
id_type  from,
vector< uint8_t > const &  question 
) [inline]

Definition at line 71 of file ShortHeavyLoader.h.

void ShortHeavyLoader::statistics ( ) [inline]

Definition at line 106 of file ShortHeavyLoader.h.

Definition at line 85 of file ShortHeavyLoader.h.


Member Data Documentation

const uint8_t ShortHeavyLoader::MAGIC_BYTE_ [private]

Definition at line 44 of file ShortHeavyLoader.h.

unsigned long ShortHeavyLoader::rounds_ [private]

Definition at line 46 of file ShortHeavyLoader.h.

int ShortHeavyLoader::sid_ [private]

Definition at line 42 of file ShortHeavyLoader.h.


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


socrob_multicast
Author(s): Joao Reis/jreis@isr.ist.utl.pt
autogenerated on Mon Jan 6 2014 11:47:49