blob: 2e6839fd6b6f5e4bbaff66c3f0fcd1492d2159d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*********************************************************************************************************************
* Copyright 2013-2014 Tobii Technology AB. All rights reserved.
* InteractionEvent.hpp
*********************************************************************************************************************/
#if !defined(__TOBII_TX_CLIENT_CPPBINDINGS_INTERACTIONEVENT__HPP__)
#define __TOBII_TX_CLIENT_CPPBINDINGS_INTERACTIONEVENT__HPP__
/*********************************************************************************************************************/
TX_NAMESPACE_BEGIN
/*********************************************************************************************************************/
class InteractionEvent :
public InteractionObject
{
public:
InteractionEvent(const std::shared_ptr<const Context>& spContext, TX_HANDLE hEvent);
std::string GetInteractorId() const;
std::vector<std::shared_ptr<Behavior>> GetBehaviors() const;
bool TryGetBehavior(std::shared_ptr<Behavior>* pspBehavior, TX_BEHAVIORTYPE behaviorType) const;
};
/*********************************************************************************************************************/
TX_NAMESPACE_END
/*********************************************************************************************************************/
#endif // !defined(__TOBII_TX_CLIENT_CPPBINDINGS_INTERACTIONEVENT__HPP__)
/*********************************************************************************************************************/
|