IoTivity C++ SDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OCApi.h File Reference

Go to the source code of this file.

Classes

struct  OC::PlatformConfig
 Data structure to provide the configuration. More...
 
struct  OC::ObservationInfo
 

Namespaces

 OC
 
 OC::detail
 

Typedefs

typedef
boost::iostreams::stream
< OC::oc_log_stream > 
OC::log_target_t
 
typedef std::string OC::URI
 
typedef std::vector
< OCResourceHandle
OC::ResourceHandles
 
typedef std::vector
< HeaderOption::OCHeaderOption
OC::HeaderOptions
 
typedef std::map< std::string,
std::string > 
OC::QueryParamsMap
 
typedef std::map< std::string,
std::vector< std::string > > 
OC::QueryParamsList
 
typedef std::vector
< OCObservationId
OC::ObservationIds
 
typedef std::function< void(std::shared_ptr
< OCResource >)> 
OC::FindCallback
 
typedef std::function< void(const
std::string &, const int)> 
OC::FindErrorCallback
 
typedef std::function< void(std::vector
< std::shared_ptr< OCResource >>)> 
OC::FindResListCallback
 
typedef std::function< void(const
OCRepresentation &)> 
OC::FindDeviceCallback
 
typedef std::function< void(const
OCRepresentation &)> 
OC::FindPlatformCallback
 
typedef std::function
< OCEntityHandlerResult(const
std::shared_ptr
< OCResourceRequest >)> 
OC::EntityHandler
 
typedef std::function< void(OCStackResult,
const unsigned int, const
std::string &)> 
OC::SubscribeCallback
 
typedef std::function< void(const
HeaderOptions &, const
OCRepresentation &, const int)> 
OC::GetCallback
 
typedef std::function< void(const
HeaderOptions &, const
OCRepresentation &, const int)> 
OC::PostCallback
 
typedef std::function< void(const
HeaderOptions &, const
OCRepresentation &, const int)> 
OC::PutCallback
 
typedef std::function< void(const
HeaderOptions &, const int)> 
OC::DeleteCallback
 
typedef std::function< void(const
HeaderOptions &, const
OCRepresentation &, const int,
const int)> 
OC::ObserveCallback
 
typedef std::function< void(const
int, const std::string
&, std::shared_ptr< OCResource >)> 
OC::MQTopicCallback
 

Enumerations

enum  OC::OCPlatformStatus { OC::OCPlatformStatus::PlatformUp, OC::OCPlatformStatus::PlatformDown }
 
enum  OC::OCAdvertisementStatus { OC::OCAdvertisementStatus::None }
 
enum  OC::ServiceType { OC::ServiceType::InProc, OC::ServiceType::OutOfProc }
 
enum  OC::ModeType { OC::ModeType::Server, OC::ModeType::Client, OC::ModeType::Both, OC::ModeType::Gateway }
 Host Mode of Operation. More...
 
enum  OC::QualityOfService : uint8_t { OC::QualityOfService::LowQos = OC_LOW_QOS, OC::QualityOfService::MidQos = OC_MEDIUM_QOS, OC::QualityOfService::HighQos = OC_HIGH_QOS, OC::QualityOfService::NaQos = OC_NA_QOS }
 Quality of Service attempts to abstract the guarantees provided by the underlying transport protocol. More...
 
enum  OC::RequestHandlerFlag { OC::RequestFlag = 1 << 1, OC::ObserverFlag = 1 << 2 }
 
enum  OC::ObserveType { OC::ObserveType::Observe, OC::ObserveType::ObserveAll }
 
enum  OC::ObserveAction { OC::ObserveAction::ObserveRegister, OC::ObserveAction::ObserveUnregister }
 

Variables

auto OC::detail::oclog_target
 
auto OC::oclog
 
const std::string OC::DEFAULT_INTERFACE = "oic.if.baseline"
 
const std::string OC::LINK_INTERFACE = "oic.if.ll"
 
const std::string OC::BATCH_INTERFACE = "oic.if.b"
 
const std::string OC::GROUP_INTERFACE = "oic.mi.grp"