#include <SimdMotion.hpp>
Public Types | |
enum | Type { ObjectIn , ObjectOut , SabotageOn , SabotageOff } |
Public Member Functions | |
Event (Type type_, const String &text_=String(), Id objectId_=-1) | |
Data Fields | |
enum Simd::Motion::Event::Type | type |
A type of event. | |
String | text |
Event text description. | |
Id | objectId |
ID of object concerned with this event or -1. | |
Detailed Description
Event structure.
Describes event generated by Simd::Motion::Detector.
Member Enumeration Documentation
◆ Type
enum Type |
Constructor & Destructor Documentation
◆ Event()
Constructs Event structure.
- Parameters
-
[in] type_ - a type of a new event. [in] text_ - a text description of the event. It is equal to empty string by default. [in] objectId_ - an ID of object concerned with this event. It is equal to -1 by default.