FLOPC++
Public Member Functions | Protected Member Functions | Private Member Functions | Friends | List of all members
flopc::Messenger Class Reference

Inteface for hooking up to internal flopc++ message handling.In more advanced use of FlopC++, it may be desirable to get access to internal calls for messages. In essence, sub-class this Messenger class, and register it with the MP_model. Also overload whichever message events you wish to handle. More...

#include <MP_model.hpp>

Inheritance diagram for flopc::Messenger:
Inheritance graph
[legend]

Public Member Functions

virtual void logMessage (int level, const char *const msg)
 

Protected Member Functions

virtual ~Messenger ()
 

Private Member Functions

virtual void constraintDebug (std::string name, const std::vector< Coef > &cfs)
 
virtual void objectiveDebug (const std::vector< Coef > &cfs)
 
virtual void statistics (int bm, int m, int bn, int n, int nz)
 
virtual void generationTime (double t)
 

Friends

class MP_model
 

Detailed Description

Inteface for hooking up to internal flopc++ message handling.

In more advanced use of FlopC++, it may be desirable to get access to internal calls for messages. In essence, sub-class this Messenger class, and register it with the MP_model. Also overload whichever message events you wish to handle.

Definition at line 35 of file MP_model.hpp.

Constructor & Destructor Documentation

virtual flopc::Messenger::~Messenger ( )
inlineprotectedvirtual

Definition at line 45 of file MP_model.hpp.

Member Function Documentation

virtual void flopc::Messenger::constraintDebug ( std::string  name,
const std::vector< Coef > &  cfs 
)
inlineprivatevirtual

Reimplemented in flopc::VerboseMessenger.

Definition at line 40 of file MP_model.hpp.

Referenced by flopc::MP_model::attach().

virtual void flopc::Messenger::generationTime ( double  t)
inlineprivatevirtual

Reimplemented in flopc::NormalMessenger.

Definition at line 43 of file MP_model.hpp.

Referenced by flopc::MP_model::attach().

virtual void flopc::Messenger::logMessage ( int  level,
const char *const  msg 
)
inlinevirtual

Definition at line 37 of file MP_model.hpp.

Referenced by flopc::MP_domain_base::display().

virtual void flopc::Messenger::objectiveDebug ( const std::vector< Coef > &  cfs)
inlineprivatevirtual

Reimplemented in flopc::VerboseMessenger.

Definition at line 41 of file MP_model.hpp.

Referenced by flopc::MP_model::attach().

virtual void flopc::Messenger::statistics ( int  bm,
int  m,
int  bn,
int  n,
int  nz 
)
inlineprivatevirtual

Reimplemented in flopc::NormalMessenger.

Definition at line 42 of file MP_model.hpp.

Referenced by flopc::MP_model::attach().

Friends And Related Function Documentation

friend class MP_model
friend

Definition at line 38 of file MP_model.hpp.


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