NSL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
NSL::orMatcher Class Reference

#include <matchers.h>

Inheritance diagram for NSL::orMatcher:
NSL::matcher

Public Member Functions

 orMatcher (RefCMatcher lhs, RefCMatcher rhs)
 
- Public Member Functions inherited from NSL::matcher
virtual bool operator() (Event &ev)
 
virtual void AddPreHook (const hookType &hook)
 
virtual void AddPreHook (hookType &&hook)
 
virtual void AddPostHook (const hookType &hook, PostHookCondition condition)
 
virtual void AddPostHook (hookType &&hook, PostHookCondition condition)
 

Protected Attributes

RefCMatcher m_lhs
 
RefCMatcher m_rhs
 

Private Member Functions

bool check (Event &ev) override
 

Additional Inherited Members

- Public Types inherited from NSL::matcher
using funcType = std::function< bool(Event &)>
 
using hookType = std::function< void(Event &)>
 

Detailed Description

Definition at line 82 of file matchers.h.

Constructor & Destructor Documentation

NSL::orMatcher::orMatcher ( RefCMatcher  lhs,
RefCMatcher  rhs 
)
inline

Definition at line 84 of file matchers.h.

Member Function Documentation

bool NSL::orMatcher::check ( Event ev)
inlineoverrideprivatevirtual

Implements NSL::matcher.

Definition at line 87 of file matchers.h.

Member Data Documentation

RefCMatcher NSL::orMatcher::m_lhs
protected

Definition at line 87 of file matchers.h.

RefCMatcher NSL::orMatcher::m_rhs
protected

Definition at line 91 of file matchers.h.


The documentation for this class was generated from the following file: