18#if !defined(_LOG4CXX_ROLLING_ACTION_H)
19#define _LOG4CXX_ROLLING_ACTION_H
35class Action :
public virtual LOG4CXX_NS::helpers::Object
42 LOG4CXX_DECLARE_PRIVATE_MEMBER_PTR(ActionPrivate, m_priv)
49 Action(LOG4CXX_PRIVATE_PTR(ActionPrivate) priv);
58 virtual bool execute(LOG4CXX_NS::helpers::Pool& pool)
const = 0;
60 void run(LOG4CXX_NS::helpers::Pool& pool);
A file system action performed as part of a rollover event.
Definition: action.h:36
void run(log4cxx::helpers::Pool &pool)
virtual bool execute(log4cxx::helpers::Pool &pool) const =0
Perform action.
void reportException(const std::exception &)
bool isComplete() const
Tests if the action is complete.
Action(LOG4CXX_PRIVATE_PTR(ActionPrivate) priv)
LOG4CXX_PTR_DEF(Appender)
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:158
#define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition: object.h:39
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:152
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:146