ScummVM API documentation
Titanic::CTimeEventInfoList Class Reference
Inheritance diagram for Titanic::CTimeEventInfoList:
Titanic::List< CTimeEventInfo > Titanic::CSaveableObject Common::List< CTimeEventInfo *>

Public Member Functions

void postLoad (uint ticks, CProjectItem *project)
 
void preSave (uint ticks)
 
void postSave ()
 
void update (uint ticks)
 
void stop (uint id)
 
void setPersisent (uint id, bool flag)
 
- Public Member Functions inherited from Titanic::List< CTimeEventInfo >
void save (SimpleFile *file, int indent) override
 
void load (SimpleFile *file) override
 
void destroyContents ()
 
CTimeEventInfoadd ()
 
bool contains (const CTimeEventInfo *item) const
 
- Public Member Functions inherited from Titanic::CSaveableObject
virtual ClassDefgetType () const
 
bool isInstanceOf (const ClassDef *classDef) const
 
virtual void saveHeader (SimpleFile *file, int indent)
 
virtual void saveFooter (SimpleFile *file, int indent)
 
- Public Member Functions inherited from Common::List< CTimeEventInfo *>
constexpr List ()
 
 List (const List< CTimeEventInfo * > &list)
 
void insert (iterator pos, const CTimeEventInfo * &element)
 
void insert (iterator pos, iterator2 first, iterator2 last)
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
iterator reverse_erase (iterator pos)
 
void remove (const CTimeEventInfo * &val)
 
void push_front (const CTimeEventInfo * &element)
 
void push_back (const CTimeEventInfo * &element)
 
void pop_front ()
 
void pop_back ()
 
CTimeEventInfo * & front ()
 
const CTimeEventInfo * & front () const
 
CTimeEventInfo * & back ()
 
const CTimeEventInfo * & back () const
 
List< CTimeEventInfo * > & operator= (const List< CTimeEventInfo * > &list)
 
size_type size () const
 
void clear ()
 
bool empty () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator reverse_begin ()
 
const_iterator reverse_begin () const
 
iterator end ()
 
const_iterator end () const
 

Additional Inherited Members

- Public Types inherited from Common::List< CTimeEventInfo *>
typedef ListInternal::Iterator< CTimeEventInfo * > iterator
 
typedef ListInternal::ConstIterator< CTimeEventInfo * > const_iterator
 
typedef CTimeEventInfo * value_type
 
typedef uint size_type
 
- Static Public Member Functions inherited from Titanic::CSaveableObject
static void initClassList ()
 
static void freeClassList ()
 
static CSaveableObjectcreateInstance (const Common::String &name)
 
- Static Public Attributes inherited from Titanic::CSaveableObject
static ClassDef_type
 
- Protected Types inherited from Common::List< CTimeEventInfo *>
typedef ListInternal::NodeBase NodeBase
 
typedef ListInternal::Node< CTimeEventInfo * > Node
 
- Protected Member Functions inherited from Common::List< CTimeEventInfo *>
void insert (NodeBase *pos, const CTimeEventInfo * &element)
 
NodeBase erase (NodeBase *pos)
 
- Protected Attributes inherited from Common::List< CTimeEventInfo *>
NodeBase _anchor
 

Member Function Documentation

◆ postLoad()

void Titanic::CTimeEventInfoList::postLoad ( uint  ticks,
CProjectItem project 
)

Called after loading a game has finished

◆ preSave()

void Titanic::CTimeEventInfoList::preSave ( uint  ticks)

Called when a game is about to be saved

◆ postSave()

void Titanic::CTimeEventInfoList::postSave ( )

Called when a game has finished being saved

◆ update()

void Titanic::CTimeEventInfoList::update ( uint  ticks)

Handles an update

◆ stop()

void Titanic::CTimeEventInfoList::stop ( uint  id)

Remove an item with the given Id

◆ setPersisent()

void Titanic::CTimeEventInfoList::setPersisent ( uint  id,
bool  flag 
)

Sets whether a timer with a given Id will be persisent across saves


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