summaryrefslogtreecommitdiff
path: root/TAO/CIAO/tools/Config_Handlers/RT-CCM/TP_Handler.h
blob: 638ab07f67516f9bc3d51ab596f4e069f4b25ca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//==============================================
/*
 *     @file TP_Handler.h
 *
 *     @author Lucas Seibert <lseibert@dre.vanderbilt.edu>
 *     @author Will Otte <wotte@dre.vanderbilt.edu>
 *  $Id$
 */
//==============================================

#ifndef CIAO_CONFIG_HANDLERS_TP_HANDLER_H
#define CIAO_CONFIG_HANDLERS_TP_HANDLER_H

#include /**/ "ace/pre.h"

#include "RT_CCM_Handlers_Export.h"
#include "ciao/ServerResourcesC.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

namespace CIAO
{
    namespace Config_Handlers
    {
	class ThreadpoolDef;

	/*
	 * @class TP_Handler
	 * A brief Handler class for <ThreadpoolDef>
	 */

	class RT_CCM_Handlers_Export TP_Handler
	{
        public:
          static bool thread_pool (const ThreadpoolDef &src,
                                   ::CIAO::DAnCE::ORS_Threadpool &dest);
          
          static ThreadpoolDef thread_pool (const ::CIAO::DAnCE::ORS_Threadpool &src);
	};
    }
}

#include /**/ "ace/post.h"
#endif /* TP_HANDLER_H */