Equalizer
1.2.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 co::base::RefPtr< CL > | ClientPtr |
A reference-counted pointer to the client. | |
typedef co::base::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 34 of file fabric/server.h.
typedef co::base::RefPtr< CL > eq::fabric::Server< CL, S, CFG, NF, N, V >::ClientPtr |
A reference-counted pointer to the client.
Definition at line 38 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 42 of file fabric/server.h.
typedef co::base::RefPtr< const CL > eq::fabric::Server< CL, S, CFG, NF, N, V >::ConstClientPtr |
A reference-counted const pointer to the client.
Definition at line 40 of file fabric/server.h.
typedef NF eq::fabric::Server< CL, S, CFG, NF, N, V >::NodeFactory |
The node factory.
Definition at line 44 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] |