|
ActiveLib
|
#include <Participant.h>


Public Member Functions | |
| Participant (const utility::NameID &identity=utility::NameID{}) | |
| virtual | ~Participant ()=default |
| bool | operator== (const Participant &ref) const |
| bool | operator!= (const Participant &ref) const |
Public Member Functions inherited from active::utility::NameID | |
| NameID () | |
| NameID (const String &str, const Guid &guid=Guid{}) | |
| NameID (const char *str, const Guid &guid=Guid{}) | |
| NameID (const Guid &guid, const String &str=String{}) | |
| bool | operator== (const NameID &ref) const |
| bool | operator!= (const NameID &ref) const |
| bool | operator< (const NameID &ref) const |
| operator bool () const | |
| void | clear () |
Protected Member Functions | |
| virtual bool | audit () |
| virtual bool | attach () |
| virtual bool | start () |
| virtual void | stop () |
Additional Inherited Members | |
Public Types inherited from active::utility::NameID | |
| using | Option = std::optional<NameID> |
| Optional. | |
Public Attributes inherited from active::utility::NameID | |
| String | name |
| Guid | id |
A base class for any object participating in Event management (publishing or subscribing)
Participants are asked to fullfil several tasks:
|
inline |
Default constructor
| identity | Optional name/ID for the participant |
|
virtualdefault |
Destructor
|
inlineprotectedvirtual |
Attach participant components to the app (as required)
Reimplemented in active::event::Publisher.
|
inlineprotectedvirtual |
Audit the participant environment to ensure it can function
Reimplemented in active::event::Publisher.
|
inline |
Inequality operator
| ref | The object to compare with this |
|
inline |
Equality operator
| ref | The object to compare with this |

|
inlineprotectedvirtual |
Start the participant operation
Reimplemented in active::event::Publisher.
|
inlineprotectedvirtual |
Stop participation (release resources etc)
Reimplemented in active::event::Publisher.