Add virtual destructor for ACTIONS_LIST
class BASE_ACTION
{
public:
class BASE_ACTION
{
public:
- virtual ~BASE_ACTION() {};
+ virtual ~BASE_ACTION() {}
virtual void Invoke() = 0;
};
virtual void Invoke() = 0;
};
: activeClass(ac), actor(a), data(d) {};
void Invoke();
private:
: activeClass(ac), actor(a), data(d) {};
void Invoke();
private:
+ ACTION(const ACTION<ACTIVE_CLASS, DATA_TYPE> & rvalue);
+ ACTION<ACTIVE_CLASS, DATA_TYPE> & operator=(const ACTION<ACTIVE_CLASS, DATA_TYPE> & rvalue);
+
ACTIVE_CLASS & activeClass;
typename ACTOR<ACTIVE_CLASS, DATA_TYPE>::TYPE actor;
DATA_TYPE data;
ACTIVE_CLASS & activeClass;
typename ACTOR<ACTIVE_CLASS, DATA_TYPE>::TYPE actor;
DATA_TYPE data;
// Initialize mutex
ACTIONS_LIST();
// Delete actions and destroy mutex
// Initialize mutex
ACTIONS_LIST();
// Delete actions and destroy mutex
+ virtual ~ACTIONS_LIST();
parent::iterator begin();
parent::iterator end();
parent::iterator begin();
parent::iterator end();