coil::NonCopyable Class Reference

Non-copyable Mixin. More...

#include <NonCopyable.h>

Inheritance diagram for coil::NonCopyable:
RTM::util::ListenerHolder< LocalServiceActionListener > RTM::util::ListenerHolder< ManagerActionListener > RTM::util::ListenerHolder< ModuleActionListener > RTM::util::ListenerHolder< NamingActionListener > RTM::util::ListenerHolder< RtcLifecycleActionListener > RTC_impl::RTObjectStateMachine RTM::util::ListenerHolder< ListenerClass > RTM::LocalServiceActionListenerHolder RTM::ManagerActionListenerHolder RTM::ModuleActionListenerHolder RTM::NamingActionListenerHolder RTM::RtcLifecycleActionListenerHolder

List of all members.

Protected Member Functions

 NonCopyable ()
 Constructor.
 ~NonCopyable ()
 Destructor.

Detailed Description

Non-copyable Mixin.

This mix-in class prevents objects of a class from being copy-constructed or assigned to each other. User can prohibit the class copying by inheriting from NonCopyable class as a private base class.

-example: class CopyProhibitedClass : private NonCopyable {};

This mix-in class prevents objects of a class from being copy-constructed or assigned to each other. User can prohibit the class copying by inheriting from NonCopyable class as a private base class. The CRTP (Curiously Recursive Template Pattern) version would be used for empty base optimization for multipe-inherited.

-example: class CopyProhibitedClass : private NonCopyable {};


Constructor & Destructor Documentation

coil::NonCopyable::NonCopyable (  )  [inline, protected]

Constructor.

Constructor

coil::NonCopyable::~NonCopyable (  )  [inline, protected]

Destructor.

Destructor

Generated on Sat Apr 19 14:45:44 2014 for OpenRTM by  doxygen 1.6.3