C# Class AutobiographicMemory.AM.BaseEvent

Inheritance: IBaseEvent, ICustomSerialization
Show file Open project: GAIPS-INESC-ID/FAtiMA-Toolkit

Public Methods

Method Description
ApplyPerspective ( Name name ) : BaseEvent
GetObjectData ( ISerializationData dataHolder, ISerializationContext context ) : void
LinkEmotion ( string emotionType ) : void
RemovePerspective ( Name name ) : BaseEvent
SetObjectData ( ISerializationData dataHolder, ISerializationContext context ) : void
SwapPerspective ( Name oldPerspective, Name newPerspective ) : BaseEvent
ToDTO ( ) : EventDTO

Protected Methods

Method Description
BaseEvent ( uint id, Name eventName, ulong timestamp ) : System.Collections.Generic
BuildEventName ( ) : Name

Method Details

ApplyPerspective() public method

public ApplyPerspective ( Name name ) : BaseEvent
name Name
return BaseEvent

BaseEvent() protected method

protected BaseEvent ( uint id, Name eventName, ulong timestamp ) : System.Collections.Generic
id uint
eventName Name
timestamp ulong
return System.Collections.Generic

BuildEventName() protected abstract method

protected abstract BuildEventName ( ) : Name
return Name

GetObjectData() public method

public GetObjectData ( ISerializationData dataHolder, ISerializationContext context ) : void
dataHolder ISerializationData
context ISerializationContext
return void

LinkEmotion() public method

public LinkEmotion ( string emotionType ) : void
emotionType string
return void

RemovePerspective() public method

public RemovePerspective ( Name name ) : BaseEvent
name Name
return BaseEvent

SetObjectData() public method

public SetObjectData ( ISerializationData dataHolder, ISerializationContext context ) : void
dataHolder ISerializationData
context ISerializationContext
return void

SwapPerspective() public method

public SwapPerspective ( Name oldPerspective, Name newPerspective ) : BaseEvent
oldPerspective Name
newPerspective Name
return BaseEvent

ToDTO() public abstract method

public abstract ToDTO ( ) : EventDTO
return AutobiographicMemory.DTOs.EventDTO