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

#include <matchers.h>

Inheritance diagram for NSL::andMatcher:
NSL::matcher

Public Member Functions

 andMatcher (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 70 of file matchers.h.

Constructor & Destructor Documentation

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

Definition at line 72 of file matchers.h.

Member Function Documentation

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

Implements NSL::matcher.

Definition at line 75 of file matchers.h.

Member Data Documentation

RefCMatcher NSL::andMatcher::m_lhs
protected

Definition at line 75 of file matchers.h.

RefCMatcher NSL::andMatcher::m_rhs
protected

Definition at line 79 of file matchers.h.


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