Equalizer  1.4.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 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

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 35 of file fabric/server.h.


Member Typedef Documentation

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

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 43 of file fabric/server.h.

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

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 45 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 50 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 53 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 56 of file fabric/server.h.


The documentation for this class was generated from the following file:
Generated on Mon Nov 26 2012 14:41:50 for Equalizer 1.4.1 by  doxygen 1.7.6.1