delete fs;
}
+ Trace(const Trace& other);
+ const Trace& operator=(const Trace& other);
+
int get_line() { return _line; }
void start();
free(strings);
}
+ BackTrace(const BackTrace& other);
+ const BackTrace& operator=(const BackTrace& other);
+
void print(std::ostream& out);
};
const char *name;
int id;
- public:
+public:
+ RWLock(const RWLock& other);
+ const RWLock& operator=(const RWLock& other);
RWLock(const char *n) : name(n), id(-1) {
pthread_rwlock_init(&L, NULL);
pthread_t thread_id;
public:
+ Thread(const Thread& other);
+ const Thread& operator=(const Thread& other);
+
Thread();
virtual ~Thread();
}
public:
+ CrushWrapper(const CrushWrapper& other);
+ const CrushWrapper& operator=(const CrushWrapper& other);
+
CrushWrapper() : crush(0), have_rmaps(false) {}
~CrushWrapper() {
if (crush) crush_destroy(crush);
*/
class Context {
public:
+ Context(const Context& other);
+ const Context& operator=(const Context& other);
+
+ Context() {}
virtual ~Context() {} // we want a virtual destructor!!!
virtual void finish(int r) = 0;
};
ReplicatedPG *pg;
+ OpContext(const OpContext& other);
+ const OpContext& operator=(const OpContext& other);
+
OpContext(Message *_op, osd_reqid_t _reqid, vector<OSDOp>& _ops,
ObjectState *_obs, ReplicatedPG *_pg) :
op(_op), reqid(_reqid), ops(_ops), obs(_obs), new_obs(_obs->oi, _obs->exists),
void _probed(Probe *p, const object_t& oid, uint64_t size, utime_t mtime);
public:
+ Filer(const Filer& other);
+ const Filer operator=(const Filer& other);
+
Filer(Objecter *o) : objecter(o) {}
~Filer() {}
int rdlock_ref; // how many ppl want or are using a READ lock
public:
+ Object(const Object& other);
+ const Object& operator=(const Object& other);
+
Object(ObjectCacher *_oc, sobject_t o, ObjectSet *os, object_locator_t& l) :
oc(_oc),
oid(o), oset(os), set_item(this), oloc(l),