KISSCPP
a C++ library for rapid application development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Classes | Typedefs | Enumerations | Functions
kisscpp Namespace Reference

Namespaces

 manip
 

Classes

class  client
 
struct  InstanceListType
 
class  Config
 
class  Connection
 
class  ErrorState
 
class  ErrorStateList
 
class  IoServicePool
 
class  ManipResult
 
class  LogStreamSettings
 
class  LogStream
 
class  Base64BiCoder
 
class  PersistedQueue
 
class  PtreeBase64Bicoder
 
class  RequestHandler
 
class  RequestRouter
 
class  RetryableCommsFailure
 
class  PerminantCommsFailure
 
class  Server
 
class  StatsReporter
 
class  ErrorReporter
 
class  ErrorCleaner
 
class  HandlerReporter
 
class  LogLevelAdjuster
 
class  StatAbleQueue
 
class  StatsKeeper
 
class  ThreadsafePersistedPriorityQueue
 
class  ThreadsafePersistedQueue
 
class  ThreadsafeQueue
 

Typedefs

typedef std::set< std::string > WhiteListType
 
typedef std::map< std::string,
InstanceListType
MappedWhiteListType
 
typedef boost::shared_ptr
< Connection
ConnectionPtr
 
typedef boost::shared_ptr
< ErrorState
SharedErrorState
 
typedef std::map< std::string,
SharedErrorState
ErrorStateMapType
 
typedef ErrorStateMapType::iterator ErrorStateMapTypeIterator
 
typedef std::vector
< SharedErrorState
ErrorList
 
typedef boost::shared_ptr
< ErrorList
SharedErrorList
 
typedef ErrorList::iterator ErrorListIterator
 
typedef PersistedQueue
< boost::property_tree::ptree,
PtreeBase64Bicoder
PtreeQ
 
typedef boost::shared_ptr< PtreeQSharedPtreeQ
 
typedef boost::scoped_ptr< PtreeQScopedPtreeQ
 
typedef
ThreadsafePersistedQueue
< boost::property_tree::ptree,
PtreeBase64Bicoder
SafePtreeQ
 
typedef boost::shared_ptr
< SafePtreeQ
SharedSafePtreeQ
 
typedef boost::scoped_ptr
< SafePtreeQ
ScopedSafePtreeQ
 
typedef boost::shared_ptr
< RequestHandler
RequestHandlerPtr
 
typedef std::map< std::string,
RequestHandlerPtr
requestHandlerMapType
 
typedef
requestHandlerMapType::iterator 
requestHandlerMapTypeIter
 
typedef std::map< std::string,
std::string > 
requestHandlerInfoList
 
typedef
requestHandlerInfoList::iterator 
requestHandlerInfoListIter
 
typedef boost::shared_ptr
< requestHandlerInfoList
sharedRequestHandlerInfoList
 
typedef boost::shared_ptr
< RequestRouter
sharedRequestRouter
 
typedef boost::shared_ptr
< StatAbleQueue
sharedStatAbleQ
 
typedef std::map< std::string,
std::deque< double > > 
GatheredStatsMapType
 
typedef
GatheredStatsMapType::iterator 
GatheredStatsMapTypeIterator
 
typedef std::map< std::string,
double > 
StatsMapType
 
typedef StatsMapType::iterator StatsMapTypeIterator
 
typedef boost::shared_ptr
< StatsMapType
SharedStatsMapType
 
typedef std::vector< double > StatsHistoryType
 
typedef std::map< std::string,
StatsHistoryType
StatsHistoryMapType
 
typedef
StatsHistoryMapType::iterator 
StatsHistoryMapTypeIterator
 
typedef boost::shared_ptr
< StatsHistoryMapType
SharedStatsHistoryMapType
 
typedef std::map< std::string,
sharedStatAbleQ
QueueStatsMapType
 
typedef QueueStatsMapType::iterator QueueStatsMapTypeIterator
 

Enumerations

enum  log_type { LT_DEBUG = 0, LT_INFO = 1, LT_ERROR = 2 }
 Used in conjunction with log_serverity as a log filter. More...
 
enum  log_severity { LS_LOW = 0, LS_NORMAL = 1, LS_HIGH = 2 }
 Used in conjunction with log_type as a log filter. More...
 
enum  RequestStatus {
  RQST_SUCCESS, RQST_COMMAND_NOT_SUPPORTED, RQST_INVALID_PARAMETER, RQST_MISSING_PARAMETER,
  RQST_APPLICATION_BUSY, RQST_APPLICATION_SHUTING_DOWN, RQST_CLIENT_DENIED, RQST_PROCESSING_FAILURE,
  RQST_UNKNOWN
}
 

Functions

void ptreeMerge (BoostPtree &pt1, BoostPtree &pt2, std::string node)
 
