All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Types | Protected Member Functions | List of all members
openstudio::CloudSession Class Reference

#include <CloudProvider.hpp>

+ Inheritance diagram for openstudio::CloudSession:

Public Member Functions

void addWorkerUrl (const Url &workerUrl)
void clearWorkerUrls ()
std::string cloudProviderType () const
void resetServerUrl ()
boost::optional< Url > serverUrl () const
std::string sessionId () const
void setServerUrl (const Url &serverUrl)
UUID uuid () const
 Unique identifier for OSP. More...
UUID versionUUID () const
 Unique identifier of version for OSP. More...
std::vector< Url > workerUrls () const
virtual ~CloudSession ()
Type Casting
template<typename T >
cast () const
 cast to type T, can throw std::bad_cast More...
template<typename T >
boost::optional< T > optionalCast () const
 cast to optional of type T More...

Protected Types

typedef detail::CloudSession_Impl ImplType

Protected Member Functions

 CloudSession (const std::shared_ptr< detail::CloudSession_Impl > &impl)

Detailed Description

CloudSession returns the information needed to identify and reconnect to compute nodes started by a previous CloudProvider.

Member Typedef Documentation

typedef detail::CloudSession_Impl openstudio::CloudSession::ImplType

Constructor & Destructor Documentation

virtual openstudio::CloudSession::~CloudSession ( )
openstudio::CloudSession::CloudSession ( const std::shared_ptr< detail::CloudSession_Impl > &  impl)

Member Function Documentation

void openstudio::CloudSession::addWorkerUrl ( const Url &  workerUrl)
template<typename T >
T openstudio::CloudSession::cast ( ) const

cast to type T, can throw std::bad_cast

void openstudio::CloudSession::clearWorkerUrls ( )
std::string openstudio::CloudSession::cloudProviderType ( ) const
template<typename T >
boost::optional<T> openstudio::CloudSession::optionalCast ( ) const

cast to optional of type T

void openstudio::CloudSession::resetServerUrl ( )
boost::optional<Url> openstudio::CloudSession::serverUrl ( ) const
std::string openstudio::CloudSession::sessionId ( ) const
void openstudio::CloudSession::setServerUrl ( const Url &  serverUrl)
UUID openstudio::CloudSession::uuid ( ) const

Unique identifier for OSP.

UUID openstudio::CloudSession::versionUUID ( ) const

Unique identifier of version for OSP.

(To avoid unnecessary overhead when nothing has changed.)

std::vector<Url> openstudio::CloudSession::workerUrls ( ) const