![]() |
libzmq master
The Intelligent Transport Layer
|
#include <encoder.hpp>
Public Member Functions | |
encoder_base_t (size_t bufsize_) | |
virtual | ~encoder_base_t () |
void | get_data (unsigned char **data_, size_t *size_, int *offset_=NULL) |
Protected Types | |
typedef bool(T::* | step_t )() |
Protected Member Functions | |
void | next_step (void *write_pos_, size_t to_write_, step_t next_, bool beginning_) |
Private Member Functions | |
encoder_base_t (const encoder_base_t &) | |
void | operator= (const encoder_base_t &) |
Private Attributes | |
bool | beginning |
unsigned char * | buf |
size_t | bufsize |
step_t | next |
size_t | to_write |
unsigned char * | write_pos |
Definition at line 40 of file encoder.hpp.
typedef bool(T::* zmq::encoder_base_t< T >::step_t)() [protected] |
Definition at line 130 of file encoder.hpp.
zmq::encoder_base_t< T >::encoder_base_t | ( | size_t | bufsize_ | ) | [inline] |
Definition at line 44 of file encoder.hpp.
virtual zmq::encoder_base_t< T >::~encoder_base_t | ( | ) | [inline, virtual] |
Definition at line 53 of file encoder.hpp.
zmq::encoder_base_t< T >::encoder_base_t | ( | const encoder_base_t< T > & | ) | [private] |
void zmq::encoder_base_t< T >::get_data | ( | unsigned char ** | data_, |
size_t * | size_, | ||
int * | offset_ = NULL |
||
) | [inline] |
Definition at line 64 of file encoder.hpp.
void zmq::encoder_base_t< T >::next_step | ( | void * | write_pos_, |
size_t | to_write_, | ||
step_t | next_, | ||
bool | beginning_ | ||
) | [inline, protected] |
Definition at line 135 of file encoder.hpp.
void zmq::encoder_base_t< T >::operator= | ( | const encoder_base_t< T > & | ) | [private] |
bool zmq::encoder_base_t< T >::beginning [private] |
Definition at line 157 of file encoder.hpp.
Referenced by zmq::encoder_base_t< encoder_t >::get_data(), and zmq::encoder_base_t< encoder_t >::next_step().
unsigned char* zmq::encoder_base_t< T >::buf [private] |
Definition at line 161 of file encoder.hpp.
Referenced by zmq::encoder_base_t< encoder_t >::encoder_base_t(), zmq::encoder_base_t< encoder_t >::get_data(), and zmq::encoder_base_t< encoder_t >::~encoder_base_t().
size_t zmq::encoder_base_t< T >::bufsize [private] |
Definition at line 160 of file encoder.hpp.
Referenced by zmq::encoder_base_t< encoder_t >::get_data().
step_t zmq::encoder_base_t< T >::next [private] |
Definition at line 154 of file encoder.hpp.
Referenced by zmq::encoder_base_t< encoder_t >::get_data(), and zmq::encoder_base_t< encoder_t >::next_step().
size_t zmq::encoder_base_t< T >::to_write [private] |
Definition at line 150 of file encoder.hpp.
Referenced by zmq::encoder_base_t< encoder_t >::get_data(), and zmq::encoder_base_t< encoder_t >::next_step().
unsigned char* zmq::encoder_base_t< T >::write_pos [private] |
Definition at line 147 of file encoder.hpp.
Referenced by zmq::encoder_base_t< encoder_t >::get_data(), and zmq::encoder_base_t< encoder_t >::next_step().