#include <consumer.h>

Public Member Functions | |
| Consumer (Interface *intf) | |
| Constructs the consumer class. | |
| void | load () |
| Loads all records from the file. | |
| void | process () |
| Processes all records. | |
| void | save () |
| Stores all records into file. | |
Definition at line 19 of file consumer.h.
| Consumer::Consumer | ( | Interface * | intf | ) |
Constructs the consumer class.
| intf | pointer to interface object |
Definition at line 18 of file consumer.cpp.
| void Consumer::load | ( | ) |
Loads all records from the file.
Definition at line 24 of file consumer.cpp.
References Interface::close(), Interface::open(), and Interface::read().
Referenced by main().
| void Consumer::process | ( | ) |
Processes all records.
Definition at line 33 of file consumer.cpp.
References Interface::calculate().
Referenced by main().
| void Consumer::save | ( | ) |
Stores all records into file.
Definition at line 44 of file consumer.cpp.
References Interface::close(), Interface::open(), and Interface::write().
Referenced by main().
1.6.1