Template Class ComponentHandle

Class Documentation

template<typename T>
class sixtyfps::ComponentHandle

The component handle is like a shared pointer to a component in the generated code. In order to get a component, use T::create() where T is the name of the component in the .60 file. This give you a ComponentHandle<T>

Public Functions

inline ComponentHandle(const vtable::VRc<private_api::ComponentVTable, T> &inner)

internal constructor

inline const T *operator->() const

Arrow operator that implements pointer semantics.

inline const T &operator*() const

Dereference operator that implements pointer semantics.

inline T *operator->()

Arrow operator that implements pointer semantics.

inline T &operator*()

Dereference operator that implements pointer semantics.

inline vtable::VRc<private_api::ComponentVTable> into_dyn() const

internal function that returns the internal handle