AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Core

Classes

class  CzApp
 CzApp acts as a controller for the whole game or app. You should derive your own version of this class. More...
class  CzAppCreator
struct  CzColour
 Structure used to represent colour. More...
class  CzDataInput
 Provides stream like read access to a memory buffer. More...
class  CzDataOutput
 Provides stream write like access to a memory buffer. More...
struct  CzEvent
 Represents a named event with an actions list. More...
class  CzEventManager
 Manages a collection of events. More...
struct  CzFilePathComponents
 file path components. More...
class  CzFile
 CzFile respresents a file. More...
class  CzDataFile
 A XOML data file. More...
class  CzDataFileCreator
 Creates an instance of a file object. More...
struct  CzTouch
 Represents a single touch. More...
class  CzInput
 This class is responsible for handling all keyboard, pointer and other input devices input. More...
class  CzGlobalResources
 Manages application global resources. More...
class  CzSettings
 CzSettings is a settings class that controls various settings of the AppEasy engine. More...
class  CzSlotArray< T >
 Basic resizable slot array. More...
class  CzString
 A simple named string builder style class. More...
class  CzTimer
 Polled timer. More...
class  CzUtils
 CzUtils - Pure static utility class. More...
class  CzMetrics
 CzMetrics - Metrics class. More...
class  CzGlobals
 CzGlobals - Global data. More...
class  CzXmlTools
 General tools used by all CzXml classes. More...
struct  CzXmlAttribute
 An Xml attribute, e.g. <Something attribute="some value"> More...
struct  CzXmlNode
 An Xml node, e.g. <XmlNode></XmlNode> More...
struct  CzXmlTagMarker
 XML tag marker. More...
class  CzXmlParser
 The Xml parser. More...

Defines

#define CZ_MAX_SCENE_LAYERS   10
 Default maximum scene layers.
#define CZ_MAX_TOUCHES   10
 A macro that defines maximum number of supported simultaneous touches.
#define CZ_INPUT   (CzInput::getInstance())
 A macro that provides global access to the intput system.
#define CZ_GLOBAL_RESOURCES   CzGlobalResources::getInstance()
 A macro that returns the global resources singleton.
#define CZ_GLOBAL_RESOURCE_MANAGER   CZ_GLOBAL_RESOURCES->getResourceManager()
 A macro that returns the global resource manager.
#define CZ_GLOBAL_VARIABLE_MANAGER   CZ_GLOBAL_RESOURCES->getVariableManager()
 A macro that returns the global XOML variables manager.
#define CZ_GLOBAL_ACTIONS_MANAGER   CZ_GLOBAL_RESOURCES->getActionsManager()
 A macro that returns the global actions manager.
#define CZ_GLOBAL_TIMELINE_MANAGER   CZ_GLOBAL_RESOURCES->getTimelinesManager()
 A macro that returns the global timelines manager.
#define CZ_GLOBAL_TIMERS_MANAGER   CZ_GLOBAL_RESOURCES->getTimersManager()
 A macro that returns the global timers manager.
#define CZ_GLOBAL_PROGRAM_MANAGER   CZ_GLOBAL_RESOURCES->getProgramManager()
 A macro that returns the global XOML programs manager.
#define CZ_SETTINGS   CzSettings::getInstance()
#define SAFE_DELETE(x)   if (x != NULL) { delete x; x = NULL; }
 A macro that safely deletes an object.
#define SAFE_DELETE_ARRAY(x)   if (x != NULL) { delete [] x; x = NULL; }
 A macro that safely deletes an array of objects.
#define CZ_HASH(x)   (CzString::CalculateHash(x))
 A macro that calculates the hash of a string.
#define FRAME_SPEED_LOCK_MS   16.67f
 A macro that defines the frame speed lock in milliseconds.
#define CDEFINE_SINGLETON(the_class)
#define CDECLARE_SINGLETON(the_class)

Typedefs

typedef CzList< CzString * > CzStringList
typedef int(* CzCallback )(void *caller, void *data)
typedef void * CzCallbackData
typedef CzList< CzXmlAttribute * > CzXmlAttributeList
 A list of CzXmlAttribute's.
typedef CzList< CzXmlNode * > CzXmlNodeList
 A list of CzXmlNode's.

Enumerations

