#include <BCP_USER.hpp>
Inheritance diagram for BCP_user_pack:
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. | |
virtual BCP_warmstart * | unpack_warmstart (BCP_buffer &buf, bool report_if_default=false) |
Unpack warmstarting information. | |
virtual void | pack_var_algo (const BCP_var_algo *var, BCP_buffer &buf) |
Pack an algorithmic variable. | |
virtual BCP_var_algo * | unpack_var_algo (BCP_buffer &buf) |
Unpack an algorithmic variable. | |
virtual void | pack_cut_algo (const BCP_cut_algo *cut, BCP_buffer &buf) |
Pack an algorithmic cut. | |
virtual BCP_cut_algo * | unpack_cut_algo (BCP_buffer &buf) |
Unpack an algorithmic cut. | |
virtual void | pack_user_data (const BCP_user_data *ud, BCP_buffer &buf) |
Pack an user data. | |
virtual BCP_user_data * | unpack_user_data (BCP_buffer &buf) |
Unpack an user data. | |
Public Attributes | |
BCP_user_class * | user_class |
A pointer ot the usr class of the process from which the methods of this class are invoked from. |
Definition at line 48 of file BCP_USER.hpp.
virtual BCP_user_pack::~BCP_user_pack | ( | ) | [inline, virtual] |
Definition at line 58 of file BCP_USER.hpp.
virtual void BCP_user_pack::pack_warmstart | ( | const BCP_warmstart * | ws, | |
BCP_buffer & | buf, | |||
bool | report_if_default = false | |||
) | [inline, virtual] |
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 | |||
) | [inline, virtual] |
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 | |||
) | [inline, virtual] |
Pack an algorithmic variable.
Reimplemented in BB_packer.
Definition at line 86 of file BCP_USER.hpp.
virtual BCP_var_algo* BCP_user_pack::unpack_var_algo | ( | BCP_buffer & | buf | ) | [inline, virtual] |
Unpack an algorithmic variable.
Reimplemented in BB_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 | |||
) | [inline, virtual] |
virtual BCP_cut_algo* BCP_user_pack::unpack_cut_algo | ( | BCP_buffer & | buf | ) | [inline, virtual] |
virtual void BCP_user_pack::pack_user_data | ( | const BCP_user_data * | ud, | |
BCP_buffer & | buf | |||
) | [inline, virtual] |
virtual BCP_user_data* BCP_user_pack::unpack_user_data | ( | BCP_buffer & | buf | ) | [inline, virtual] |
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.