22 #ifndef PRIMARYBLOCK_H_
23 #define PRIMARYBLOCK_H_
30 #include <ibrcommon/thread/Mutex.h>
38 # define DEPRECATED __attribute__ ((deprecated))
45 static const unsigned char BUNDLE_VERSION = 0x06;
100 bool get(
FLAGS flag)
const;
111 void relabel(
bool zero_timestamp =
false);
127 static ibrcommon::Mutex __sequence_lock;
128 static Number __sequencenumber;
129 static Number __sequencenumber_abs;
Bitset< FLAGS > procflags
bool operator<(const PrimaryBlock &other) const
PrimaryBlock(bool zero_timestamp=false)
void setPriority(PRIORITY p)
PRIORITY getPriority() const
bool operator==(const PrimaryBlock &other) const
bool operator>(const PrimaryBlock &other) const
void setFragment(bool val)
void relabel(bool zero_timestamp=false)
void set(FLAGS flag, bool value)
bool operator!=(const PrimaryBlock &other) const