18#if !defined(_LOG4CXX_ROLLING_ACTION_H)
19#define _LOG4CXX_ROLLING_ACTION_H
35class Action :
public virtual LOG4CXX_NS::helpers::Object
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)
#define LOG4CXX_DECLARE_PRIVATE_MEMBER_PTR(T, V)
Definition: log4cxx.h:85
#define LOG4CXX_PTR_DEF(T)
Definition: log4cxx.h:64
#define LOG4CXX_NS
Definition: log4cxx.h:104
#define LOG4CXX_PRIVATE_PTR(T)
Definition: log4cxx.h:68
#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