#include <ilviews/ilv.h>
#include <ilviews/base/memory.h>
#include <ilviews/base/iostream.h>
#include <ilviews/base/array.h>
#include <ilviews/base/string.h>
#include <ilviews/base/smartptr.h>
#include <ilviews/base/observer.h>
#include <ilviews/base/clssinfo.h>
#include <ilviews/base/value.h>
Classes | |
class | IlvAction |
Object class encapsulating the interpretation of an action of the user in a given context. More... | |
class | IlvActionFlags |
Flags indicating the properties of an IlvAction object. More... | |
class | IlvActionHistory |
A repository of user actions. More... | |
class | IlvActionMessage |
Notification message sent to observers of IlvActionHistory objects. More... | |
class | IlvActionSelectionHandler |
Links an IlvActionHistory object to its context. More... | |
Macros | |
#define | IlvActionDeclareMembers() |
#define | IlvDefineAbstractActionClass(classname, superclass) |
#define | IlvDefineActionClass(classname, superclass) |
#define | IlvRepeatableActionDeclareMembers(classname) |
Enumerations | |
enum | IlvActionMessageType { addmsg, destroymsg, purgemsg, repeatmsg, undomsg, redomsg, othermsg } |
Library: views
Declaration of the IlvAction
and IlvActionHistory
classes, two base classes for handling the history of user actions.
#define IlvActionDeclareMembers | ( | ) |
Declare metaclass information for IlvAction
objects.
This macro should be used inside the class declaration:
#define IlvDefineAbstractActionClass | ( | classname, | |
superclass | |||
) |
This macro should be used in implementation files to define the default members for action classes that cannot be instantiated without default arguments. That is, their main constructors require explicit parameters.
#define IlvDefineActionClass | ( | classname, | |
superclass | |||
) |
This macro should be used in implementation files to define the default members for action classes that can be instantiated with no default arguments.
#define IlvRepeatableActionDeclareMembers | ( | classname | ) |
This macro declares the duplicate()
method and the copy constructor, making it possible for an action to be repeated. The copy constructor must be implemented in the classes where this macro is used.
enum IlvActionMessageType |
Instances of IlvActionHistory
can notify IlvObserver
objects of actions executed by the user. This enumeration defines all the types of messages that an IlvActionHistory
object can send to its observers.
IlvActionMessage
, IlvActionHistory
.