Urbi SDK Remote for C++  2.7.5
urbi::UEvent Class Reference

UEvent class definition. More...

#include <uevent.hh>

Inheritance diagram for urbi::UEvent:
Collaboration diagram for urbi::UEvent:

List of all members.

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 ()

Detailed Description

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.

Definition at line 27 of file uevent.hh.


Constructor & Destructor Documentation

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 
)

Definition at line 22 of file uevent.cc.

References __init().

urbi::UEvent::UEvent ( const std::string &  objname,
const std::string &  varname,
urbi::impl::UContextImpl impl = 0 
)

Definition at line 38 of file uevent.cc.

References __init().

urbi::UEvent::UEvent ( urbi::UObject obj,
const std::string &  varname,
urbi::impl::UContextImpl impl = 0 
)

Definition at line 30 of file uevent.cc.

References __init().

urbi::UEvent::UEvent ( const UEvent e)

Definition at line 46 of file uevent.cc.

References __init().


Member Function Documentation

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 
)

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