17 #ifndef __TEST_MODULE_HPP__ 18 #define __TEST_MODULE_HPP__ 43 virtual int foo(
char a,
long b) = 0;
45 virtual int bar(
float a,
double b) = 0;
47 virtual int baz(
int a,
int b) = 0;
49 virtual mesos::Parameters
parameters()
const = 0;
67 const char* _moduleApiVersion,
68 const char* _mesosVersion,
69 const char* _authorName,
70 const char* _authorEmail,
71 const char* _description,
72 bool (*_compatible)(),
90 #endif // __TEST_MODULE_HPP__ Module(const char *_moduleApiVersion, const char *_mesosVersion, const char *_authorName, const char *_authorEmail, const char *_description, bool(*_compatible)(), TestModule *(*_create)(const Parameters ¶meters))
Definition: test_module.hpp:66
Definition: module.hpp:56
const char * kind< TestModule >()
Definition: test_module.hpp:57
virtual int foo(char a, long b)=0
Definition: test_module.hpp:30
virtual Try< Nothing > initialize(const mesos::Parameters ¶meters)=0
TestModule()
Definition: test_module.hpp:33
virtual int baz(int a, int b)=0
virtual ~TestModule()
Definition: test_module.hpp:39
Try< Nothing > create(const std::string &hierarchy, const std::string &cgroup, bool recursive=false)
virtual mesos::Parameters parameters() const =0
virtual int bar(float a, double b)=0
Definition: module.hpp:97