enum  eCzKeyCode {
  eKeyNone, eKeyEsc, eKeyTab, eKeyBackspace,
  eKeyEnter, eKeyLeftShift, eKeyLeftControl, eKeyReserved,
  eKeySpace, eKeyLeft, eKeyUp, eKeyRight,
  eKeyDown, eKey0, eKey1, eKey2,
  eKey3, eKey4, eKey5, eKey6,
  eKey7, eKey8, eKey9, eKeyA,
  eKeyB, eKeyC, eKeyD, eKeyE,
  eKeyF, eKeyG, eKeyH, eKeyI,
  eKeyJ, eKeyK, eKeyL, eKeyM,
  eKeyN, eKeyO, eKeyP, eKeyQ,
  eKeyR, eKeyS, eKeyT, eKeyU,
  eKeyV, eKeyW, eKeyX, eKeyY,
  eKeyZ, eKeyF1, eKeyF2, eKeyF3,
  eKeyF4, eKeyF5, eKeyF6, eKeyF7,
  eKeyF8, eKeyF9, eKeyF10, eKeyNumPad0,
  eKeyNumPad1, eKeyNumPad2, eKeyNumPad3, eKeyNumPad4,
  eKeyNumPad5, eKeyNumPad6, eKeyNumPad7, eKeyNumPad8,
  eKeyNumPad9, eKeyNumPadPlus, eKeyNumPadMinus, eKeyNumPadEnter,
  eKeyRSK, eKeyLSK, eKeyLS, eKeyRS,
  eKeyHash, eKeyStar, eKeyOk, eKeyCLR,
  eKeyVolUp, eKeyVolDown, eKeyCamera, eKeyMic,
  eKeyFn, eKeySym, eKeyAccept, eKeyEnd,
  eKeyHomePage, eKeyButton1, eKeyButton2, eKeyButton3,
  eKeyButton4, eKeyButton5, eKeyButton6, eKeyButton7,
  eKeyButton8, eKeyF11, eKeyF12, eKeyLeftAlt,
  eKeyRightControl, eKeyRightAlt, eKeyRightShift, eKeyBacktick,
  eKeyComma, eKeyPeriod, eKeySlash, eKeyBackSlash,
  eKeySemicolon, eKeyApostrophe, eKeyLeftBracket, eKeyRightBracket,
  eKeyEquals, eKeyMinus, eKeyCapsLock, eKeyNumPadPeriod,
  eKeyNumPadSlash, eKeyNumLock, eKeyInsert, eKeyHome,
  eKeyPageUp, eKeyPageDown, eKeyKbEnd, eKeyDelete,
  eKeyPause, eKeyAt, eKeyBack, eKeyMenu,
  eKeySearch, eKey3DMode, eKeyMyApps, eKeyAbsGameA,
  eKeyAbsGameB, eKeyAbsGameC, eKeyAbsGameD, eKeyAbsUp,
  eKeyAbsDown, eKeyAbsLeft, eKeyAbsRight, eKeyAbsOk,
  eKeyAbsASK, eKeyAbsBSK
}
 Values that represent key codes. More...
enum  eCzXmlParseError {
  XmlErrorNone, XmlErrorNoTagFound, XmlErrorFileError, XmlErrorMissingEndTag,
  XmlErrorMissingEndComment, XmlErrorMismatchedEndTag, XmlErrorMissingEquals, XmlErrorMissingValue,
  XmlErrorMissingClosingQuote, XmlErrorInvalidTag, XmlErrorInvalidComment, XmlErrorPreParseError,
  XmlErrorInvalidPools
}
 XML parser errors. More...

Define Documentation

#define CDECLARE_SINGLETON (   the_class)
Value:
the_class* the_class::_instance = NULL;     \
void the_class::Create()                    \
{                                           \
    if (_instance == NULL)                  \
        _instance = new the_class;          \
}                                           \
void the_class::Destroy()                   \
{                                           \
    if (_instance != NULL)                  \
    {                                       \
        delete _instance;                   \
        _instance = NULL;                   \
    }                                       \
}                                           \
the_class* the_class::getInstance()         \
{                                           \
  return _instance;                         \
}
#define CDEFINE_SINGLETON (   the_class)
Value:
private:                                        \
    static the_class* _instance;                \
    the_class() {}                              \
    ~the_class() {}                             \
    the_class(const the_class &);               \
    the_class& operator=(const the_class &);    \
public:                                         \
    static void Create();                       \
    static void Destroy();                      \
    static the_class* getInstance();
#define CZ_GLOBAL_ACTIONS_MANAGER   CZ_GLOBAL_RESOURCES->getActionsManager()

A macro that returns the global actions manager.

#define CZ_GLOBAL_PROGRAM_MANAGER   CZ_GLOBAL_RESOURCES->getProgramManager()

A macro that returns the global XOML programs manager.

#define CZ_GLOBAL_RESOURCE_MANAGER   CZ_GLOBAL_RESOURCES->getResourceManager()

A macro that returns the global resource manager.

#define CZ_GLOBAL_RESOURCES   CzGlobalResources::getInstance()

A macro that returns the global resources singleton.

#define CZ_GLOBAL_TIMELINE_MANAGER   CZ_GLOBAL_RESOURCES->getTimelinesManager()

A macro that returns the global timelines manager.

#define CZ_GLOBAL_TIMERS_MANAGER   CZ_GLOBAL_RESOURCES->getTimersManager()

A macro that returns the global timers manager.

#define CZ_GLOBAL_VARIABLE_MANAGER   CZ_GLOBAL_RESOURCES->getVariableManager()

A macro that returns the global XOML variables manager.

