ewmscp  ..
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
renameHalfEvent Class Reference

#include <renameEventHandler.h>

Collaboration diagram for renameHalfEvent:
[legend]

Public Types

enum  moveTypeEnum { moveTypeEnum::moveFrom, moveTypeEnum::moveTo }
 
typedef long cookieType
 
typedef std::chrono::system_clock timeType
 
typedef std::string pathType
 
typedef std::map< cookieType, renameHalfEventmapType
 
typedef std::multiset< renameHalfEvent *, decltype(cmp) * > setType
 

Public Member Functions

 renameHalfEvent (cookieType aCookie, const pathType &aSrcPath, const pathType &aDstPath, moveTypeEnum aMoveType, const singleMap &aMapEntry, timeType::time_point aTimestamp)
 

Static Public Member Functions

static bool cmp (const renameHalfEvent *lhs, const renameHalfEvent *rhs)
 

Public Attributes

cookieType cookie
 
pathType srcPath
 
pathType dstPath
 
moveTypeEnum moveType
 
const singleMapmapEntry
 
timeType::time_point timestamp
 
setType::iterator setIterator
 

Detailed Description

Definition at line 6 of file renameEventHandler.h.

Member Typedef Documentation

◆ cookieType

Definition at line 8 of file renameEventHandler.h.

◆ mapType

Definition at line 11 of file renameEventHandler.h.

◆ pathType

typedef std::string renameHalfEvent::pathType

Definition at line 10 of file renameEventHandler.h.

◆ setType

typedef std::multiset<renameHalfEvent*, decltype(cmp)*> renameHalfEvent::setType

Definition at line 14 of file renameEventHandler.h.

◆ timeType

typedef std::chrono::system_clock renameHalfEvent::timeType

Definition at line 9 of file renameEventHandler.h.

Member Enumeration Documentation

◆ moveTypeEnum

Enumerator
moveFrom 
moveTo 

Definition at line 16 of file renameEventHandler.h.

16  {
17  moveFrom,
18  moveTo
19  };

Constructor & Destructor Documentation

◆ renameHalfEvent()

renameHalfEvent::renameHalfEvent ( cookieType  aCookie,
const pathType aSrcPath,
const pathType aDstPath,
moveTypeEnum  aMoveType,
const singleMap aMapEntry,
timeType::time_point  aTimestamp 
)
inline

Definition at line 28 of file renameEventHandler.h.

33  :
34  cookie(aCookie), srcPath(aSrcPath), dstPath(aDstPath),
35  moveType(aMoveType), mapEntry(aMapEntry), timestamp(aTimestamp) {};

Member Function Documentation

◆ cmp()

static bool renameHalfEvent::cmp ( const renameHalfEvent lhs,
const renameHalfEvent rhs 
)
inlinestatic

Definition at line 12 of file renameEventHandler.h.

12  {
13  return lhs->timestamp < rhs->timestamp;
14  };

References timestamp.

Member Data Documentation

◆ cookie

cookieType renameHalfEvent::cookie

Definition at line 21 of file renameEventHandler.h.

Referenced by renameEventHandler::forgetRenameEvent().

◆ dstPath

pathType renameHalfEvent::dstPath

Definition at line 23 of file renameEventHandler.h.

◆ mapEntry

const singleMap& renameHalfEvent::mapEntry

Definition at line 25 of file renameEventHandler.h.

◆ moveType

moveTypeEnum renameHalfEvent::moveType

Definition at line 24 of file renameEventHandler.h.

◆ setIterator

setType::iterator renameHalfEvent::setIterator

Definition at line 27 of file renameEventHandler.h.

◆ srcPath

pathType renameHalfEvent::srcPath

Definition at line 22 of file renameEventHandler.h.

◆ timestamp

timeType::time_point renameHalfEvent::timestamp

Definition at line 26 of file renameEventHandler.h.

Referenced by cmp().


The documentation for this class was generated from the following file:
renameHalfEvent::moveType
moveTypeEnum moveType
Definition: renameEventHandler.h:24
renameHalfEvent::srcPath
pathType srcPath
Definition: renameEventHandler.h:22
renameHalfEvent::cookie
cookieType cookie
Definition: renameEventHandler.h:21
renameHalfEvent::dstPath
pathType dstPath
Definition: renameEventHandler.h:23
renameHalfEvent::timestamp
timeType::time_point timestamp
Definition: renameEventHandler.h:26
renameHalfEvent::mapEntry
const singleMap & mapEntry
Definition: renameEventHandler.h:25