Oh right i didnt think about that,
Ok so i know this will sound noobish, but for example to gather or listen to data from the leap you use this:[TABLE=“class: memberdecls, width: 100%”]
[TR=“class: memitem:a67da9febb33a6104864b5196f33d02ae”]
LEAP_EXPORT
Controller (Listener *listener=0)
[/TR]
[TR=“class: memdesc:a67da9febb33a6104864b5196f33d02ae”]
Creates a Controller instance.
[/TR]
[/TABLE]
The question is do i type it just like that? or would i use it to assign a variable say:
listen = LEAP_EXPORT.Controller(Listener*listener=0)
here is some more info
[TABLE=“class: memberdecls, width: 100%”]
[TR=“class: memitem:a67da9febb33a6104864b5196f33d02ae”]
LEAP_EXPORT
Controller (Listener *listener=0)
[/TR]
[TR=“class: memdesc:a67da9febb33a6104864b5196f33d02ae”]
Creates a Controller instance.
[/TR]
[TR=“class: separator:a67da9febb33a6104864b5196f33d02ae”]
[/TR]
[TR=“class: memitem:a5796b988806ea9fd94e2d987e0e24b32”]
LEAP_EXPORT Frame
frame (int history=0) const
[/TR]
[TR=“class: memdesc:a5796b988806ea9fd94e2d987e0e24b32”]
Returns a frame of motion tracking data from the Leap.
[/TR]
[TR=“class: separator:a5796b988806ea9fd94e2d987e0e24b32”]
[/TR]
[TR=“class: memitem:abbb48ad47a8d0859a6a98f48c3d0a322”]
LEAP_EXPORT Config
config () const
[/TR]
[TR=“class: memdesc:abbb48ad47a8d0859a6a98f48c3d0a322”]
Returns a Config object, which you can use to query the Leap system for configuration information.
[/TR]
[TR=“class: separator:abbb48ad47a8d0859a6a98f48c3d0a322”]
[/TR]
[TR=“class: memitem:a9a72878aa5e16b219693402089b5c221”]
LEAP_EXPORT Listener *
listener () const
[/TR]
[TR=“class: memdesc:a9a72878aa5e16b219693402089b5c221”]
Returns a pointer to the Listener instance associated with this controller, or a null pointer if no listener is associated.
[/TR]
[/TABLE]
I guess my question is how and in what order/way do i arrange these functions?