#define CZ_HASH (   x)    (CzString::CalculateHash(x))

A macro that calculates the hash of a string.

Parameters:
xThe string.
#define CZ_INPUT   (CzInput::getInstance())

A macro that provides global access to the intput system.

#define CZ_MAX_SCENE_LAYERS   10

Default maximum scene layers.

#define CZ_MAX_TOUCHES   10

A macro that defines maximum number of supported simultaneous touches.

#define CZ_SETTINGS   CzSettings::getInstance()
#define FRAME_SPEED_LOCK_MS   16.67f

A macro that defines the frame speed lock in milliseconds.

This value is calculates from 1000 / target_frame-rate

#define SAFE_DELETE (   x)    if (x != NULL) { delete x; x = NULL; }

A macro that safely deletes an object.

Parameters:
xthe object to delete.
#define SAFE_DELETE_ARRAY (   x)    if (x != NULL) { delete [] x; x = NULL; }

A macro that safely deletes an array of objects.

Parameters:
xThe rray of objects to delete.

Typedef Documentation

typedef int(* CzCallback)(void *caller, void *data)
typedef void* CzCallbackData

Enumeration Type Documentation

enum eCzKeyCode

Values that represent key codes.

Enumerator:
eKeyNone 
eKeyEsc 
eKeyTab 
eKeyBackspace 
eKeyEnter 
eKeyLeftShift 
eKeyLeftControl 
eKeyReserved 
eKeySpace 
eKeyLeft 
eKeyUp 
eKeyRight 
eKeyDown 
eKey0 
eKey1 
eKey2 
eKey3 
eKey4 
eKey5 
eKey6 
eKey7 
eKey8 
eKey9 
eKeyA 
eKeyB 
eKeyC 
eKeyD 
eKeyE 
eKeyF 
eKeyG 
eKeyH 
eKeyI 
eKeyJ 
eKeyK 
eKeyL 
eKeyM 
eKeyN 
eKeyO 
eKeyP 
eKeyQ 
eKeyR 
eKeyS 
eKeyT 
eKeyU 
eKeyV 
eKeyW 
eKeyX 
eKeyY 
eKeyZ 
eKeyF1 
eKeyF2 
eKeyF3 
eKeyF4 
eKeyF5 
eKeyF6 
eKeyF7 
eKeyF8 
eKeyF9 
eKeyF10 
eKeyNumPad0 
eKeyNumPad1 
eKeyNumPad2 
eKeyNumPad3 
eKeyNumPad4 
eKeyNumPad5 
eKeyNumPad6 
eKeyNumPad7 
eKeyNumPad8 
eKeyNumPad9 
eKeyNumPadPlus 
eKeyNumPadMinus 
eKeyNumPadEnter 
eKeyRSK 
eKeyLSK 
eKeyLS 
eKeyRS 
eKeyHash 
eKeyStar 
eKeyOk 
eKeyCLR 
eKeyVolUp 
eKeyVolDown 
eKeyCamera 
eKeyMic 
eKeyFn 
eKeySym 
eKeyAccept 
eKeyEnd 
eKeyHomePage 
eKeyButton1 
eKeyButton2 
eKeyButton3 
eKeyButton4 
eKeyButton5 
eKeyButton6 
eKeyButton7 
eKeyButton8 
eKeyF11 
eKeyF12 
eKeyLeftAlt 
eKeyRightControl 
eKeyRightAlt 
eKeyRightShift 
eKeyBacktick 
eKeyComma 
eKeyPeriod 
eKeySlash 
eKeyBackSlash 
eKeySemicolon 
eKeyApostrophe 
eKeyLeftBracket 
eKeyRightBracket 
eKeyEquals 
eKeyMinus 
eKeyCapsLock 
eKeyNumPadPeriod 
eKeyNumPadSlash 
eKeyNumLock 
eKeyInsert 
eKeyHome 
eKeyPageUp 
eKeyPageDown 
eKeyKbEnd 
eKeyDelete 
eKeyPause 
eKeyAt 
eKeyBack 
eKeyMenu 
eKeySearch 
eKey3DMode 
eKeyMyApps 
eKeyAbsGameA 
eKeyAbsGameB 
eKeyAbsGameC 
eKeyAbsGameD 
eKeyAbsUp 
eKeyAbsDown 
eKeyAbsLeft 
eKeyAbsRight 
eKeyAbsOk 
eKeyAbsASK 
eKeyAbsBSK 

XML parser errors.

Enumerator:
XmlErrorNone 
XmlErrorNoTagFound 
XmlErrorFileError 
XmlErrorMissingEndTag 
XmlErrorMissingEndComment 
XmlErrorMismatchedEndTag 
XmlErrorMissingEquals 
XmlErrorMissingValue 
XmlErrorMissingClosingQuote 
XmlErrorInvalidTag 
XmlErrorInvalidComment 
XmlErrorPreParseError 
XmlErrorInvalidPools