libqi-api  2.8.7.4
 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>
14 
15 namespace qi
16 {
17 
19  {
20  public:
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
#define QI_API
Definition: api.hpp:33
dll import/export and compiler message
boost::shared_ptr< ClientAuthenticator > ClientAuthenticatorPtr
boost::shared_ptr< ClientAuthenticatorFactory > ClientAuthenticatorFactoryPtr