Equalizer
1.4.1
|
Base co::Node class for a server. More...
#include <server.h>
Public Member Functions | |
virtual void | setClient (ClientPtr client) |
ClientPtr | getClient () |
ConstClientPtr | getClient () const |
const Configs & | getConfigs () const |
EQFABRIC_INL VisitorResult | accept (V &visitor) |
Traverse this server and all children using a server visitor. | |
EQFABRIC_INL VisitorResult | accept (V &visitor) const |
Const-version of accept(). | |
NF * | getNodeFactory () |
Public Types | |
typedef lunchbox::RefPtr< CL > | ClientPtr |
A reference-counted pointer to the client. | |
typedef lunchbox::RefPtr < const CL > | ConstClientPtr |
A reference-counted const pointer to the client. | |
typedef std::vector< CFG * > | Configs |
A vector of config pointers. | |
typedef NF | NodeFactory |
The node factory. | |
Protected Member Functions | |
Server (NF *nodeFactory) | |
void | _addConfig (CFG *config) |
bool | _removeConfig (CFG *config) |
Friends | |
class | Config |
Base co::Node class for a server.
Definition at line 35 of file fabric/server.h.
typedef lunchbox::RefPtr< CL > eq::fabric::Server< CL, S, CFG, NF, N, V >::ClientPtr |
A reference-counted pointer to the client.
Definition at line 39 of file fabric/server.h.
typedef std::vector< CFG* > eq::fabric::Server< CL, S, CFG, NF, N, V >::Configs |
A vector of config pointers.
Definition at line 43 of file fabric/server.h.
typedef lunchbox::RefPtr< const CL > eq::fabric::Server< CL, S, CFG, NF, N, V >::ConstClientPtr |
A reference-counted const pointer to the client.
Definition at line 41 of file fabric/server.h.
typedef NF eq::fabric::Server< CL, S, CFG, NF, N, V >::NodeFactory |
The node factory.
Definition at line 45 of file fabric/server.h.
EQFABRIC_INL VisitorResult eq::fabric::Server< CL, S, CFG, NF, N, V >::accept | ( | V & | visitor | ) |
Traverse this server and all children using a server visitor.
visitor | the visitor. |
EQFABRIC_INL VisitorResult eq::fabric::Server< CL, S, CFG, NF, N, V >::accept | ( | V & | visitor | ) | const |
Const-version of accept().
ClientPtr eq::fabric::Server< CL, S, CFG, NF, N, V >::getClient | ( | ) | [inline] |
ConstClientPtr eq::fabric::Server< CL, S, CFG, NF, N, V >::getClient | ( | ) | const [inline] |
const Configs& eq::fabric::Server< CL, S, CFG, NF, N, V >::getConfigs | ( | ) | const [inline] |