Open Lighting Architecture  0.9.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ola::client::GenericClientWrapper< ClientClass > Class Template Reference

Detailed Description

template<typename ClientClass>
class ola::client::GenericClientWrapper< ClientClass >

A templatized ClientWrapper.

Inheritance diagram for ola::client::GenericClientWrapper< ClientClass >:
ola::client::BaseClientWrapper

Public Member Functions

 GenericClientWrapper (bool auto_start=true)
ClientClass * GetClient () const
 Return the underlying client object.
- Public Member Functions inherited from ola::client::BaseClientWrapper
void SetCloseCallback (CloseCallback *callback)
 Set the callback to be run when the client socket is closed.
ola::io::SelectServerGetSelectServer ()
 Get the SelectServer used by this client.
bool Setup ()
 Setup the client.
bool Cleanup ()
 Reset the connection to the server.
void SocketClosed ()
 Called internally when the client socket is closed.

Additional Inherited Members

- Public Types inherited from ola::client::BaseClientWrapper
typedef Callback0< void > CloseCallback
- Protected Attributes inherited from ola::client::BaseClientWrapper
std::auto_ptr
< ola::network::TCPSocket
m_socket

The documentation for this class was generated from the following file: