/***************************************************************************
                Process Test Class
                -----------------------------------------
    begin      : 2013/06/21
	copyright  : (C) 2005 Solbox Inc.
    author     : Dev 1 Team
    email      : dev1@solbox.com
    version    : 3.2.0

    CopyRight(C) 2005 Solbox Inc. All Rights reserved.
    Redistribution and use in source and binary forms, with or with out
    modification, are not permitted in outside of Solbox Inc.
*****************************************************************************/

#ifndef __WROK_FHS_INFO_UPDATER_H__
#define __WROK_FHS_INFO_UPDATER_H__

#include "Process.h"
#include "SharedMemAPR.h"
#include "FhsStatUpdateThread.h"
#include "FimngdData.h"

class  CWorkerFhsInfoUpdater : public CProcess
{
public:
	CWorkerFhsInfoUpdater();
	virtual ~CWorkerFhsInfoUpdater();

	pid_t Launcher(const sig_atomic_t *sighandle);

	CFhsStatUpdateThread m_objFhsStat;

private:
	void	do_work(const sig_atomic_t *sighandle);

	// 서비스 볼륨별 account 관리를 위한 shared memory 객체
	CSharedMem m_shmemFhsStat;

	// m_shmemFhsStat에 실제로 fhs 개수를 저장하는 shared memory 객체
	CSharedMem m_shmemFhsCount;
};
 
#endif // __WROK_FHS_INFO_UPDATER_H__

