Tatooine
Public Member Functions | Private Attributes | List of all members
tatooine::flowexplorer::ui::output_pin_impl< T > Struct Template Reference

#include <pin.h>

Inheritance diagram for tatooine::flowexplorer::ui::output_pin_impl< T >:
[legend]
Collaboration diagram for tatooine::flowexplorer::ui::output_pin_impl< T >:
[legend]

Public Member Functions

 output_pin_impl (base::node &n, std::string const &title, T &ref, icon_type const t)
 
virtual ~output_pin_impl ()=default
 
auto type () const -> std::type_info const &override
 
auto get_as () -> T &
 
auto get_as () const -> T const &
 
- Public Member Functions inherited from tatooine::flowexplorer::ui::output_pin
 output_pin (base::node &n, std::string const &title, icon_type const t)
 
virtual ~output_pin ()=default
 
auto link (struct link &l) -> void
 
auto unlink (struct link &l) -> void
 
auto unlink_all () -> void
 
auto is_linked () const -> bool override
 
auto links () const -> auto const &
 
auto links () -> auto &
 
virtual auto type () const -> std::type_info const &=0
 
template<typename T >
auto get_as () -> T &
 
auto set_active (bool active=true) -> void override
 
- Public Member Functions inherited from tatooine::flowexplorer::ui::pin
 pin (base::node &n, pinkind kind, std::string const &title, icon_type const t=icon_type::flow)
 
auto node () const -> auto const &
 
auto node () -> auto &
 
auto title () -> auto &
 
auto title () const -> auto const &
 
auto kind () const
 
auto draw (size_t const icon_size, float const alpha) const -> void
 
auto set_icon_type (icon_type const t)
 
virtual auto is_linked () const -> bool=0
 
- Public Member Functions inherited from tatooine::flowexplorer::uuid_holder< ax::NodeEditor::PinId >
 uuid_holder (size_t const id)
 
 uuid_holder (ax::NodeEditor::PinId const &id)
 
 uuid_holder ()
 
auto get_id () const -> const auto &
 
auto get_id () -> auto &
 
auto get_id_number () const
 
auto set_id (size_t const new_id)
 
constexpr auto operator== (uuid_holder< ax::NodeEditor::PinId > const &other) const -> bool
 
constexpr auto operator== (ax::NodeEditor::PinId const &id) const -> bool
 
constexpr auto operator== (size_t const id) const -> bool
 
constexpr auto equals ()
 
- Public Member Functions inherited from tatooine::flowexplorer::toggleable
constexpr toggleable (bool active=true)
 
constexpr toggleable (toggleable const &)=default
 
constexpr toggleable (toggleable &&)=default
 
constexpr auto operator= (toggleable const &) -> toggleable &=default
 
constexpr auto operator= (toggleable &&) -> toggleable &=default
 
 ~toggleable ()=default
 
virtual constexpr auto set_active (bool active=true) -> void
 
constexpr auto activate () -> void
 
constexpr auto deactivate () -> void
 
constexpr auto toggle () -> void
 
constexpr auto is_active () const -> bool const &
 
constexpr auto is_active () -> bool &
 

Private Attributes

T & m_ref
 

Constructor & Destructor Documentation

◆ output_pin_impl()

template<typename T >
tatooine::flowexplorer::ui::output_pin_impl< T >::output_pin_impl ( base::node n,
std::string const &  title,
T &  ref,
icon_type const  t 
)
inline

◆ ~output_pin_impl()

template<typename T >
virtual tatooine::flowexplorer::ui::output_pin_impl< T >::~output_pin_impl ( )
virtualdefault

Member Function Documentation

◆ get_as() [1/2]

template<typename T >
auto tatooine::flowexplorer::ui::output_pin_impl< T >::get_as ( ) -> T&
inline

◆ get_as() [2/2]

template<typename T >
auto tatooine::flowexplorer::ui::output_pin_impl< T >::get_as ( ) const -> T const&
inline

◆ type()

template<typename T >
auto tatooine::flowexplorer::ui::output_pin_impl< T >::type ( ) const -> std::type_info const&
inlineoverridevirtual

Member Data Documentation

◆ m_ref

template<typename T >
T& tatooine::flowexplorer::ui::output_pin_impl< T >::m_ref
private

The documentation for this struct was generated from the following file: