tabbing
[iotcloud.git] / version2 / src / C / ArbitrationRound.h
index da1a2a8a2186e14e8b033401e9f250bee636bd3e..b91469d1340a66a93584d7e4dacf15161ef72793 100644 (file)
@@ -5,29 +5,30 @@
 #include "common.h"
 
 class ArbitrationRound {
- private:
-  Hashset<Abort *> * abortsBefore;
-  Vector<Entry *> * parts;
-  Commit * commit;
-  int currentSize;
-  bool didSendPart;
-  bool didGenerateParts;
+private:
+       Hashset<Abort *> *abortsBefore;
+       Vector<Entry *> *parts;
+       Commit *commit;
+       int currentSize;
+       bool didSendPart;
+       bool didGenerateParts;
 
- public:
-  ArbitrationRound(Commit * _commit, Hashset<Abort *> * _abortsBefore);
+public:
+       ArbitrationRound(Commit *_commit, Hashset<Abort *> *_abortsBefore);
        ~ArbitrationRound();
-  void generateParts();
-  Vector<Entry *> * getParts();
-  void removeParts(Vector<Entry *> * removeParts);
-  bool isDoneSending();
-  void setCommit(Commit * _commit);
-  void addAbort(Abort * abort);
-  void addAborts(Hashset<Abort *> * aborts);
-  Hashset<Abort *> * getAborts();
-  int getAbortsCount();
-  int getCurrentSize();
-  bool isFull();
-  bool getDidSendPart();
+       void generateParts();
+       Commit *getCommit();
+       Vector<Entry *> *getParts();
+       void removeParts(Vector<Entry *> *removeParts);
+       bool isDoneSending();
+       void setCommit(Commit *_commit);
+       void addAbort(Abort *abort);
+       void addAborts(Hashset<Abort *> *aborts);
+       Hashset<Abort *> *getAborts();
+       int getAbortsCount();
+       int getCurrentSize();
+       bool isFull();
+       bool getDidSendPart();
 };
 
 #endif