Operator
C++ library for plugging into matrix.org
All Classes Namespaces Files Functions Typedefs Pages
Public Member Functions | Protected Attributes | Friends | List of all members
Operator::Client::Client::Room Class Reference
Collaboration diagram for Operator::Client::Client::Room:
Collaboration graph
[legend]

Public Member Functions

 Room (Client &c, const std::string &_id, Event::RoomMembership::membership_t _membership)
 
const std::string & getID () const
 
Event::RoomMembership::membership_t getMembership () const
 
void on (const std::string &type, const callback_t< Room &, const Event::Event &> &)
 

Protected Attributes

Clientclient
 
std::string id
 
Event::RoomMembership::membership_t membership
 
std::map< std::string, nlohmann::json > state
 
std::map< std::string, std::list< callback_t< Room &, const Event::Event & > > > listeners
 

Friends

class ::Operator::Client::Client
 

Detailed Description

Examples:
liboperator-glib/examples/echo.cc, and liboperator-qt/examples/echo.cc.

The documentation for this class was generated from the following files: