#include <evs_input_map2.hpp>
|
typedef InputMapMsgIndex::iterator | iterator |
|
typedef
InputMapMsgIndex::const_iterator | const_iterator |
|
|
std::ostream & | operator<< (std::ostream &, const InputMap &) |
|
gcomm::evs::InputMap::InputMap |
( |
| ) |
|
gcomm::evs::InputMap::~InputMap |
( |
| ) |
|
seqno_t gcomm::evs::InputMap::aru_seq |
( |
| ) |
const |
|
inline |
Get current value of aru_seq.
- Returns
- Current value of aru_seq
iterator gcomm::evs::InputMap::begin |
( |
| ) |
const |
|
inline |
Get iterator to the beginning of the input map
- Returns
- Iterator pointing to the first element
void gcomm::evs::InputMap::clear |
( |
| ) |
|
iterator gcomm::evs::InputMap::end |
( |
| ) |
const |
|
inline |
Get iterator next to the last element of the input map
- Returns
- Iterator pointing past the last element
void gcomm::evs::InputMap::erase |
( |
iterator |
i | ) |
|
Erase message pointed by iterator. Note that message may still be recovered through recover() method as long as it does not fulfill O_SAFE constraint.
- Parameters
-
- Exceptions
-
FatalException | if iterator is not valid |
iterator gcomm::evs::InputMap::find |
( |
const size_t |
uuid, |
|
|
const seqno_t |
seq |
|
) |
| const |
Find message.
- Parameters
-
- Returns
- Iterator pointing to message or at end() if message was not found
- Exceptions
-
FatalException | if node was not found |
Insert new message into input map.
- Parameters
-
uuid | Node uuid of the message source |
msg | EVS message |
rb | ReadBuf pointer associated to message |
offset | Offset to the beginning of the payload |
- Returns
- Range parameter of the node
- Exceptions
-
FatalException | if node not found or message sequence number is out of allowed range |
bool gcomm::evs::InputMap::is_agreed |
( |
iterator |
i | ) |
const |
|
inline |
Check if message pointed by iterator fulfills O_AGREED condition.
- Returns
- True or false
bool gcomm::evs::InputMap::is_fifo |
( |
iterator |
i | ) |
const |
|
inline |
Check if message pointed by iterator fulfills O_FIFO condition.
- Returns
- True or false
bool gcomm::evs::InputMap::is_safe |
( |
iterator |
i | ) |
const |
|
inline |
Check if message pointed by iterator fulfills O_SAFE condition.
- Returns
- True or false
Range gcomm::evs::InputMap::range |
( |
const size_t |
uuid | ) |
const |
|
inline |
Get current range parameter for node
- Parameters
-
- Returns
- Range parameter for node
- Exceptions
-
FatalException | if node was not found |
iterator gcomm::evs::InputMap::recover |
( |
const size_t |
uuid, |
|
|
const seqno_t |
seq |
|
) |
| const |
Recover message.
- Parameters
-
- Returns
- Iterator pointing to the message
- Exceptions
-
FatalException | if node or message was not found |
seqno_t gcomm::evs::InputMap::safe_seq |
( |
| ) |
const |
|
inline |
Get current value of safe_seq.
- Returns
- Current value of safe_seq
seqno_t gcomm::evs::InputMap::safe_seq |
( |
const size_t |
uuid | ) |
const |
|
inline |
Get current value of safe_seq for node.
- Parameters
-
- Returns
- Safe sequence number for node
- Exceptions
-
FatalException | if node was not found |
void gcomm::evs::InputMap::set_safe_seq |
( |
const size_t |
uuid, |
|
|
const seqno_t |
seq |
|
) |
| |
Set sequence number safe for node.
- Parameters
-
uuid | Node uuid |
seq | Sequence number to be set safe |
- Exceptions
-
FatalException | if node was not found or sequence number was not in the allowed range |
The documentation for this class was generated from the following file: