|
Urbi SDK Remote for C++
2.7.5
|
UEvent class definition. More...
#include <uevent.hh>


Public Member Functions | |
| UEvent () | |
| Creates an unbound UEvent. Call init() to bind it. | |
| UEvent (const std::string &varname, urbi::impl::UContextImpl *impl=0) | |
| UEvent (const std::string &objname, const std::string &varname, urbi::impl::UContextImpl *impl=0) | |
| UEvent (urbi::UObject &obj, const std::string &varname, urbi::impl::UContextImpl *impl=0) | |
| UEvent (const UEvent &e) | |
| void | init (const std::string &object, const std::string &slot, urbi::impl::UContextImpl *=0) |
| void | emit (urbi::UAutoValue v1=UAutoValue(), urbi::UAutoValue v2=UAutoValue(), urbi::UAutoValue v3=UAutoValue(), urbi::UAutoValue v4=UAutoValue(), urbi::UAutoValue v5=UAutoValue(), urbi::UAutoValue v6=UAutoValue(), urbi::UAutoValue v7=UAutoValue()) |
Private Member Functions | |
| void | __init () |
UEvent class definition.
Each UEvent instance corresponds to one Urbi event. The class provides access to the event properties, and emitting/receiving events with payload.
| urbi::UEvent::UEvent | ( | ) | [inline] |
Creates an unbound UEvent. Call init() to bind it.
Definition at line 22 of file uevent.hxx.
| urbi::UEvent::UEvent | ( | const std::string & | varname, |
| urbi::impl::UContextImpl * | impl = 0 |
||
| ) |
| urbi::UEvent::UEvent | ( | const std::string & | objname, |
| const std::string & | varname, | ||
| urbi::impl::UContextImpl * | impl = 0 |
||
| ) |
| urbi::UEvent::UEvent | ( | urbi::UObject & | obj, |
| const std::string & | varname, | ||
| urbi::impl::UContextImpl * | impl = 0 |
||
| ) |
| urbi::UEvent::UEvent | ( | const UEvent & | e | ) |
| void urbi::UEvent::__init | ( | ) | [inline, private] |
Definition at line 30 of file uevent.hxx.
References urbi::UContext::ctx_, and urbi::impl::UContextImpl::declare_event().
Referenced by UEvent().
| void urbi::UEvent::emit | ( | urbi::UAutoValue | v1 = UAutoValue(), |
| urbi::UAutoValue | v2 = UAutoValue(), |
||
| urbi::UAutoValue | v3 = UAutoValue(), |
||
| urbi::UAutoValue | v4 = UAutoValue(), |
||
| urbi::UAutoValue | v5 = UAutoValue(), |
||
| urbi::UAutoValue | v6 = UAutoValue(), |
||
| urbi::UAutoValue | v7 = UAutoValue() |
||
| ) | [inline] |
Definition at line 38 of file uevent.hxx.
References urbi::UContext::ctx_, urbi::impl::UContextImpl::emit(), and urbi::name().
| void urbi::UEvent::init | ( | const std::string & | object, |
| const std::string & | slot, | ||
| urbi::impl::UContextImpl * | ctx = 0 |
||
| ) |
Definition at line 54 of file uevent.cc.
References urbi::UContext::ctx_, urbi::impl::UContextImpl::declare_event(), urbi::getCurrentContext(), and urbi::name().