Open Lighting Architecture  Latest Git
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 >:
Inheritance graph
[legend]
Collaboration diagram for ola::client::GenericClientWrapper< ClientClass >:
Collaboration graph
[legend]

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. More...
 
ola::io::SelectServerGetSelectServer ()
 Get the SelectServer used by this client. More...
 
bool Setup ()
 Setup the client. More...
 
bool Cleanup ()
 Reset the connection to the server. More...
 
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::TCPSocketm_socket
 

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