object.h File Reference

#include <hn/osdep.h>
#include <hn/event.h>
#include <map>
#include <string>
#include <vector>
#include <stdexcept>
#include <boost/noncopyable.hpp>

Include dependency graph for object.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Typedefs

typedef uint32_t ObjectId
 Object identifiers are 32-bit unsigned integers.

Enumerations

enum  ObjectEvent { OBJ_MODIFIED = 0x01, OBJ_ADDED, OBJ_REMOVED, OBJ_DESTROY }
 Object events, propangated up the object hierarchy, and passed to event handler. More...
enum  DataType {
  ODT_UNKNOWN = 0x00, ODT_INT = 0x01, ODT_STRING = 0x02, ODT_BOOL = 0x04,
  ODT_CHOICE = 0x08, ODT_RESERVED1 = 0x10, ODT_REQUIRED = 0x20, ODT_READONLY = 0x40,
  ODT_UNSIGNED = 0x80
}
 Data type description. More...

Typedef Documentation

typedef uint32_t ObjectId
 

Object identifiers are 32-bit unsigned integers.

Definition at line 124 of file object.h.


Enumeration Type Documentation

enum DataType
 

Data type description.

Enumeration values:
ODT_UNKNOWN  00000000 unknown
ODT_INT  00000001 integer
ODT_STRING  00000010 string
ODT_BOOL  00000100 boolean
ODT_CHOICE  00001000 choice
ODT_RESERVED1  00010000 <reserved for="" future="">
ODT_REQUIRED  00100000 required/always present
ODT_READONLY  01000000 read-only
ODT_UNSIGNED  10000000 unsigned

Definition at line 138 of file object.h.

enum ObjectEvent
 

Object events, propangated up the object hierarchy, and passed to event handler.

Enumeration values:
OBJ_MODIFIED  This object's data has been modified.
OBJ_ADDED  An object has been added to this container.
OBJ_REMOVED  An object has been removed from thsi container.
OBJ_DESTROY  This object has been destroyed.

Definition at line 128 of file object.h.