18 #ifndef EQFABRIC_SERVER_H 19 #define EQFABRIC_SERVER_H 23 #include <eq/fabric/nodeType.h> 24 #include <eq/fabric/types.h> 31 template <
class CL,
class S,
class CFG,
class NF,
class N,
class V>
44 virtual void setClient(ClientPtr client);
49 ConstClientPtr
getClient()
const {
return _client; }
59 EQFABRIC_INL VisitorResult
accept(V& visitor);
62 EQFABRIC_INL VisitorResult
accept(V& visitor)
const;
65 NF* getNodeFactory() {
return _nodeFactory; }
68 explicit Server(NF* nodeFactory);
74 void _addConfig(CFG* config);
77 bool _removeConfig(CFG* config);
80 NF*
const _nodeFactory;
91 template <
class,
class,
class,
class,
class,
class,
class>
95 bool _cmdCreateConfig(co::ICommand& command);
96 bool _cmdDestroyConfig(co::ICommand& command);
99 template <
class CL,
class S,
class CFG,
class NF,
class N,
class V>
100 EQFABRIC_INL std::ostream&
operator<<(std::ostream&,
105 #endif // EQFABRIC_SERVER_H ConstClientPtr getClient() const
Defines export visibility macros for library EqualizerFabric.
const Configs & getConfigs() const
Base co::Node class for a server.
std::vector< CFG * > Configs
A vector of config pointers.
NF NodeFactory
The node factory.
The Equalizer client library.
EQFABRIC_INL VisitorResult accept(V &visitor)
Traverse this server and all children using a server visitor.
std::ostream & operator<<(std::ostream &os, const AxisEvent &event)
Print the axis event to the given output stream.
lunchbox::RefPtr< CL > ClientPtr
A reference-counted pointer to the client.
Base data class for a configuration.
lunchbox::RefPtr< const CL > ConstClientPtr
A reference-counted const pointer to the client.