void ptreeAddOrPut (BoostPtree &pt1, std::string name, std::string value)
 
template<typename T >
LogStreamoperator<< (LogStream &s, ManipResult< T > m)
 

Typedef Documentation

typedef boost::shared_ptr<Connection> kisscpp::ConnectionPtr
typedef std::vector<SharedErrorState> kisscpp::ErrorList
typedef ErrorList::iterator kisscpp::ErrorListIterator
typedef std::map<std::string, SharedErrorState> kisscpp::ErrorStateMapType
typedef ErrorStateMapType::iterator kisscpp::ErrorStateMapTypeIterator
typedef std::map<std::string, std::deque<double> > kisscpp::GatheredStatsMapType
typedef GatheredStatsMapType::iterator kisscpp::GatheredStatsMapTypeIterator
typedef std::map<std::string, InstanceListType> kisscpp::MappedWhiteListType
typedef PersistedQueue<boost::property_tree::ptree, PtreeBase64Bicoder> kisscpp::PtreeQ
typedef std::map<std::string, sharedStatAbleQ > kisscpp::QueueStatsMapType
typedef QueueStatsMapType::iterator kisscpp::QueueStatsMapTypeIterator
typedef std::map<std::string, std::string> kisscpp::requestHandlerInfoList
typedef requestHandlerInfoList::iterator kisscpp::requestHandlerInfoListIter
typedef std::map<std::string, RequestHandlerPtr> kisscpp::requestHandlerMapType
typedef requestHandlerMapType::iterator kisscpp::requestHandlerMapTypeIter
typedef boost::shared_ptr<RequestHandler> kisscpp::RequestHandlerPtr
typedef ThreadsafePersistedQueue<boost::property_tree::ptree, PtreeBase64Bicoder> kisscpp::SafePtreeQ
typedef boost::scoped_ptr<PtreeQ> kisscpp::ScopedPtreeQ
typedef boost::scoped_ptr<SafePtreeQ> kisscpp::ScopedSafePtreeQ
typedef boost::shared_ptr<ErrorList> kisscpp::SharedErrorList
typedef boost::shared_ptr<ErrorState> kisscpp::SharedErrorState
typedef boost::shared_ptr<PtreeQ> kisscpp::SharedPtreeQ
typedef boost::shared_ptr<RequestRouter> kisscpp::sharedRequestRouter
typedef boost::shared_ptr<SafePtreeQ> kisscpp::SharedSafePtreeQ
typedef boost::shared_ptr<StatAbleQueue> kisscpp::sharedStatAbleQ
typedef boost::shared_ptr<StatsMapType> kisscpp::SharedStatsMapType
typedef std::map<std::string, StatsHistoryType> kisscpp::StatsHistoryMapType
typedef StatsHistoryMapType::iterator kisscpp::StatsHistoryMapTypeIterator
typedef std::vector<double> kisscpp::StatsHistoryType
typedef std::map<std::string, double > kisscpp::StatsMapType
typedef StatsMapType::iterator kisscpp::StatsMapTypeIterator
typedef std::set<std::string> kisscpp::WhiteListType

Enumeration Type Documentation

Used in conjunction with log_type as a log filter.

Enumerator
LS_LOW 

Low.

LS_NORMAL 

Normal.

LS_HIGH 

High.

Used in conjunction with log_serverity as a log filter.

Enumerator
LT_DEBUG 

A log for debugging purposes only.

LT_INFO 

A purely informational log.

LT_ERROR 

An error log.

Enumerator
RQST_SUCCESS 

The request was successfully processed.

RQST_COMMAND_NOT_SUPPORTED 

No matching identifier for the supplied value of kcm-cmd was found.

RQST_INVALID_PARAMETER 

used to indicate invalid values for supplied parameters

RQST_MISSING_PARAMETER 

used to indicate the absence of an expected parameter

RQST_APPLICATION_BUSY 

used by server applications to inform requesters that a request won't be processed due to server overload.

RQST_APPLICATION_SHUTING_DOWN 

used by server applications to inform requesters that a request won't be processed due to the server shutting down.

RQST_CLIENT_DENIED 

The Client is not in the white list and my not communicate to this process.

RQST_PROCESSING_FAILURE 

for use by apps that need to report on an internal processing failure not related to KISSCPP communications.

RQST_UNKNOWN 

Sorry, I don't know what went wrong.

Function Documentation

template<typename T >
LogStream& kisscpp::operator<< ( LogStream &  s,
ManipResult< T >  m 
)
inline
void kisscpp::ptreeAddOrPut ( BoostPtree pt1,
std::string  name,
std::string  value 
)

Here is the caller graph for this function:

void kisscpp::ptreeMerge ( BoostPtree pt1,
BoostPtree pt2,
std::string  node 
)