- Aldebaran documentation |
- C++ Libraries |
- index

libqi-api 2.8.7.4

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
clientauthenticatorfactory.hpp
Go to the documentation of this file.
1 #pragma once
2 /*
3 ** Copyright (C) 2014 Aldebaran Robotics
4 ** See COPYING for the license
5 */
6
7 #ifndef _QI_MESSAGING_CLIENTAUTHENTICATORFACTORY_HPP_
8 #define _QI_MESSAGING_CLIENTAUTHENTICATORFACTORY_HPP_
9
10 #include <boost/shared_ptr.hpp>
11
12 #include <qi/api.hpp>
13 #include <qi/messaging/clientauthenticator.hpp>
14
15 namespace qi
16 {
17
18 class QI_API ClientAuthenticatorFactory
19 {
20 public:
21 virtual ~ClientAuthenticatorFactory() {}
22 virtual ClientAuthenticatorPtr newAuthenticator() = 0;
23 virtual unsigned int authVersionMajor() { return 1; }
24 virtual unsigned int authVersionMinor() { return 0; }
25 };
26
27 using ClientAuthenticatorFactoryPtr = boost::shared_ptr<ClientAuthenticatorFactory>;
28 }
29
30
31 #endif
QI_API
#define QI_API
Definition: api.hpp:33
qi::ClientAuthenticatorFactory::authVersionMinor
virtual unsigned int authVersionMinor()
Definition: clientauthenticatorfactory.hpp:24
qi::ClientAuthenticatorFactory
Definition: clientauthenticatorfactory.hpp:18
api.hpp
dll import/export and compiler message
qi::ClientAuthenticatorPtr
boost::shared_ptr< ClientAuthenticator > ClientAuthenticatorPtr
Definition: clientauthenticator.hpp:45
qi::ClientAuthenticatorFactory::authVersionMajor
virtual unsigned int authVersionMajor()
Definition: clientauthenticatorfactory.hpp:23
qi::ClientAuthenticatorFactoryPtr
boost::shared_ptr< ClientAuthenticatorFactory > ClientAuthenticatorFactoryPtr
Definition: clientauthenticatorfactory.hpp:27
qi::ClientAuthenticatorFactory::~ClientAuthenticatorFactory
virtual ~ClientAuthenticatorFactory()
Definition: clientauthenticatorfactory.hpp:21
clientauthenticator.hpp