|
ActiveLib
|
#include <App.h>


Public Member Functions | |
| App (const utility::NameID &identity=utility::NameID{}) | |
| App (const App &source) | |
| virtual | ~App ()=default |
Public Member Functions inherited from active::event::Publisher | |
| Publisher (const utility::NameID &identity=utility::NameID{}) | |
| Publisher (const Publisher &source) | |
| virtual | ~Publisher () |
| Publisher & | operator= (const Publisher &source) |
| bool | publish (const Event &event) |
| bool | add (std::shared_ptr< Subscriber > subscriber) |
| bool | addWeak (std::shared_ptr< Subscriber > subscriber) |
| template<class T , class... Args> | |
| std::shared_ptr< T > | add (Args &&... args) |
| bool | remove (const Subscriber &subscriber) |
| bool | remove (const utility::Guid &id) |
Public Member Functions inherited from active::event::Participant | |
| 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 () |
Additional Inherited Members | |
Public Types inherited from active::event::Publisher | |
| using | Unique = std::unique_ptr<Publisher> |
| Unique pointer. | |
| using | Shared = std::shared_ptr<Publisher> |
| Shared pointer. | |
Public Types inherited from active::utility::NameID | |
| using | Option = std::optional<NameID> |
| Optional. | |
Public Attributes inherited from active::utility::NameID | |
| String | name |
| Guid | id |
Protected Member Functions inherited from active::event::Publisher | |
| virtual bool | audit () override |
| virtual bool | attach () override |
| virtual bool | start () override |
| virtual void | stop () override |
A base class for an application
|
inline |
Default constructor
| identity | Optional name/ID for the subscriber |
|
inline |
Copy constructor
| source | The object to copy |
|
virtualdefault |
Destructor