WvStreams
Main Page
Modules
Classes
Files
File List
File Members
xplc
servmgr.h
1
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2
*
3
* XPLC - Cross-Platform Lightweight Components
4
* Copyright (C) 2000-2002, Pierre Phaneuf
5
* Copyright (C) 2001, Stéphane Lajoie
6
* Copyright (C) 2002-2004, Net Integration Technologies, Inc.
7
*
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public License
10
* as published by the Free Software Foundation; either version 2.1 of
11
* the License, or (at your option) any later version.
12
*
13
* This library is distributed in the hope that it will be useful, but
14
* WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the Free Software
20
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21
* USA
22
*/
23
24
#ifndef __XPLC_SERVMGR_H__
25
#define __XPLC_SERVMGR_H__
26
27
#include <
xplc/IServiceManager.h
>
28
#include "handlernode.h"
29
30
class
ServiceManager
:
public
IServiceManager
{
31
IMPLEMENT_IOBJECT(
ServiceManager
);
32
private
:
33
HandlerNode
* handlers;
34
public
:
35
ServiceManager
():
36
handlers(0) {
37
}
38
virtual
~
ServiceManager
();
39
/* IServiceManager */
40
virtual
void
addHandler
(
IServiceHandler
*);
41
virtual
void
addFirstHandler
(
IServiceHandler
*);
42
virtual
void
addLastHandler
(
IServiceHandler
*);
43
virtual
void
removeHandler
(
IServiceHandler
*);
44
virtual
IObject
*
getObject
(
const
UUID
&);
45
};
46
47
#endif
/* __XPLC_SERVMGR_H__ */
Generated on Thu Mar 14 2013 19:25:35 for WvStreams by
1.8.1.2