AudioManager  7.6.6
Native Application Runtime Environment
CAmSocketHandler.h File Reference

SPDX license identifier: MPL-2.0. More...

#include <sys/socket.h>
#include <stdint.h>
#include <sys/poll.h>
#include <list>
#include <map>
#include <set>
#include <signal.h>
#include <vector>
#include <functional>
#include <sys/signalfd.h>
#include <audiomanagerconfig.h>
#include "audiomanagertypes.h"

Go to the source code of this file.

Classes

class  am::IAmShPollPrepare
 prototype for poll prepared callback More...
 
class  am::IAmShPollFired
 prototype for poll fired callback More...
 
class  am::IAmShPollCheck
 prototype for poll check callback More...
 
class  am::IAmShPollDispatch
 prototype for dispatch callback More...
 
class  am::IAmShTimerCallBack
 prototype for the timer callback More...
 
class  am::TAmShPollFired< TClass >
 make private, not public template for a callback More...
 
class  am::TAmShPollCheck< TClass >
 template for a callback More...
 
class  am::TAmShPollDispatch< TClass >
 template for a callback More...
 
class  am::TAmShTimerCallBack< TClass >
 template to create the functor for a class More...
 
class  am::TAmShPollPrepare< TClass >
 template for a callback More...
 
class  am::CAmSocketHandler
 The am::CAmSocketHandler implements a mainloop for the AudioManager. More...
 

Namespaces

 am
 A Common-API wrapper class, which loads the common-api runtime and instantiates all necessary objects.
 

Macros

#define MAX_NS   1000000000L
 
#define MAX_TIMERHANDLE   UINT16_MAX
 
#define MAX_POLLHANDLE   UINT16_MAX
 

Typedefs

typedef uint16_t am::sh_pollHandle_t
 this is a handle for a filedescriptor to be used with the SocketHandler More...
 
typedef sh_pollHandle_t am::sh_timerHandle_t
 this is a handle for a timer to be used with the SocketHandler More...
 

Detailed Description

SPDX license identifier: MPL-2.0.

Copyright (C) 2012, BMW AG

Author
Christian Linke, chris.nosp@m.tian.nosp@m..link.nosp@m.e@bm.nosp@m.w.de BMW 2011,2012
Aleksandar Donchev, aleks.nosp@m.ande.nosp@m.r.don.nosp@m.chev.nosp@m.@part.nosp@m.ner..nosp@m.bmw.d.nosp@m.e BMW 2017

For further information see http://www.genivi.org/.

Definition in file CAmSocketHandler.h.

Macro Definition Documentation

#define MAX_NS   1000000000L

Definition at line 47 of file CAmSocketHandler.h.

#define MAX_POLLHANDLE   UINT16_MAX

Definition at line 49 of file CAmSocketHandler.h.

#define MAX_TIMERHANDLE   UINT16_MAX

Definition at line 48 of file CAmSocketHandler.h.