Public Types | |
enum | EVENT : size_t { DEFAULT = 0, CAP_CHANGED = 1, SIZE_CHANGED = 2, ITEM_DELETE = 3, ITEM_INSERT = 4, RANGE_CHANGED = 5, ITEM_REARRANGE = 6, ITEM_FLAGCHANGED = 7, BNDR_REARRANGE = 8, BNDR_TRANSFER = 9, BNDR_RESET = 10, BNDR_DELETE = 11, BNDR_APPEND = 12, BNDR_PROCTRANSFER_SEND = 13, BNDR_PROCTRANSFER_RECIEVE = 14, BNDR_PROCTRANSFER_WAITFILL = 15, BNDR_PROC_SIZE_CHANGED = 16 } |
Public Member Functions | |
message ()=default | |
message (EVENT evnt) | |
message (size_t i) | |
message (const message &)=default | |
message (message &&)=default | |
message & | operator= (const message &)=default |
message & | operator= (message &&)=default |
~message ()=default | |
message & | add (EVENT evnt) |
const word & | addAndName (EVENT evnt) |
message & | remove (EVENT evnt) |
bool | equivalentTo (EVENT evnt) const |
bool | equivalentTo (size_t i) const |
bool | isNull () const |
auto | size () const |
message & | operator+ (EVENT evnt) |
message & | operator- (EVENT evnt) |
message & | operator+ (const message &msg) |
Static Public Member Functions | |
static constexpr auto | numEvents () |
static message | Default () |
static message | Empty () |
static const word & | eventName (size_t event) |
Private Attributes | |
std::bitset< numberOfEvents_ > | events_ {0x0000} |
Static Private Attributes | |
static constexpr size_t | numberOfEvents_ = 17 |
static const std::array< word, numberOfEvents_ > | eventNames_ |
Definition at line 33 of file message.hpp.
Definition at line 36 of file message.hpp.
|
default |
Definition at line 90 of file message.hpp.
References message::add().
Definition at line 95 of file message.hpp.
References message::events_, and message::numberOfEvents_.
|
default |
Definition at line 113 of file message.hpp.
References message::events_.
Referenced by message::addAndName(), boundaryBase::appendNewIndices(), internalPoints::changePointsFlagPosition(), internalPoints::deletePoints(), message::message(), message::operator+(), and pFlow::operator+().
Definition at line 119 of file message.hpp.
References message::add(), and message::eventName().
Referenced by pointStructure::beforeIteration(), internalPoints::insertPoints(), and internalPoints::insertPointsOnly().
Definition at line 125 of file message.hpp.
References message::events_.
Referenced by message::operator-().
|
inline |
Definition at line 131 of file message.hpp.
Referenced by exitBoundaryField< T, MemorySpace >::hearChanges(), reflectiveBoundaryField< T, MemorySpace >::hearChanges(), periodicBoundaryField< T, MemorySpace >::hearChanges(), particleIdHandler::hearChanges(), boundaryContactSearch::hearChanges(), boundaryField< T, void >::hearChanges(), grainInteraction< contactForceModel, geometryMotionModel, contactListType >::hearChanges(), sphereInteraction< contactForceModel, geometryMotionModel, contactListType >::hearChanges(), internalField< realx3, void >::hearChanges(), subscriber::notify(), message::operator+(), pFlow::operator<<(), and subscriber::subscribe().
|
inline |
Definition at line 136 of file message.hpp.
References message::events_.
|
inline |
Definition at line 141 of file message.hpp.
References message::events_.
|
inline |
Definition at line 146 of file message.hpp.
References message::events_.
Referenced by subscriber::notify(), pFlow::operator<<(), and subscriber::subscribe().
Definition at line 152 of file message.hpp.
References message::add().
Definition at line 158 of file message.hpp.
References message::remove().
Definition at line 164 of file message.hpp.
References message::equivalentTo(), and message::events_.
|
inlinestaticconstexpr |
Definition at line 177 of file message.hpp.
References message::numberOfEvents_.
Referenced by observer::numEvents().
|
inlinestatic |
Definition at line 182 of file message.hpp.
References message::DEFAULT.
|
inlinestatic |
Definition at line 189 of file message.hpp.
Referenced by pFlow::operator+().
Definition at line 196 of file message.hpp.
References message::eventNames_.
Referenced by message::addAndName(), boundaryBase::appendNewIndices(), internalPoints::changePointsFlagPosition(), internalPoints::deletePoints(), particleIdHandler::hearChanges(), internalPoints::insertPoints(), internalPoints::insertPointsOnly(), and boundaryBase::removeIndices().
|
staticconstexprprivate |
Definition at line 60 of file message.hpp.
Referenced by message::message(), and message::numEvents().
|
private |
Definition at line 62 of file message.hpp.
Referenced by message::add(), message::equivalentTo(), message::isNull(), message::message(), message::operator+(), message::remove(), and message::size().
|
inlinestaticprivate |
Definition at line 66 of file message.hpp.
Referenced by message::eventName().