Telematics SDK - API Reference  v1.64.0
telux::power Namespace Reference

Data Structures

struct  ClientInstanceConfig
 
class  ITcuActivityListener
 Listener class for getting notifications related to TCU-activity state and also the updates related to TCU-activity service status. The client needs to implement these methods as briefly as possible and avoid blocking calls in it. The methods in this class can be invoked from multiple different threads. Client needs to make sure that the implementation is thread-safe. More...
 
class  ITcuActivityManager
 ITcuActivityManager provides interface to register and de-register listeners to get TCU-activity state updates. And also API to initiate TCU-activity state transition. More...
 
class  PowerFactory
 PowerFactory allows creation of TCU-activity manager instance. More...
 

Typedefs

typedef std::pair< std::string, std::string > ClientInfo
 

Enumerations

enum  TcuActivityState { TcuActivityState::UNKNOWN, TcuActivityState::SUSPEND, TcuActivityState::RESUME, TcuActivityState::SHUTDOWN }
 
enum  StateChangeResponse { StateChangeResponse::ACK, StateChangeResponse::NACK }
 
enum  ClientType { ClientType::SLAVE, ClientType::MASTER }
 
enum  MachineEvent { MachineEvent::AVAILABLE, MachineEvent::UNAVAILABLE }
 
enum  TcuActivityStateAck { TcuActivityStateAck::SUSPEND_ACK, TcuActivityStateAck::SHUTDOWN_ACK }
 

Variables

static const std::string ALL_MACHINES = "ALL_MACHINES"
 
static const std::string LOCAL_MACHINE = "LOCAL_MACHINE"