- 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
authproviderfactory.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_AUTHPROVIDERFACTORY_HPP_
8 #define _QI_MESSAGING_AUTHPROVIDERFACTORY_HPP_
9
10 #include <boost/shared_ptr.hpp>
11
12 #include <qi/api.hpp>
13
14 namespace qi
15 {
16 class AuthProvider;
17 using AuthProviderPtr = boost::shared_ptr<AuthProvider>;
18
19 class QI_API AuthProviderFactory
20 {
21 public:
22 virtual ~AuthProviderFactory()
23 {
24 }
25 virtual AuthProviderPtr newProvider() = 0;
26 virtual unsigned int authVersionMajor()
27 {
28 return 1;
29 }
30 virtual unsigned int authVersionMinor()
31 {
32 return 0;
33 }
34 };
35
36 using AuthProviderFactoryPtr = boost::shared_ptr<AuthProviderFactory>;
37 }
38
39 #endif
QI_API
#define QI_API
Definition: api.hpp:33
qi::AuthProviderFactory::~AuthProviderFactory
virtual ~AuthProviderFactory()
Definition: authproviderfactory.hpp:22
api.hpp
dll import/export and compiler message
qi::AuthProviderFactory::authVersionMinor
virtual unsigned int authVersionMinor()
Definition: authproviderfactory.hpp:30
qi::AuthProviderFactoryPtr
boost::shared_ptr< AuthProviderFactory > AuthProviderFactoryPtr
Definition: authproviderfactory.hpp:36
qi::AuthProviderFactory::authVersionMajor
virtual unsigned int authVersionMajor()
Definition: authproviderfactory.hpp:26
qi::AuthProviderPtr
boost::shared_ptr< AuthProvider > AuthProviderPtr
Definition: authprovider.hpp:60
qi::AuthProviderFactory
Definition: authproviderfactory.hpp:19