28 #ifndef EQ_ADMIN_FIND_PIPE_H
29 #define EQ_ADMIN_FIND_PIPE_H
31 #include <eq/admin/base.h>
36 inline eq::admin::Pipe* findPipe( eq::admin::ServerPtr server )
39 const eq::admin::Configs& configs = server->getConfigs();
42 std::cout <<
"No configs on server, exiting" << std::endl;
46 eq::admin::Config* config = configs.front();
47 const eq::admin::Nodes& nodes = config->getNodes();
50 std::cout <<
"No nodes in config, exiting" << std::endl;
54 const eq::admin::Node* node = nodes.front();
55 const eq::admin::Pipes& pipes = node->getPipes();
58 std::cout <<
"No pipes in node, exiting" << std::endl;
66 #endif // EQ_ADMIN_FIND_PIPE_H