mrfioc2  2.3.0
Public Types | Public Member Functions | Public Attributes | List of all members
mrf::detail::unboundProperty< C, void > Class Template Reference

An un-bound momentary/command. More...

#include <object.h>

Inheritance diagram for mrf::detail::unboundProperty< C, void >:
Inheritance graph
[legend]
Collaboration diagram for mrf::detail::unboundProperty< C, void >:
Collaboration graph
[legend]

Public Types

typedef void(C::* exec_t) ()
 

Public Member Functions

 unboundProperty (const char *n, exec_t e)
 
virtual const std::type_info & type () const
 
virtual property< void > * bind (C *)
 Binder for momentary/command instances. More...
 
- Public Member Functions inherited from mrf::detail::unboundPropertyBase< C >
virtual ~unboundPropertyBase ()
 

Public Attributes

const char *const name
 
exec_t const execer
 

Detailed Description

template<class C>
class mrf::detail::unboundProperty< C, void >

An un-bound momentary/command.

Definition at line 251 of file object.h.

Member Typedef Documentation

◆ exec_t

template<class C >
typedef void(C::* mrf::detail::unboundProperty< C, void >::exec_t) ()

Definition at line 254 of file object.h.

Constructor & Destructor Documentation

◆ unboundProperty()

template<class C >
mrf::detail::unboundProperty< C, void >::unboundProperty ( const char *  n,
exec_t  e 
)
inline

Definition at line 259 of file object.h.

259 :name(n), execer(e) {}

Member Function Documentation

◆ bind()

template<class C >
property< void > * mrf::detail::unboundProperty< C, void >::bind ( C *  inst)
inlinevirtual

Binder for momentary/command instances.

Implements mrf::detail::unboundPropertyBase< C >.

Definition at line 365 of file object.h.

366 {
367  return new propertyInstance<C,void>(inst,*this);
368 }

◆ type()

template<class C >
virtual const std::type_info& mrf::detail::unboundProperty< C, void >::type ( ) const
inlinevirtual

Implements mrf::detail::unboundPropertyBase< C >.

Definition at line 260 of file object.h.

260 {return typeid(void);}

Member Data Documentation

◆ execer

template<class C >
exec_t const mrf::detail::unboundProperty< C, void >::execer

Definition at line 257 of file object.h.

◆ name

template<class C >
const char* const mrf::detail::unboundProperty< C, void >::name

Definition at line 256 of file object.h.


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