COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
covise::Packer Class Reference

#include <dmgr_packer.h>

Collaboration diagram for covise::Packer:
Collaboration graph
[legend]

Public Member Functions

 Packer (Message *m, int s, int o)
 
 Packer (Message *m, DataManagerProcess *dm)
 
 Packer ()
 
 ~Packer ()
 
int pack ()
 
coShmPtrunpack (char **tmp_name)
 
void flush ()
 

Private Member Functions

int get_buffer_ptr (int)
 
int write_object ()
 
int write_header ()
 
int write_type ()
 
int write_object_id ()
 
int write_char ()
 
int write_short ()
 
int write_int ()
 
int write_long ()
 
int write_float ()
 
int write_double ()
 
int write_char_array ()
 
int write_short_array ()
 
int write_int_array ()
 
int write_long_array ()
 
int write_float_array ()
 
int write_double_array ()
 
int write_shm_string_array ()
 
int write_shm_pointer_array ()
 
int write_null_pointer ()
 
int write_shm_pointer ()
 
int write_shm_pointer_direct ()
 
int write_number_of_elements ()
 
coShmPtrread_object (char **)
 
coShmPtrread_header (char **)
 
int read_type ()
 
int read_object_id ()
 
int read_char ()
 
int read_short ()
 
int read_int ()
 
int read_long ()
 
int read_float ()
 
int read_double ()
 
int read_char_array ()
 
int read_short_array ()
 
int read_int_array ()
 
int read_long_array ()
 
int read_float_array ()
 
int read_double_array ()
 
int read_shm_string_array ()
 
int read_shm_pointer_array ()
 
int read_null_pointer ()
 
int read_shm_pointer ()
 
int read_number_of_elements ()
 

Private Attributes

PackBufferbuffer
 
int * shm_obj_ptr
 
int convert
 
int number_of_data_elements
 
coShmPtrshm_ptr
 
DataManagerProcessdatamgr
 

Static Private Attributes

static int iovcovise_arr [IOVEC_MAX_LENGTH]
 

Constructor & Destructor Documentation

Packer::Packer ( Message m,
int  s,
int  o 
)
Packer::Packer ( Message m,
DataManagerProcess dm 
)
covise::Packer::Packer ( )
covise::Packer::~Packer ( )
inline

Member Function Documentation

void Packer::flush ( )
int covise::Packer::get_buffer_ptr ( int  )
private
int covise::Packer::pack ( )
inline
int Packer::read_char ( )
private
int Packer::read_char_array ( )
private
int Packer::read_double ( )
private
int Packer::read_double_array ( )
private
int Packer::read_float ( )
private
int Packer::read_float_array ( )
private
coShmPtr * Packer::read_header ( char **  tmp_name)
private
int Packer::read_int ( )
private
int Packer::read_int_array ( )
private
int Packer::read_long ( )
private
int Packer::read_long_array ( )
private
int Packer::read_null_pointer ( )
private
int Packer::read_number_of_elements ( )
private
coShmPtr * Packer::read_object ( char **  tmp_name)
private
int Packer::read_object_id ( )
private
int Packer::read_shm_pointer ( )
private
int Packer::read_shm_pointer_array ( )
private
int Packer::read_shm_string_array ( )
private
int Packer::read_short ( )
private
int Packer::read_short_array ( )
private
int Packer::read_type ( )
private
coShmPtr* covise::Packer::unpack ( char **  tmp_name)
inline
int Packer::write_char ( )
inlineprivate
int Packer::write_char_array ( )
private
int Packer::write_double ( )
private
int Packer::write_double_array ( )
private
int Packer::write_float ( )
private
int Packer::write_float_array ( )
private
int Packer::write_header ( )
private
int Packer::write_int ( )
inlineprivate
int Packer::write_int_array ( )
private
int Packer::write_long ( )
private
int Packer::write_long_array ( )
private
int Packer::write_null_pointer ( )
inlineprivate
int Packer::write_number_of_elements ( )
inlineprivate
int Packer::write_object ( )
private
int Packer::write_object_id ( )
inlineprivate
int Packer::write_shm_pointer ( )
private
int Packer::write_shm_pointer_array ( )
private
int Packer::write_shm_pointer_direct ( )
private
int Packer::write_shm_string_array ( )
private
int Packer::write_short ( )
inlineprivate
int Packer::write_short_array ( )
private
int Packer::write_type ( )
inlineprivate

Member Data Documentation

PackBuffer* covise::Packer::buffer
private
int covise::Packer::convert
private
DataManagerProcess* covise::Packer::datamgr
private
int covise::Packer::iovcovise_arr[IOVEC_MAX_LENGTH]
staticprivate
int covise::Packer::number_of_data_elements
private
int* covise::Packer::shm_obj_ptr
private
coShmPtr* covise::Packer::shm_ptr
private

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