coin-Bcp
Public Member Functions | Public Attributes | List of all members
BCP_user_pack Class Reference

#include <BCP_USER.hpp>

Inheritance diagram for BCP_user_pack:
Inheritance graph
[legend]
Collaboration diagram for BCP_user_pack:
Collaboration graph
[legend]

Public Member Functions

virtual ~BCP_user_pack ()
 
virtual void pack_warmstart (const BCP_warmstart *ws, BCP_buffer &buf, bool report_if_default=false)
 Pack warmstarting information. More...
 
virtual BCP_warmstartunpack_warmstart (BCP_buffer &buf, bool report_if_default=false)
 Unpack warmstarting information. More...
 
virtual void pack_var_algo (const BCP_var_algo *var, BCP_buffer &buf)
 Pack an algorithmic variable. More...
 
virtual BCP_var_algounpack_var_algo (BCP_buffer &buf)
 Unpack an algorithmic variable. More...
 
virtual void pack_cut_algo (const BCP_cut_algo *cut, BCP_buffer &buf)
 Pack an algorithmic cut. More...
 
virtual BCP_cut_algounpack_cut_algo (BCP_buffer &buf)
 Unpack an algorithmic cut. More...
 
virtual void pack_user_data (const BCP_user_data *ud, BCP_buffer &buf)
 Pack an user data. More...
 
virtual BCP_user_dataunpack_user_data (BCP_buffer &buf)
 Unpack an user data. More...
 

Public Attributes

BCP_user_classuser_class
 A pointer ot the usr class of the process from which the methods of this class are invoked from. More...
 

Detailed Description

Definition at line 48 of file BCP_USER.hpp.

Constructor & Destructor Documentation

virtual BCP_user_pack::~BCP_user_pack ( )
inlinevirtual

Definition at line 58 of file BCP_USER.hpp.

Member Function Documentation

virtual void BCP_user_pack::pack_warmstart ( const BCP_warmstart ws,
BCP_buffer buf,
bool  report_if_default = false 
)
inlinevirtual

Pack warmstarting information.

Reimplemented in BB_packer.

Definition at line 63 of file BCP_USER.hpp.

References BCP_pack_warmstart().

virtual BCP_warmstart* BCP_user_pack::unpack_warmstart ( BCP_buffer buf,
bool  report_if_default = false 
)
inlinevirtual

Unpack warmstarting information.

Reimplemented in BB_packer.

Definition at line 74 of file BCP_USER.hpp.

References BCP_unpack_warmstart().

virtual void BCP_user_pack::pack_var_algo ( const BCP_var_algo var,
BCP_buffer buf 
)
inlinevirtual

Pack an algorithmic variable.

Reimplemented in BB_packer, MCF1_packer, MCF2_packer, and MCF3_packer.

Definition at line 86 of file BCP_USER.hpp.

virtual BCP_var_algo* BCP_user_pack::unpack_var_algo ( BCP_buffer buf)
inlinevirtual

Unpack an algorithmic variable.

Reimplemented in BB_packer, MCF1_packer, MCF2_packer, and MCF3_packer.

Definition at line 93 of file BCP_USER.hpp.

virtual void BCP_user_pack::pack_cut_algo ( const BCP_cut_algo cut,
BCP_buffer buf 
)
inlinevirtual

Pack an algorithmic cut.

Reimplemented in BB_packer, and MC_packer.

Definition at line 102 of file BCP_USER.hpp.

virtual BCP_cut_algo* BCP_user_pack::unpack_cut_algo ( BCP_buffer buf)
inlinevirtual

Unpack an algorithmic cut.

Reimplemented in BB_packer, and MC_packer.

Definition at line 109 of file BCP_USER.hpp.

virtual void BCP_user_pack::pack_user_data ( const BCP_user_data ud,
BCP_buffer buf 
)
inlinevirtual

Pack an user data.

Reimplemented in BB_packer, and MCF3_packer.

Definition at line 119 of file BCP_USER.hpp.

virtual BCP_user_data* BCP_user_pack::unpack_user_data ( BCP_buffer buf)
inlinevirtual

Unpack an user data.

Reimplemented in BB_packer, and MCF3_packer.

Definition at line 126 of file BCP_USER.hpp.

Member Data Documentation

BCP_user_class* BCP_user_pack::user_class

A pointer ot the usr class of the process from which the methods of this class are invoked from.

The user can try to dynamic cast user_class into BCP_tm_user*, BCP_lp_user*, etc., and when the cast succeeds the user knows in which process the methods was called, and also, the user will have access to the other methods of that class.

Definition at line 55 of file BCP_USER.hpp.


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