#include <role.h>
Inherited by fipa::acl::SelfRole, and fipa::acl::UndefinedRole.
Definition at line 15 of file role.h.
◆ Role() [1/3]
| fipa::acl::Role::Role |
( |
| ) |
|
Role default constructor (required for map implementation)
Definition at line 13 of file role.cpp.
static const RoleId UNDEFINED_ID
◆ Role() [2/3]
| fipa::acl::Role::Role |
( |
const RoleId & |
id | ) |
|
◆ Role() [3/3]
| fipa::acl::Role::Role |
( |
const Role & |
other | ) |
|
Copy constructor
Definition at line 23 of file role.cpp.
◆ getId()
| RoleId fipa::acl::Role::getId |
( |
| ) |
const |
|
inline |
Get role id
Definition at line 52 of file role.h.
◆ operator!=()
| bool fipa::acl::Role::operator!= |
( |
const Role & |
other | ) |
const |
|
inline |
Definition at line 65 of file role.h.
67 return !(mId == other.mId);
◆ operator<()
| bool fipa::acl::Role::operator< |
( |
const Role & |
other | ) |
const |
|
inline |
Definition at line 60 of file role.h.
62 return mId < other.mId;
◆ operator=()
| Role& fipa::acl::Role::operator= |
( |
const Role & |
other | ) |
|
|
inline |
◆ operator==()
| bool fipa::acl::Role::operator== |
( |
const Role & |
other | ) |
const |
|
inline |
Definition at line 70 of file role.h.
72 return mId == other.mId;
◆ self()
| static const Role fipa::acl::Role::self |
( |
| ) |
|
|
static |
◆ toString()
| std::string fipa::acl::Role::toString |
( |
| ) |
const |
|
inline |
Convert role to a string
- Returns
- string
Definition at line 58 of file role.h.
◆ SELF_ID
| const RoleId fipa::acl::Role::SELF_ID ="__self__" |
|
staticprotected |
◆ UNDEFINED_ID
| const RoleId fipa::acl::Role::UNDEFINED_ID = "__undefined__" |
|
staticprotected |
Interal role ids
Definition at line 25 of file role.h.
The documentation for this class was generated from the following files:
- /build/rock-master-18.09-multiagent-fipa-acl-0.20180914/src/conversation_monitor/role.h
- /build/rock-master-18.09-multiagent-fipa-acl-0.20180914/src/conversation_monitor/role.cpp