MCPcopy Create free account
hub / github.com/dmlc/parameter_server / App

Class App

src/system/app.h:4–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include "system/customer.h"
3namespace PS {
4class App : public Customer {
5 public:
6 App(const string& name = FLAGS_app_name) : Customer(name) { }
7 virtual ~App() { }
8
9 // factory functionn
10 static App* create(const std::string& name, const std::string& conf);
11
12 // init() is called after this app has been created at all nodes.
13 virtual void init() { }
14
15 // run() is executed after all nodes have been executed init()
16 virtual void run() { }
17
18};
19
20} // namespace PS

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected