Namespaces | Classes | Enumerations | Functions | Variables

wosh Namespace Reference

Standard root namespace of WOSH framework. More...

Namespaces

namespace  ai
 

Classes, algoritms and utilities for applied Artificial Intelligence and Data Mining.


namespace  application
 

Contains official WOSH applications (implementation and their classes).


namespace  automations
 

Automation and Task (Cron) related classes.


namespace  building
 

Classes designed to represent building and the whole house. They provide an higher abstraction of devices (such as lights, appliances, audio box, ..)


namespace  bundles
namespace  communication
 

Contains classes regarding communication. They represent common messages (textual, audio) and provide user sessions (required by Session server and remote control through instant messaging.


namespace  entertainment
 

Contains classes regarding Entertainment. Representing media objects, playlist and more.


namespace  gui
 

Contains classes regarding GUI. There are many built-in graphical interface for core-modules, most objects and services.


namespace  interfaces
 

Contains standard interfaces (specifications) of WOSH system.


namespace  network
 

Specification and some implementations of common sockets (TCP, UDP) and networking-related classes. WOSH Network Framework is required in order to build a (distributed) WOSH network, protocols are (installed and) configured as Bundles (within NetworkManager settings). Thanks to wosh::bundles::DiscoveryBundle service, a WOSH application may auto-connect to other host without user interaction.


namespace  persistence
 

Contains classes regarding data persistence. Note that XML serialization is required by network overlay. Persistence is related to serialization and data persistence (on disk), actually XML format is widely supported by built-in objects.


namespace  rmi
 

Contains stubs and skeletons for WOSH components.


namespace  scripting
 

Contains classes regarding scripting and safety of the home and the system itself.


namespace  security
 

Contains classes regarding security and safety of the home and the system itself.


namespace  xtended
 

Contains classes that do not apply to other namespaces, but are commonly used.


Classes

class  SystemHost
class  IBuffer
 Lowes level interface for buffers. More...
class  BufferArrayT
 Generic Template of a buffer stored as fixed array. More...
class  circular_buffer_iterator
 Iterator type for the circular_buffer class. More...
class  circular_buffer
 This class provides a circular buffer in the STL style. More...
class  Bundle
 Base interface for WOSH Bundles. Bundles are services, drivers and even (virtual) devices. They interact and exchange information through wosh::Bus. Implementations are located in /src/bundles folder. More...
class  BundleGeneric
 Intermediate (still abstract) implementation of Bundle. Class provides some common methods and features required by wosh::Bundle interface. Usually bundles inherit this class instead of wosh::Bundle. More...
class  BundleGenericWorker
 class base per i worker classici dei Bundle More...
class  BundleLoader
 The class manage loading of Bundles. More...
class  BundleManager
 WOSH core service which manages bundles (wosh::Bundle). More...
class  BundleRequirements
class  Bus
 Core interface, it allows services, devices or any IBusListener implementation, to listen for any or particular messages and inject new messages. Posting is usually asynchronous, message delivery is transient ( destination must be subscribed and working). More...
class  IBusListener
 Interface for Objects which listens the Bus. More...
class  BusConnector
 Connect a IBusListener to a Bus, like a proxy. More...
class  BusManager
 CoreModule designed to manage busses (wosh::Bus), their creation and connections. It also interacts with wosh::NetworkManager for wosh::Message routing. More...
class  BusMTWorker
 Worker process of the wosh::BusMT class based on wosh::ThreadMethod Independent Message dispatcher. More...
class  BusMT
 Bus implementation with process resilience and parallel computation (multi-thread architecture). More...
class  BusRing
 wosh::Bus implementation, ring-bus architecture. Messages are posted asynchronously. The internal thread loop the message queue forwarding the message to each listener. The order of messages' arrival is predictable. More...
class  IComparable
class  ContainerGeneric
 Lowest level (pure abstract) interface for wosh Containers. More...
class  ContainerSequenceStd
class  ContainerAssociativeStd
class  IDataFieldHolder
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IDataFieldReadable
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IDataFieldWritable
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IObjectReader
 data-field reading interface, allow an external object to read object's fields in a standardized protocol based on wosh::ISerializable class. More...
class  IObjectWriter
 ---------------------------------------------------------------------------------------------------------------------- More...
class  DataFieldDefinitionT
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IDataFieldCollection
class  DataFieldCollection
 ---------------------------------------------------------------------------------------------------------------------- More...
class  ObjectReaderT
 ---------------------------------------------------------------------------------------------------------------------- More...
class  ObjectWriterT
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IDataOutput
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IDataFieldsOutputT
 ---------------------------------------------------------------------------------------------------------------------- More...
class  DataFieldsOutputArray
 ---------------------------------------------------------------------------------------------------------------------- More...
class  DataFieldsOutputList
 ---------------------------------------------------------------------------------------------------------------------- More...
class  DataFieldsOutputTable
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IDataRenderer
class  DataFieldsRenderer
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IDataFieldWrapperAlloc
 DataField Wrapper for allocating wosh::ISerializable representation of fields' value. More...
class  IDataFieldWrapperRead
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IDataFieldWrapperWrite
 ---------------------------------------------------------------------------------------------------------------------- More...
class  DataFieldWrapperAllocT
 DataField allocate Wrapper template. Provided for convenience. More...
class  IDataFieldWrapperReadT
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IDataFieldWrapperReadSubT
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IDataFieldWrapperReadSubT< OBJECT_TYPE, PROXY_TYPE &, RETURN_TYPE, ALLOCATOR_TYPE >
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IDataFieldWrapperReadSubT< OBJECT_TYPE, PROXY_TYPE &, RETURN_TYPE, void >
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IDataFieldWrapperReadSubT< OBJECT_TYPE, PROXY_TYPE *, RETURN_TYPE, ALLOCATOR_TYPE >
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IDataFieldWrapperReadSubT< OBJECT_TYPE, PROXY_TYPE *, RETURN_TYPE *, void >
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IDataFieldWrapperWriteT
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IDataFieldWrapperWriteProxyT
 ---------------------------------------------------------------------------------------------------------------------- More...
class  IDataFieldWrapperWriteWithArgT
 ---------------------------------------------------------------------------------------------------------------------- More...
class  DateTime
class  Device
 The class holds information about a generic device, defined by wosh::interfaces::Device. More...
class  DeviceManager
 Core module managing devices (wosh::Device) of local host. More...
class  DeviceManager_DeviceUpdated
 Raised when an device is added or updated. More...
class  EncoderProtocol
class  Fact
 Facts are the way any Event is broadcasted within WOSH system. They can be raised from Devices or Services, hardware or software. Usually it's Automation(manager) listening for Fact and generating effects, but also some GUI applications may listen them as notifiers. More...
class  Fact_ListChanged
 Raised when. More...
class  FileInfo
 Holds information about a file. More...
class  FolderInfo
 Holds information about a folder. More...
class  DriveInfo
 Holds information about a disk drive. More...
class  FilePath
class  FileSystem
 CoreModule providing an high-level (and remote) access to local file-system. More...
class  Functor_Validator
 Unary predicate (functor validator) using member's function to evaluate the falsehood. More...
class  Functor_Appender
 Unary predicate (functor executer) using member's function to feed a global container. More...
class  Functor_ToString_T
 Appender Functor widely used in data listing (from internal structure (vector-like) [extract/copy field] to List) More...
class  Functor_ToString_simple
 Appender Functor widely used in data listing (from internal structure (vector-like) [extract/copy field] to List) More...
class  InterfacesProvider
 Class/interface for Objects which provide wosh::Property, some helper functions are provided for convenience. More...
class  VectorT
 Extension of ContainerSequenceStd based on std::vector. More...
class  DequeT
 Extension of ContainerSequenceStd based on std::deque. More...
class  XX_ListT
 Extension of ContainerAssociativeStd based on std::list. More...
class  List
 Generic List holder, real data is stored as string. More...
class  LogContext
 Adapter to the custom/system log. Store local settings and forward calls to current (internal) LogHandler. More...
class  LogHandler
 Base (abstract) class of a generic log-output renderer. More...
class  LogHandlerPlainText
 Render log entries to plain text file (written on local host). More...
class  LogHandlerStdC
 Render log entries to stderr/stdout (default console output). More...
class  LogHandlerMultiplexer
 Multiplexer: forwards entries to multiple LogHandlers. More...
class  StaticLogHandler
 Default log handler, Meyer singleton class, provided for convenience. More...
class  XX_MapT
 Extension of ContainerSequenceStd based on std::map. More...
class  Message
 WOSH is a SOA, BUS oriended framework. This object allows services and devices to talk theirselves (locally ad remotely both). More...
class  MessageContent
 Base abstract class for contents of a Message. More...
class  MessageFilter
 The class extends wosh::Message providing comparison methods. More...
class  MessageNetworkForwarding
 This class holds information about previous forwarders nodes (hosts) More...
class  MessageQueue
 The class implements a priority based queue of wosh::Message items. More...
class  Method
 Holds generic method information, required arguments and its (imlementation) pointer. More...
class  MethodArguments
 Store the arguments' definition of a Method. More...
class  MethodsProvider
 Collects a set of wosh::Method as sorted associative container. Based on wosh::MapT. More...
class  MethodT
 Holds generic method information, required arguments and its (imlementation) pointer. More...
class  MutexLocker
 Multiplatform mutex locker, provided for convenience. More...
class  MutexLockerRead
 Multiplatform mutex locker, provided for convenience. More...
class  MutexLockerWrite
 Multiplatform mutex locker, provided for convenience. More...
class  NetworkChannel
 Interface of a generic communication channel between WOSH hosts. More...
class  NetworkChannel_ListChanged
 Raised when. More...
class  NetworkChannel_ConnectionChanged
 Raised when. More...
class  NetworkManager
 CoreModule designed to manage host-discovery, networking and routing of wosh::Message. More...
class  NetworkOutMessageHandler
 NetworkManager Helper class, manage outgoing message. More...
class  NetworkInMessageHandler
 NetworkManager Helper class, manage incoming message. More...
class  NetworkManagerLooper
 NetworkManager Helper class. More...
class  NetworkProtocol
 Interface of a generic communication protocol, handles properties and manager (dis)connection of custom wosh::NetworkChannel. More...
class  NetworkProtocol_ListChanged
 Raised when. More...
class  Notification
 A special Event message containing text or information for user(s). More...
class  Object
 Base class of most WOSH classes. More...
class  ObjectAllocator
 Manager allocators:

  • Static allocator (built-in)
  • Dynamic allocator (as dll plugins)
More...
class  ObjectFactory
 CoreModule provides methods and managements of dynamic type recognition and allocation, supports and masquerades access to installed wosh::ObjectAllocators. More...
class  VolatileObjectInfo
 ---------------------------------------------------------------------------------------- More...
class  ObjectGarbageCollector
 Design/planning stage, not used yet. More...
class  ObjectLibrary
 Design/planning stage, not used yet. More...
class  ObjectLibraryLoader
 Design/planning stage, not used yet. More...
class  Permission
 Hold permission and user information of an Object. More...
class  PersistenceManager
 CoreModule providing (de)Serialization functionalities. More...
class  PersistenceManager_ProtocolUpdated
 Raised when a protocol is added or updated. More...
class  PropertiesProvider
 Class/interface for Objects which provide wosh::Property, some helper functions are provided for convenience. More...
class  Property
 Property is a key-value pair, serialized as strings. More...
class  IReflection
 Base interface (lowest level) to support Reflection/RTTI architecture. This is the downcasted pointer used when allocating Objects. More...
class  ClassNull
 ---------------------------------------------------------------------------------------- More...
class  Request
 Requests are the way Methods are called remotely within WOSH system. More...
class  ResourcePath
class  Response
 Responses are related to Requests. Almost all Requests are replied with a wosh::Response Object It holds the reference method and a generic Data as content. More...
class  SecurityACL
 !!! deve risolvere problema della inheritance.. More...
class  SecurityAuthenticationSecret
 holds login information (such as password) More...
class  SecurityAuthenticationSecretCurrent
 used to 'inherit' current login info, current authenticator must be valid More...
class  SecurityAuthenticationSecrets
 hold list of secrets (of a type.. like passwords) More...
class  SecurityAuthenticationProvider
 manage user authentication More...
class  SecurityFirewall
class  SecurityManager
 CoreModule which cares of system security and auditing. More...
class  SecurityToken
 Represent a security token, used by messages to store the creator information (object and user). More...
class  ISerializable
class  Session
class  Session_ListChanged
 Raised when. More...
class  SessionManagerMonitor
 Helper class, iterative check threads.. More...
class  SessionManager
 CoreModule designed to handle users' sessions (wosh::Session). More...
class  SharedMemory
 Base class of Shared Memory components, it provides a basic implementation of a custom leader-election algorithm and I/O methods. More...
class  SharedMemoryDsm
class  SharedMemoryEpidemic
 SharedMemory implementation based on Epidemic algorithm. More...
class  SharedObject
class  basic_onullstream
 NULL standard output stream (ostream), similar to POSIX /dev/null. More...
class  basic_inullstream
 NULL standard output stream (ostream), similar to POSIX /dev/null. More...
class  basic_istreambuf_array
 Array (memory) based standard buffer (streambuf) for input (reading external buffer). More...
class  basic_ostreambuf_array
 Array (memory) based standard buffer (streambuf) for output (write into buffer). More...
class  basic_istreambuf_BufferArray
 BufferArrayT based standard buffer (streambuf) for input (reading external buffer). More...
class  basic_istream_BufferArray
 standard input stream (istream) reading from a BufferArrayT object. Provided for Convenience. More...
class  basic_ostreambuf_BufferArray
 _BufferArrayT based standard buffer (streambuf) for output (write into buffer). More...
class  basic_ostream_BufferArray
 standard output stream (ostream) writing to a BufferArrayT object. Provided for Convenience. More...
class  String
class  SystemInfo
 The class holds information about a generic system error. SystemInfo may be easily raised using raise() method. More...
class  SystemLogger
 CoreModule which provides access to logs (wosh::LogContext) and available renderers (wosh::LogHandler). More...
class  SystemMonitor
 CoreModule designed for diagnostic purposes, collects wosh::SystemInfo system information and provides access to profiling data (when enabled). More...
class  Table
 Generic wosh::ISerializable objects container, organized as a 2-dimensions matrix. More...
class  Thread
 Abstract class providing thread-subsystem (multiplatform, based on QThread (QT) More...
class  ThreadManagerMonitor
 Helper class, iterative check threads.. More...
class  ThreadManager
 CoreModule designed for diagnostic and debug purposes, it collects and keep track of application's threads transparently. Often it is able to detect crashes. More...
class  ThreadMethod
  un thread gli si associa una funzione (pointer) lui la esegue in RUN() da usare in MessageBus POOL More...
class  ThreadPool
class  Timer
class  TreeNodeT
class  TreeNode
class  TreeT
class  Tree
class  URI
 regex are similar to xsl, but simplyfied More...
class  User
 Represents an user of WOSH system. More...
class  UserGroup
 Defines a group of users (wosh::User) More...
class  UserInfoCommmunicators
class  UserInfoLocation
class  UserManager
 CoreModule holding WOSH Users and Groups. Distributed component. More...
class  UserManager_UserListChanged
 Raised when an user is added or updated. More...
class  UserManager_GroupListChanged
 Raised when an user is added or updated. More...
class  Utilities
 Common (static) methods grouped into Utilities class. More...
class  Variant
 A generic data holder. Provides also conversions and ASCII serialization. More...
class  WoshHost
 The class holds basic information about a generic WOSH host over the distributed system. More...
class  WoshHost_ListChanged
 Raised when. More...
class  WoshKernel
 The Core of a generic WOSH application. Manage life-cycle of CoreModules. More...
class  WoshKernel_StateChanged
 Raised when state of the kernel has changed. More...
class  WoshModule
 Interface of a generic CoreModule. Such modules are embedded into the kernel itself. More...
class  WoshSettings
 The class collects multiple set (groups) of wosh::Property objects. More...
class  BuildingManager_ObjectUpdated
 Raised when an object is added or updated. More...
class  DiscoveryDBusMessage
 Represent a Discovery DBus message. Provides (de)serialization. More...
class  DataHash
class  Mutex
 Multiplatform mutex used within multi-threading, based on pthread or QT library. More...
class  MutexRW
 Multiplatform mutex used within multi-threading, based QT library. Read locks are shared, write lock are exclusive. More...
class  NetworkUtilities
 The class collects some common methods regarding Networking. More...
class  SharedTransaction
class  basic_streamcallbackbuf
 A standard buffer (streambuf) providing callbacks. More...
class  basic_nullbuf
 NULL standard buffer (streambuf), it do not store data even if returns success. More...
class  SystemProfiler
 Singleton component which stores profiling data and deprecated-call list. Component may be disabled (by configuration), eventually it is owned by wosh::SystemMonitor core-module. More...
class  WoshHost_Updated
 Raised when. More...
class  Automation_Executed
 Raised when. More...
class  FormBusViewer
 Graphic tool showing messages on a Bus. More...
class  FormInfoBox
 Graphic tool showing messages on a Bus. More...
class  PluginModule

Enumerations

enum  LogLevel {
  LOG_UNKNOWN = 0x00, LOG_NONE = 0x01, LOG_CRITICAL = 0x02, LOG_WARNING = 0x04,
  LOG_INFO = 0x08, LOG_VERBOSE = 0x10, LOG_DEBUG = 0x20, LOG_ALL = 0xFF
}
 

represent severity of a log entry, 1 byte. also defines some log-mask

More...
enum  SECURITY_OPERATION { ,
  SECOP_EXECUTE = 0x01, SECOP_WRITE = 0x02, SECOP_WX = 0x03, SECOP_READ = 0x04,
  SECOP_RX = 0x05, SECOP_RW = 0x06, SECOP_RWX = 0x07
}

Functions

int _GET_LogLevelIndex (int level_index)
 return level_index to be used in arrays
void log (LogLevel level, const char *context, const char *format,...)
 Forward call to StaticLogHandler. Provided for convenience.
WOSHCORE_API const char * getLogLevelAsString (LogLevel state)
 Get log-level as a literal string.
WOSHCORE_API LogLevel getLogLevelFromString (const char *state)
 Get log-level from a literal string.
void message_assign (Message *message, int64 id, int64 ref_id, int64 ts)
ResponseMPC_mmDoDataSetRetrieve (const Message *requestMessage, IDataSetRetriever *retriever, LogContext *log=NULL)
 Retrieve dataset (objects' list) through IDataSetRetriever architecture. Arguments must be formatted as a Table, which is default behaviour of wosh::communication::ShellCommand parsing. Options are defined as --KEY=VALUE, samples:
ResponseMPC_mmDoPropertySet (const Message *requestMessage, PropertiesProvider *properties, LogContext *log)
ResponseMPC_mmDoDataSetFields (const Message *requestMessage, IDataSetFieldsReader *retriever, LogContext *log=NULL)
 Retrieve fields of a dataset through IDataSetFieldsReader architecture. Arguments must be formatted as a Table, which is default behaviour of wosh::communication::ShellCommand parsing. Options are defined as --KEY=VALUE, samples:
ResponseMPC_mmDoFieldsList (const Message *requestMessage, IObjectReader *reader, LogContext *log=NULL)
 Retrieve fields of an object through IObjectReader architecture. Arguments must be formatted as a Table, which is default behaviour of wosh::communication::ShellCommand parsing. Options are defined as --KEY=VALUE, samples:
ResponseMPC_mmDoChMod_apply (Permission *targetPerm, const std::string &newMask, const Message *requestMessage)
ResponseMPC_mmDoChMod (const Message *requestMessage, Object *object, PropertiesProvider *properties, MethodsProvider *methods, LogContext *log)
ResponseMPC_mmDoChOwn (const Message *requestMessage, Object *object, PropertiesProvider *properties, MethodsProvider *methods, LogContext *log)
void object_assign (Object *object, const std::string &entity_id)
long listChildren (NodeUriStr *cNode, const URI *parent_uri, std::vector< ISerializable * > &output_list, int recursive_steps)
void user_assign (User *user, long id)
General Purpose Hash Function Algorithms (by Arash Partow, 2002, http://www.partow.net )
unsigned int hash_RS (const std::string &str)
unsigned int hash_JS (const std::string &str)
unsigned int hash_PJW (const std::string &str)
unsigned int hash_ELF (const std::string &str)
unsigned int hash_BKDR (const std::string &str)
unsigned int hash_SDBM (const std::string &str)
unsigned int hash_DJB (const std::string &str)
unsigned int hash_DEK (const std::string &str)
unsigned int hash_BP (const std::string &str)
unsigned int hash_FNV (const std::string &str)
unsigned int hash_AP (const std::string &str)
MD5 Functions
void createUUID (std::string &uuid_str)

Variables

const char invalid_chars [] = { ' ', '-', '+', '/', '!', '=', '?', '"', '%' }
 9 elements
const std::string EmptyString = ""
 static optimization
WoshKernelms_WoshKernel_instance = NULL
 private reference of static instance

Detailed Description

Standard root namespace of WOSH framework.


Enumeration Type Documentation

represent severity of a log entry, 1 byte. also defines some log-mask

Enumerator:
LOG_UNKNOWN 

unknown severity

LOG_NONE 

mask, used to set the minimin log level. it won't log anything

LOG_CRITICAL 

the worst error case, usually means the procedure totally failed

LOG_WARNING 

warning message, useful to be inspected when debugging the system

LOG_INFO 

information level, won't probably flood

LOG_VERBOSE 

more verbose information, will flood

LOG_DEBUG 

max verbose information, will flood a lot

LOG_ALL 

mask, used to set the minimin log level. it will log everything

Definition at line 65 of file LogContext.h.

Enumerator:
SECOP_EXECUTE 

means also DELETE in some cases

SECOP_WRITE 

write/edit/create

SECOP_WX 

MASK.

SECOP_READ 

read (also check existence)

SECOP_RX 

MASK.

SECOP_RW 

MASK.

SECOP_RWX 

MASK.

Definition at line 47 of file SecurityACL.h.


Function Documentation

int wosh::_GET_LogLevelIndex ( int  level_index )
WOSHCORE_API const char* wosh::getLogLevelAsString ( LogLevel  state )
WOSHCORE_API LogLevel wosh::getLogLevelFromString ( const char *  state )

Get log-level from a literal string.

Parameters:
level[in] LogLevel as literal string
Returns:
log-level (as enum) associated with the argument
long wosh::listChildren ( NodeUriStr *  cNode,
const URI *  parent_uri,
std::vector< ISerializable * > &  output_list,
int  recursive_steps 
)
Todo:
USE BINARY TREE

Definition at line 668 of file URI.cpp.

WOSHCORE_API void wosh::log ( LogLevel  level,
const char *  context,
const char *  format,
  ... 
)

Forward call to StaticLogHandler. Provided for convenience.

Parameters:
level[in] LogLevel of the message
context[in] c string representing the log-context, may be NULL
format[in] c string that contains the text to be written
...[in] depending on the format string, the function may expect a sequence of additional arguments
See also:
StaticLogHandler::log()

Definition at line 279 of file LogContext.cpp.

WOSHCORE_API void wosh::message_assign ( Message *  message,
int64  id,
int64  ref_id,
int64  ts 
)
Bug:
bad to expose this

Definition at line 382 of file Message.cpp.

References wosh::Message::id, wosh::Message::ref_id, and wosh::Message::timestamp.

WOSHCORE_APIC Response * wosh::MPC_mmDoChMod ( const Message *  requestMessage,
Object *  object,
PropertiesProvider *  properties,
MethodsProvider *  methods,
LogContext *  log 
)
WOSHCORE_APIC Response * wosh::MPC_mmDoChMod_apply ( Permission *  targetPerm,
const std::string &  newMask,
const Message *  requestMessage 
)
WOSHCORE_APIC Response * wosh::MPC_mmDoChOwn ( const Message *  requestMessage,
Object *  object,
PropertiesProvider *  properties,
MethodsProvider *  methods,
LogContext *  log 
)
WOSHCORE_APIC Response * wosh::MPC_mmDoDataSetFields ( const Message *  requestMessage,
IDataSetFieldsReader *  retriever,
LogContext *  log = NULL 
)

Retrieve fields of a dataset through IDataSetFieldsReader architecture. Arguments must be formatted as a Table, which is default behaviour of wosh::communication::ShellCommand parsing. Options are defined as --KEY=VALUE, samples:

list --at=1 list --at=3,2 list --at=3-5

list --sort-by=KEY --order=ASC --index-start=10 --index-end=11

list --header=false list --header=only

list --fields=all list --fields=defaults list --fields=NAME1,NAME2 list --fields=3

list --output=list list --output=table

Definition at line 638 of file MethodsCommon.cpp.

References wosh::Message::getSecurityToken(), LOG_DEBUG, LOG_VERBOSE, and wosh::Request::replyResponse().

WOSHCORE_APIC Response * wosh::MPC_mmDoDataSetRetrieve ( const Message *  requestMessage,
IDataSetRetriever *  retriever,
LogContext *  log = NULL 
)

Retrieve dataset (objects' list) through IDataSetRetriever architecture. Arguments must be formatted as a Table, which is default behaviour of wosh::communication::ShellCommand parsing. Options are defined as --KEY=VALUE, samples:

retrieve --at=1 retrieve --at=3,2 retrieve --at=3-5

retrieve --key=PRIMARY_KEY

retrieve --order=ASC --index-start=10 --index-end=11

retrieve --output=list retrieve --output=table

Definition at line 232 of file MethodsCommon.cpp.

References wosh::Message::getSecurityToken(), LOG_DEBUG, LOG_VERBOSE, and wosh::Request::replyResponse().

WOSHCORE_APIC Response * wosh::MPC_mmDoFieldsList ( const Message *  requestMessage,
IObjectReader *  reader,
LogContext *  log = NULL 
)

Retrieve fields of an object through IObjectReader architecture. Arguments must be formatted as a Table, which is default behaviour of wosh::communication::ShellCommand parsing. Options are defined as --KEY=VALUE, samples:

retrieve --field-max-count=10 retrieve --field-min-priority=16

retrieve --output=list retrieve --output=table

Definition at line 771 of file MethodsCommon.cpp.

References wosh::IObjectReader::getFieldCollection(), wosh::Message::getSecurityToken(), LOG_WARNING, wosh::Request::replyResponse(), wosh::IObjectReader::setSecurityToken(), and WRET_OK.

WOSHCORE_APIC Response * wosh::MPC_mmDoPropertySet ( const Message *  requestMessage,
PropertiesProvider *  properties,
LogContext *  log 
)
WOSHCORE_API void wosh::object_assign ( Object *  object,
const std::string &  entity_id 
)
Bug:
bad to expose this

Definition at line 48 of file Object.cpp.

WOSHCORE_API void wosh::user_assign ( wosh::User user,
long  id 
)
Bug:
bad to expose this

Definition at line 51 of file User.cpp.


Variable Documentation

const std::string wosh::EmptyString = ""

static optimization

Definition at line 47 of file Variant.cpp.

const char wosh::invalid_chars[] = { ' ', '-', '+', '/', '!', '=', '?', '"', '%' }

9 elements

Definition at line 52 of file ObjectAllocator.cpp.

private reference of static instance

Definition at line 79 of file WoshKernel.cpp.

Referenced by wosh::WoshKernel::WoshKernel(), and wosh::WoshKernel::~WoshKernel().


Generated on Sat Feb 26 2011 11:28:35 for WOSH system 0.8.888 [phoenix] by Alessandro Polo, using DoxyGen 1.7.2 hosted by WOSH Framework