Samchon Framework for CPP
1.0.0
|
A reporter printing optimization result on screen. More...
#include <Reporter.hpp>
Public Member Functions | |
Reporter () | |
Default Constructor. More... | |
Public Member Functions inherited from samchon::example::interaction::ChiefDriver | |
ChiefDriver (IProtocol *master, int port) | |
Construct from master and port number. More... | |
Static Public Member Functions | |
static void | main () |
Main function. More... | |
Protected Member Functions | |
void | printTSP (shared_ptr< XML > xml) |
Print TSP result on screen. More... | |
void | printPacker (shared_ptr< XML > xml) |
Print Packer result on screen. More... | |
Additional Inherited Members | |
Protected Attributes inherited from samchon::example::interaction::ChiefDriver | |
IProtocol * | master |
A Master object containing the ChiefDriver. More... | |
int | port |
A port number to open for the Chief system. More... | |
mutex | mtx |
A mutex for realizing 1:1 server. More... | |
A reporter printing optimization result on screen.
A reporter system prints optimization results on screen which are gotten from cheif system.
Of course, the optimizatino results came from the Chief system are came from Master systems and even the Master systems also got those optimization results from those own Slave systems.
The ReportSystem class is built for be helpful for users to comprehend using chain of responsibility pattern in network level.
master | A master object associated with the chief system. |
port | A port number to open for chief system. |
Definition at line 43 of file Reporter.hpp.
|
inline |
Default Constructor.
Definition at line 56 of file Reporter.hpp.
|
inlineprotected |
Print TSP result on screen.
xml | XML object representing a Scheduler of TSP. |
Definition at line 91 of file Reporter.hpp.
|
inlineprotected |
Print Packer result on screen.
xml | XML object representing a Packer. |
Definition at line 107 of file Reporter.hpp.
|
inlinestatic |
Main function.
Definition at line 125 of file Reporter.hpp.