14 #include "xlistnode.h"
16 XListNodeBase::XListNodeBase(
const char *name,
bool runtime) :
17 XNode(name, runtime) {
21 XListNodeBase::Payload::catchEvent(
const shared_ptr<XNode>& var,
int idx) {
26 tr().mark(onCatch(), std::move(e));
29 XListNodeBase::Payload::releaseEvent(
const shared_ptr<XNode>& var,
int idx) {
34 tr().mark(onRelease(), std::move(e));
37 XListNodeBase::Payload::moveEvent(
unsigned int src_idx,
unsigned int dst_idx) {
42 tr().mark(onMove(), std::move(e));
45 XListNodeBase::Payload::listChangeEvent() {
46 tr().mark(onListChanged(), static_cast<XListNodeBase*>(&node()));