22 #ifndef MAMA_FT_CPP_H_
23 #define MAMA_FT_CPP_H_
41 const char* groupName,
42 mamaFtState state) = 0;
55 const char* groupName,
57 mama_f64_t heartbeatInterval,
58 mama_f64_t timeoutInterval,
59 void* closure = NULL) = 0;
64 bool isActive ()
const;
66 mamaFtState getState ()
const;
67 const char* getGroupName ()
const;
68 mama_u32_t getWeight ()
const;
69 mama_f64_t getHeartbeatInterval ()
const;
70 mama_f64_t getTimeoutInterval ()
const;
72 void* getClosure ()
const;
74 void setWeight (mama_u32_t weight);
75 void setInstanceId (
const char*
id);
77 mamaFtMember getCValue ()
81 const mamaFtMember getCValue ()
const
98 const char* groupName,
100 mama_f64_t heartbeatInterval,
101 mama_f64_t timeoutInterval,
102 void* closure = NULL);
111 const char* groupName,
113 mama_f64_t heartbeatInterval,
114 mama_f64_t timeoutInterval,
115 void* closure = NULL);
120 #endif // MAMA_FT_CPP_H_