Public Member Functions | Public Attributes

Event_t Struct Reference
[Classes for managing object list]

event structure of received event More...

#include <hsm_common.h>

Collaboration diagram for Event_t:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Event_t ()
 Default Constructor.
 Event_t (Event_e a_eventType, ivd_FileType_e a_fileType, PathList_t a_pathList, PathList_t a_pathOldList, UInt64_t a_fChSize, UInt64_t a_fChOff, ExtAttr_t a_eAttr)
 Event_t (Event_t &a_event)

Public Attributes

 log_CLASSID_m
 Macro to add class name member s_className.
Event_e eventType
ivd_FileType_e fileType
PathList_t pathList
PathList_t pathOldList
UInt64_t fChSize
UInt64_t fChOff
ExtAttr_t eAttr

Detailed Description

event structure of received event

Definition at line 188 of file hsm_common.h.


Constructor & Destructor Documentation

Event_t::Event_t (  )  [inline]

Default Constructor.

Definition at line 194 of file hsm_common.h.

References eventType, fChOff, fChSize, fileType, pathList, and pathOldList.

               {
//         log_FUNC_m(Event_t);
        eventType = eUnknown;
        fileType  = ift_FILE;
        fChSize   = fChOff = 0;
        pathList.clear();
        pathOldList.clear();
    };

Event_t::Event_t ( Event_e  a_eventType,
ivd_FileType_e  a_fileType,
PathList_t  a_pathList,
PathList_t  a_pathOldList,
UInt64_t  a_fChSize,
UInt64_t  a_fChOff,
ExtAttr_t  a_eAttr 
) [inline]

Definition at line 203 of file hsm_common.h.

             :
             eventType(a_eventType),
             fileType(a_fileType),
             pathList(a_pathList),
             pathOldList(a_pathOldList),
             fChSize(a_fChSize),
             fChOff(a_fChOff),
             eAttr(a_eAttr) {
    };

Event_t::Event_t ( Event_t a_event  )  [inline]

Definition at line 219 of file hsm_common.h.

References eAttr, eventType, fChOff, fChSize, fileType, pathList, and pathOldList.

                               {

        eventType   = a_event.eventType;    
        fileType    = a_event.fileType;     
        fChSize     = a_event.fChSize;      
        fChOff      = a_event.fChOff;       
        eAttr       = a_event.eAttr;        
        pathList.clear();
        PathLIter_t pIter;
        for (pIter = a_event.pathList.begin(); pIter != a_event.pathList.end(); pIter ++){
            pathList.push_back(*pIter); 
        }
        pathOldList.clear();
        for (pIter = a_event.pathOldList.begin(); pIter != a_event.pathOldList.end(); pIter ++){
            pathList.push_back(*pIter); 
        }
    };


Member Data Documentation

Definition at line 243 of file hsm_common.h.

Referenced by Event_t().

Definition at line 235 of file hsm_common.h.

Referenced by Event_t().

Definition at line 242 of file hsm_common.h.

Referenced by Event_t().

Definition at line 241 of file hsm_common.h.

Referenced by Event_t().

Definition at line 238 of file hsm_common.h.

Referenced by Event_t().

Macro to add class name member s_className.

Definition at line 190 of file hsm_common.h.

Definition at line 239 of file hsm_common.h.

Referenced by Event_t().

Definition at line 240 of file hsm_common.h.

Referenced by Event_t().


The documentation for this struct was generated from the following file: