18 #ifndef EQFABRIC_SERVER_H
19 #define EQFABRIC_SERVER_H
22 #include <eq/fabric/types.h>
23 #include <eq/fabric/nodeType.h>
31 template<
class CL,
class S,
class CFG,
class NF,
class N,
class V >
44 virtual void setClient(
ClientPtr client );
62 EQFABRIC_INL VisitorResult
accept( V& visitor );
65 EQFABRIC_INL VisitorResult
accept( V& visitor )
const;
68 NF* getNodeFactory() {
return _nodeFactory; }
72 explicit Server( NF* nodeFactory );
78 void _addConfig( CFG* config );
81 bool _removeConfig( CFG* config );
84 NF*
const _nodeFactory;
95 template<
class,
class,
class,
class,
class,
class,
class >
99 bool _cmdCreateConfig( co::ICommand& command );
100 bool _cmdDestroyConfig( co::ICommand& command );
103 template<
class CL,
class S,
class CFG,
class NF,
class N,
class V >
104 EQFABRIC_INL std::ostream&
105 operator << ( std::ostream&, const Server< CL, S, CFG, NF, N, V >& );
109 #endif // EQFABRIC_SERVER_H
A configuration is a visualization session driven by an application.
Proxy object for the connection to an Equalizer server.
ConstClientPtr getClient() const
Defines export visibility macros for library EqualizerFabric.
std::vector< CFG * > Configs
A vector of config pointers.
const Configs & getConfigs() const
Base co::Node class for a server.
NF NodeFactory
The node factory.
lunchbox::RefPtr< Client > ClientPtr
A reference-counted pointer to an eq::Client.
EQFABRIC_INL VisitorResult accept(V &visitor)
Traverse this server and all children using a server visitor.
lunchbox::RefPtr< CL > ClientPtr
A reference-counted pointer to the client.
lunchbox::RefPtr< const CL > ConstClientPtr
A reference-counted const pointer to the client.
std::vector< Config * > Configs
A vector of pointers to eq::Config.