Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Public Attributes
OODebug::Event Struct Reference
Inheritance diagram for OODebug::Event:
OODebug::MessagePart

Public Member Functions

virtual ~Event () override
 
virtual int kind () const override
 
- Public Member Functions inherited from OODebug::MessagePart
virtual ~MessagePart ()
 
void addMessageField (ReadOperator reader, WriteOperator writer=nullptr)
 

Public Attributes

MessageField< BreakpointEvent, cast(Protocol::EventKind::BREAKPOINT)> breakpoint {&Event::breakpoint, this}
 
MessageField< ClassPrepare, cast(Protocol::EventKind::CLASS_PREPARE)> classPrepare {&Event::classPrepare, this}
 
MessageField< Protocol::EventKindeventKind {&Event::eventKind, this}
 
MessageField< SingleStepEvent, cast(Protocol::EventKind::SINGLE_STEP)> singleStep {&Event::singleStep, this}
 
MessageField< VMStart, cast(Protocol::EventKind::VM_START)> vmStart {&Event::vmStart, this}
 

Additional Inherited Members

- Public Types inherited from OODebug::MessagePart
using ReadOperator = std::function< void(MessagePart *, QDataStream &)>
 
using WriteOperator = std::function< void(const MessagePart *, QDataStream &)>
 
- Static Public Member Functions inherited from OODebug::MessagePart
template<typename Enum >
static constexpr std::enable_if< std::is_enum< Enum >::value, typename std::underlying_type< Enum >::type >::type cast (Enum enumValue)
 Casts an enum value to its underlying type. More...
 
- Static Public Attributes inherited from OODebug::MessagePart
static const int noKind {}
 

Constructor & Destructor Documentation

◆ ~Event()

OODebug::Event::~Event ( )
overridevirtual

Member Function Documentation

◆ kind()

int OODebug::Event::kind ( ) const
overridevirtual

Reimplemented from OODebug::MessagePart.

Member Data Documentation

◆ breakpoint

MessageField<BreakpointEvent, cast(Protocol::EventKind::BREAKPOINT)> OODebug::Event::breakpoint {&Event::breakpoint, this}

◆ classPrepare

MessageField<ClassPrepare, cast(Protocol::EventKind::CLASS_PREPARE)> OODebug::Event::classPrepare {&Event::classPrepare, this}

◆ eventKind

MessageField<Protocol::EventKind> OODebug::Event::eventKind {&Event::eventKind, this}

◆ singleStep

MessageField<SingleStepEvent, cast(Protocol::EventKind::SINGLE_STEP)> OODebug::Event::singleStep {&Event::singleStep, this}

◆ vmStart

MessageField<VMStart, cast(Protocol::EventKind::VM_START)> OODebug::Event::vmStart {&Event::vmStart, this}