Equalizer  1.2.1
Public Member Functions | Public Types | Protected Member Functions | Friends
eq::fabric::Server< CL, S, CFG, NF, N, V > Class Template Reference

Base co::Node class for a server. More...

#include <server.h>

List of all members.

Public Member Functions

virtual void setClient (ClientPtr client)
ClientPtr getClient ()
ConstClientPtr getClient () const
const ConfigsgetConfigs () 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

Detailed Description

template<class CL, class S, class CFG, class NF, class N, class V>
class eq::fabric::Server< CL, S, CFG, NF, N, V >

Base co::Node class for a server.

See also:
eq::Server

Definition at line 34 of file fabric/server.h.


Member Typedef Documentation

template<class CL, class S, class CFG, class NF, class N, class V>
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.

template<class CL, class S, class CFG, class NF, class N, class V>
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.

template<class CL, class S, class CFG, class NF, class N, class V>
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.

template<class CL, class S, class CFG, class NF, class N, class V>
typedef NF eq::fabric::Server< CL, S, CFG, NF, N, V >::NodeFactory

The node factory.

Definition at line 44 of file fabric/server.h.


Member Function Documentation

template<class CL, class S, class CFG, class NF, class N, class V>
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.

Parameters:
visitorthe visitor.
Returns:
the result of the visitor traversal.
Version:
1.0
template<class CL, class S, class CFG, class NF, class N, class V>
EQFABRIC_INL VisitorResult eq::fabric::Server< CL, S, CFG, NF, N, V >::accept ( V &  visitor) const

Const-version of accept().

Version:
1.1.6
template<class CL, class S, class CFG, class NF, class N, class V>
ClientPtr eq::fabric::Server< CL, S, CFG, NF, N, V >::getClient ( ) [inline]
Returns:
the local client proxy.
Version:
1.0

Definition at line 49 of file fabric/server.h.

template<class CL, class S, class CFG, class NF, class N, class V>
ConstClientPtr eq::fabric::Server< CL, S, CFG, NF, N, V >::getClient ( ) const [inline]
Returns:
the local client proxy.
Version:
1.0

Definition at line 52 of file fabric/server.h.

template<class CL, class S, class CFG, class NF, class N, class V>
const Configs& eq::fabric::Server< CL, S, CFG, NF, N, V >::getConfigs ( ) const [inline]
Returns:
the vector of configurations.
Version:
1.0

Definition at line 55 of file fabric/server.h.


The documentation for this class was generated from the following file:
Generated on Fri Jun 8 2012 15:44:36 for Equalizer 1.2.1 by  doxygen 1.8.0