Equalizer  1.10.1
Parallel Rendering Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
eq::fabric::Server< CL, S, CFG, NF, N, V > Class Template Reference

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

#include <server.h>

+ Inheritance diagram for eq::fabric::Server< CL, S, CFG, NF, N, V >:
+ Collaboration diagram for eq::fabric::Server< CL, S, CFG, NF, N, V >:

Public Types

typedef lunchbox::RefPtr< CL > ClientPtr
 A reference-counted pointer to the client. More...
 
typedef lunchbox::RefPtr
< const CL > 
ConstClientPtr
 A reference-counted const pointer to the client. More...
 
typedef std::vector< CFG * > Configs
 A vector of config pointers. More...
 
typedef NF NodeFactory
 The node factory. More...
 

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. More...
 
EQFABRIC_INL VisitorResult accept (V &visitor) const
 Const-version of accept(). More...
 
NF * getNodeFactory ()
 

Protected Member Functions

 Server (NF *nodeFactory)
 
void _addConfig (CFG *config)
 
bool _removeConfig (CFG *config)
 

Friends

template<class , class , class , class , class , class , class >
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 32 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 36 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 40 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 38 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 42 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 47 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 50 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 53 of file fabric/server.h.


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