InstantIO::Namespace::Listener Class Reference
Allows to receive information about the status of a Namespace.
More...
#include <Namespace.h>
List of all members.
Public Member Functions |
virtual | ~Listener () |
| Destructor.
|
virtual void | outSlotAdded (Namespace &ns, const std::string &label, BasicOutSlot &outSlot) |
| Gets called when an OutSlot is added to the Namespace.
|
virtual void | outSlotRemoved (Namespace &ns, const std::string &label, BasicOutSlot &outSlot) |
| Gets called when an OutSlot is removed from the Namespace.
|
virtual void | inSlotAdded (Namespace &ns, const std::string &label, BasicInSlot &inSlot) |
| Gets called when an InSlot is added to the Namespace.
|
virtual void | inSlotRemoved (Namespace &ns, const std::string &label, BasicInSlot &inSlot) |
| Gets called when an InSlot is removed from the Namespace.
|
virtual void | routeAdded (Namespace &ns, const std::string &from, const std::string &to) |
| Gets called when a route is added to the Namespace.
|
virtual void | routeRemoved (Namespace &ns, const std::string &from, const std::string &to) |
| Gets called when a route is removed from the Namespace.
|
Detailed Description
Allows to receive information about the status of a Namespace.
You can implement this interface when you need to get notifications when certain events happen to a Namespace, i.e. when OutSlots or InSlots are added to or removed from the Namespace.
- Author:
- Patrick Dähne
Constructor & Destructor Documentation
virtual InstantIO::Namespace::Listener::~Listener |
( |
|
) |
[virtual] |
Member Function Documentation
virtual void InstantIO::Namespace::Listener::outSlotAdded |
( |
Namespace & |
ns, |
|
|
const std::string & |
label, |
|
|
BasicOutSlot & |
outSlot | |
|
) |
| | [virtual] |
Gets called when an OutSlot is added to the Namespace.
- Parameters:
-
| ns | The namespace that calls the method. |
| label | The label of the OutSlot. |
| outSlot | The OutSlot. |
virtual void InstantIO::Namespace::Listener::outSlotRemoved |
( |
Namespace & |
ns, |
|
|
const std::string & |
label, |
|
|
BasicOutSlot & |
outSlot | |
|
) |
| | [virtual] |
Gets called when an OutSlot is removed from the Namespace.
- Parameters:
-
| ns | The namespace that calls the method. |
| label | The label of the OutSlot. |
| outSlot | The OutSlot. |
virtual void InstantIO::Namespace::Listener::inSlotAdded |
( |
Namespace & |
ns, |
|
|
const std::string & |
label, |
|
|
BasicInSlot & |
inSlot | |
|
) |
| | [virtual] |
Gets called when an InSlot is added to the Namespace.
- Parameters:
-
| ns | The namespace that calls the method. |
| label | The label of the InSlot. |
| inSlot | The InSlot. |
virtual void InstantIO::Namespace::Listener::inSlotRemoved |
( |
Namespace & |
ns, |
|
|
const std::string & |
label, |
|
|
BasicInSlot & |
inSlot | |
|
) |
| | [virtual] |
Gets called when an InSlot is removed from the Namespace.
- Parameters:
-
| ns | The namespace that calls the method. |
| label | The label of the InSlot. |
| inSlot | The InSlot. |
virtual void InstantIO::Namespace::Listener::routeAdded |
( |
Namespace & |
ns, |
|
|
const std::string & |
from, |
|
|
const std::string & |
to | |
|
) |
| | [virtual] |
Gets called when a route is added to the Namespace.
- Parameters:
-
| ns | The namespace that calls the method. |
| from | The from part of the route. |
| to | The to part of the route. |
virtual void InstantIO::Namespace::Listener::routeRemoved |
( |
Namespace & |
ns, |
|
|
const std::string & |
from, |
|
|
const std::string & |
to | |
|
) |
| | [virtual] |
Gets called when a route is removed from the Namespace.
- Parameters:
-
| ns | The namespace that calls the method. |
| from | The from part of the route. |
| to | The to part of the route. |
The documentation for this class was generated from the following file: