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

#include <object.h>

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

Public Member Functions

 propertyInstance (C *c, const unboundProperty< C, void > &p)
 
virtual ~propertyInstance ()
 
virtual const char * name () const
 
virtual const std::type_info & type () const
 
virtual void exec ()
 
- Public Member Functions inherited from mrf::property< void >
virtual ~property ()
 
- Public Member Functions inherited from mrf::propertyBase
virtual ~propertyBase ()=0
 
virtual void show (std::ostream &) const
 Print the value of the field w/o leading or trailing whitespace. More...
 

Detailed Description

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

Definition at line 345 of file object.h.

Constructor & Destructor Documentation

◆ propertyInstance()

template<class C >
mrf::detail::propertyInstance< C, void >::propertyInstance ( C *  c,
const unboundProperty< C, void > &  p 
)
inline

Definition at line 351 of file object.h.

352  :inst(c), prop(p) {}

◆ ~propertyInstance()

template<class C >
virtual mrf::detail::propertyInstance< C, void >::~propertyInstance ( )
inlinevirtual

Definition at line 353 of file object.h.

353 {}

Member Function Documentation

◆ exec()

template<class C >
virtual void mrf::detail::propertyInstance< C, void >::exec ( )
inlinevirtual

Implements mrf::property< void >.

Definition at line 357 of file object.h.

357  {
358  (inst->*prop.execer)();
359  }

◆ name()

template<class C >
virtual const char* mrf::detail::propertyInstance< C, void >::name ( ) const
inlinevirtual

Implements mrf::propertyBase.

Definition at line 355 of file object.h.

355 {return prop.name;}

◆ type()

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

Implements mrf::propertyBase.

Definition at line 356 of file object.h.

356 {return prop.type();}
virtual const std::type_info & type() const
Definition: object.h:260

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