Session class encapsulates a single session (parameterised flavour). More...
#include <session.h>
Public Member Functions | |
SessionTmpl () | |
Session constructor with "default" as Session name. | |
SessionTmpl (std::string name) | |
virtual | ~SessionTmpl () |
Session destructor. | |
RoleGrpType * | group (std::string name) const |
bool | has_role_grp (std::string name) const |
void | add_group (RoleGrpType *group) |
unsigned int | num_groups () const |
RoleGrpContainer::const_iterator | rolegrp_begin () const |
RoleGrpContainer::const_iterator | rolegrp_end () const |
Session class encapsulates a single session (parameterised flavour).
sesstype::parameterised::SessionTmpl< NodeType, RoleType, RoleGrpType >::SessionTmpl | ( | std::string | name | ) | [inline] |
Session constructor.
[in] | name | Session name. |
Reimplemented from sesstype::SessionTmpl< NodeType, RoleType >.
void sesstype::parameterised::SessionTmpl< NodeType, RoleType, RoleGrpType >::add_group | ( | RoleGrpType * | group | ) | [inline] |
Add a RoleGrp as a participant of the Session.
[in] | group | to add to this Session. |
RoleGrpType* sesstype::parameterised::SessionTmpl< NodeType, RoleType, RoleGrpType >::group | ( | std::string | name | ) | const [inline] |
bool sesstype::parameterised::SessionTmpl< NodeType, RoleType, RoleGrpType >::has_role_grp | ( | std::string | name | ) | const [inline] |
[in] | group | to look for. |